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

[whiteboard] Adapt to UI changes in Gajim

parent 800aed51
...@@ -296,11 +296,7 @@ class Base(object): ...@@ -296,11 +296,7 @@ class Base(object):
factory.add_default() factory.add_default()
img.set_from_stock('whiteboard', Gtk.IconSize.MENU) img.set_from_stock('whiteboard', Gtk.IconSize.MENU)
self.button.set_image(img) 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.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) id_ = self.button.connect('toggled', self.on_whiteboard_button_toggled)
self.chat_control.handlers[id_] = self.button self.chat_control.handlers[id_] = self.button
self.button.show() self.button.show()
......
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