Commit bb844593 authored by Philipp Hörist's avatar Philipp Hörist

Remove unused var

parent 18a5477f
......@@ -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)
......
......@@ -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,
......
......@@ -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)
......
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment