From a56f53812210a54b4d20e7f31cef45c420532629 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Tue, 3 Oct 2017 01:01:32 +0200 Subject: [PATCH] [whiteboard] Adapt to UI changes in Gajim --- whiteboard/plugin.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/whiteboard/plugin.py b/whiteboard/plugin.py index 18d7b70..38199c4 100644 --- a/whiteboard/plugin.py +++ b/whiteboard/plugin.py @@ -296,11 +296,7 @@ class Base(object): factory.add_default() img.set_from_stock('whiteboard', Gtk.IconSize.MENU) self.button.set_image(img) - send_button = self.chat_control.xml.get_object('send_button') - send_button_pos = actions_hbox.child_get_property(send_button, - 'position') actions_hbox.pack_start(self.button, False, False, 0) - actions_hbox.reorder_child(self.button, send_button_pos - 1) id_ = self.button.connect('toggled', self.on_whiteboard_button_toggled) self.chat_control.handlers[id_] = self.button self.button.show()