Philipp Hörist pushed to branch master at gajim / gajim

Commits:
57efe7c4 by Philipp Hörist at 2017-10-08T18:08:13+02:00
Set application and menubar on MessageWindow

- - - - -
0b1d5a31 by Philipp Hörist at 2017-10-08T18:09:15+02:00
Remove unused import

- Sort imports correctly (PEP8)

- - - - -


1 changed file:

- gajim/message_window.py


Changes:

=====================================
gajim/message_window.py
=====================================
--- a/gajim/message_window.py
+++ b/gajim/message_window.py
@@ -27,12 +27,13 @@
 ## along with Gajim. If not, see <http://www.gnu.org/licenses/>.
 ##
 
+import time
+
 from gi.repository import Gtk
 from gi.repository import Gdk
 from gi.repository import GdkPixbuf
 from gi.repository import GObject
 from gi.repository import GLib
-import time
 
 from gajim import common
 from gajim import gtkgui_helpers
@@ -40,9 +41,7 @@ from gajim import message_control
 from gajim import dialogs
 from gajim.chat_control_base import ChatControlBase
 from gajim.chat_control import ChatControl
-
 from gajim.common import app
-from gajim.gtkgui_helpers import get_action
 from gajim.common.i18n import Q_
 
 ####################
@@ -81,6 +80,8 @@ class MessageWindow(object):
         self.widget_name = 'message_window'
         self.xml = gtkgui_helpers.get_gtk_builder('%s.ui' % 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.parent_paned = None
 



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/compare/1d5665632a9dc3f0f02fd48815445676e236d4e0...0b1d5a317471180abfab207a24e8156a5caceedb

---
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/compare/1d5665632a9dc3f0f02fd48815445676e236d4e0...0b1d5a317471180abfab207a24e8156a5caceedb
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to