Set application and menubar on MessageWindow

This commit is contained in:
Philipp Hörist 2017-10-08 18:08:13 +02:00
parent 1d5665632a
commit 57efe7c457
1 changed files with 2 additions and 0 deletions

View File

@ -81,6 +81,8 @@ class MessageWindow(object):
self.widget_name = 'message_window' self.widget_name = 'message_window'
self.xml = gtkgui_helpers.get_gtk_builder('%s.ui' % self.widget_name) self.xml = gtkgui_helpers.get_gtk_builder('%s.ui' % self.widget_name)
self.window = self.xml.get_object(self.widget_name) self.window = self.xml.get_object(self.widget_name)
self.window.set_application(app.app)
self.window.set_show_menubar(False)
self.notebook = self.xml.get_object('notebook') self.notebook = self.xml.get_object('notebook')
self.parent_paned = None self.parent_paned = None