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

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

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 24 Apr 2016 12:58:15 +0200
branch
6_1_x
changeset 4951
59ee32941a5b
parent 4948
20fb29268927
child 4953
8943b2259ce8

Fixed an issue with the menu bar on Unity (Ubuntu).
(grafted from 3bd391831934a2e24c834f3760734802c5bea439)

UI/UserInterface.py file | annotate | diff | comparison | revisions
--- a/UI/UserInterface.py	Wed Apr 20 19:41:34 2016 +0200
+++ b/UI/UserInterface.py	Sun Apr 24 12:58:15 2016 +0200
@@ -2397,6 +2397,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