3736 Private slot to create the menus. |
3736 Private slot to create the menus. |
3737 """ |
3737 """ |
3738 self.__menus = {} |
3738 self.__menus = {} |
3739 mb = self.menuBar() |
3739 mb = self.menuBar() |
3740 if ( |
3740 if ( |
3741 OSUtilities.isLinuxPlatform() or OSUtilities.isBsdPlatform() |
3741 OSUtilities.isLinuxPlatform() or OSUtilities.isFreeBsdPlatform() |
3742 ) and not Preferences.getUI("UseNativeMenuBar"): |
3742 ) and not Preferences.getUI("UseNativeMenuBar"): |
3743 mb.setNativeMenuBar(False) |
3743 mb.setNativeMenuBar(False) |
3744 |
3744 |
3745 ############################################################## |
3745 ############################################################## |
3746 ## File menu |
3746 ## File menu |