Fixed an issue with the menu bar on Unity (Ubuntu).

Sun, 24 Apr 2016 12:58:15 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 24 Apr 2016 12:58:15 +0200
changeset 4949
3bd391831934
parent 4942
d6d362104f83
child 4950
c3dbf3051b1a

Fixed an issue with the menu bar on Unity (Ubuntu).

UI/UserInterface.py file | annotate | diff | comparison | revisions
--- a/UI/UserInterface.py	Fri Apr 15 19:55:52 2016 +0200
+++ b/UI/UserInterface.py	Sun Apr 24 12:58:15 2016 +0200
@@ -2433,6 +2433,8 @@
         """
         self.__menus = {}
         mb = self.menuBar()
+        if Utilities.isLinuxPlatform():
+            mb.setNativeMenuBar(False)
         
         self.__menus["file"] = self.viewmanager.initFileMenu()
         mb.addMenu(self.__menus["file"])

eric ide

mercurial