Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim-plugins.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hörist <forenjunkie@chello.at>2017-10-03 01:48:35 +0300
committerPhilipp Hörist <forenjunkie@chello.at>2017-10-03 01:51:10 +0300
commitbb844593988036bf681a16e7d547731c6f12b8de (patch)
tree76ba30b201c2a179465658b17b6bb458b177e4fd
parent18a5477f7989e1aea2ecac0a8ffaae6264b58f32 (diff)
Remove unused var
-rw-r--r--gui_for_me/gui_for_me.py1
-rw-r--r--image/image.py1
-rw-r--r--juick/plugin.py2
-rw-r--r--quick_replies/plugin.py1
4 files changed, 1 insertions, 4 deletions
diff --git a/gui_for_me/gui_for_me.py b/gui_for_me/gui_for_me.py
index 7d47183..1cd907a 100644
--- a/gui_for_me/gui_for_me.py
+++ b/gui_for_me/gui_for_me.py
@@ -72,7 +72,6 @@ class Base(object):
self.button.set_image(img)
self.button.set_tooltip_text(_('Insert /me to conversation input box,'
' at cursor position'))
- send_button = self.chat_control.xml.get_object('send_button')
actions_hbox.pack_start(self.button, False, False , 0)
actions_hbox.reorder_child(self.button,
len(actions_hbox.get_children()) - 3)
diff --git a/image/image.py b/image/image.py
index 836c3ba..51dc203 100644
--- a/image/image.py
+++ b/image/image.py
@@ -76,7 +76,6 @@ class Base(object):
ag = Gtk.accel_groups_from_object(self.chat_control.parent_win.window)[0]
self.button.add_accelerator('activate', ag, Gdk.KEY_L,
Gdk.ModifierType.MOD1_MASK, Gtk.AccelFlags.VISIBLE)
- send_button = chat_control.xml.get_object('send_button')
actions_hbox.pack_start(self.button, False, False , 0)
actions_hbox.reorder_child(self.button,
diff --git a/juick/plugin.py b/juick/plugin.py
index c6068a5..b2f1fe4 100644
--- a/juick/plugin.py
+++ b/juick/plugin.py
@@ -177,7 +177,7 @@ class Base(object):
img.set_from_stock('juick', Gtk.IconSize.MENU)
self.button.set_image(img)
self.button.set_tooltip_text(_('Juick commands'))
- send_button = self.chat_control.xml.get_object('send_button')
+
actions_hbox.pack_start(self.button, False, False , 0)
actions_hbox.reorder_child(self.button,
len(actions_hbox.get_children()) - 3)
diff --git a/quick_replies/plugin.py b/quick_replies/plugin.py
index 0c871bf..73187b2 100644
--- a/quick_replies/plugin.py
+++ b/quick_replies/plugin.py
@@ -84,7 +84,6 @@ class Base(object):
img.set_from_stock('quickreplies', Gtk.IconSize.MENU)
self.button.set_image(img)
self.button.set_tooltip_text(_('Quick replies'))
- send_button = self.chat_control.xml.get_object('send_button')
actions_hbox.pack_start(self.button, False, False , 0)
actions_hbox.reorder_child(self.button,
len(actions_hbox.get_children()) - 3)