Remove unused var

This commit is contained in:
Philipp Hörist
2017-10-03 00:48:35 +02:00
parent 18a5477f79
commit bb84459398
4 changed files with 1 additions and 4 deletions

View File

@@ -72,7 +72,6 @@ class Base(object):
self.button.set_image(img) self.button.set_image(img)
self.button.set_tooltip_text(_('Insert /me to conversation input box,' self.button.set_tooltip_text(_('Insert /me to conversation input box,'
' at cursor position')) ' at cursor position'))
send_button = self.chat_control.xml.get_object('send_button')
actions_hbox.pack_start(self.button, False, False , 0) actions_hbox.pack_start(self.button, False, False , 0)
actions_hbox.reorder_child(self.button, actions_hbox.reorder_child(self.button,
len(actions_hbox.get_children()) - 3) len(actions_hbox.get_children()) - 3)

View File

@@ -76,7 +76,6 @@ class Base(object):
ag = Gtk.accel_groups_from_object(self.chat_control.parent_win.window)[0] ag = Gtk.accel_groups_from_object(self.chat_control.parent_win.window)[0]
self.button.add_accelerator('activate', ag, Gdk.KEY_L, self.button.add_accelerator('activate', ag, Gdk.KEY_L,
Gdk.ModifierType.MOD1_MASK, Gtk.AccelFlags.VISIBLE) 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.pack_start(self.button, False, False , 0)
actions_hbox.reorder_child(self.button, actions_hbox.reorder_child(self.button,

View File

@@ -177,7 +177,7 @@ class Base(object):
img.set_from_stock('juick', Gtk.IconSize.MENU) img.set_from_stock('juick', Gtk.IconSize.MENU)
self.button.set_image(img) self.button.set_image(img)
self.button.set_tooltip_text(_('Juick commands')) 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.pack_start(self.button, False, False , 0)
actions_hbox.reorder_child(self.button, actions_hbox.reorder_child(self.button,
len(actions_hbox.get_children()) - 3) len(actions_hbox.get_children()) - 3)

View File

@@ -84,7 +84,6 @@ class Base(object):
img.set_from_stock('quickreplies', Gtk.IconSize.MENU) img.set_from_stock('quickreplies', Gtk.IconSize.MENU)
self.button.set_image(img) self.button.set_image(img)
self.button.set_tooltip_text(_('Quick replies')) 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.pack_start(self.button, False, False , 0)
actions_hbox.reorder_child(self.button, actions_hbox.reorder_child(self.button,
len(actions_hbox.get_children()) - 3) len(actions_hbox.get_children()) - 3)