Skip to content

Commit

Permalink
#677 if SHOW_ABOUT_XPRA is False, there is no info menu, so don't try…
Browse files Browse the repository at this point in the history
… to use it!

git-svn-id: https://xpra.org/svn/Xpra/trunk@7595 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Sep 13, 2014
1 parent db13d60 commit 0c75fd1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/xpra/platform/darwin/osx_menu.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,10 @@ def build_menu_bar(self):
def add_full_menu(self):
log("OSXMenuHelper.add_full_menu()")
assert self.client
_, info_menu = self.menus.get("Info")
info_menu.append(self.make_sessioninfomenuitem())
info_menu.append(self.make_bugreportmenuitem())
if SHOW_ABOUT_XPRA:
_, info_menu = self.menus.get("Info")
info_menu.append(self.make_sessioninfomenuitem())
info_menu.append(self.make_bugreportmenuitem())
features_menu = self.make_osxmenu("Features")
features_menu.add(self.make_bellmenuitem())
features_menu.add(self.make_cursorsmenuitem())
Expand Down

0 comments on commit 0c75fd1

Please sign in to comment.