From b69e6fc3abc499b6585bdd6e7677e78f37115f37 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Thu, 9 Jul 2015 16:50:38 -0400 Subject: [PATCH] Fix Zotero menu on OS X, part 1 Create a hidden window with a menu bar, since it loads first --- .../mac/standalone/menuOverlay.xul | 2 +- .../zotero/standalone/hiddenWindow.xul | 55 +++++++++++++++++++ 2 files changed, 56 insertions(+), 1 deletion(-) create mode 100644 chrome/content/zotero/standalone/hiddenWindow.xul diff --git a/chrome/content/zotero-platform/mac/standalone/menuOverlay.xul b/chrome/content/zotero-platform/mac/standalone/menuOverlay.xul index 0f43a3e99..fb58c842c 100644 --- a/chrome/content/zotero-platform/mac/standalone/menuOverlay.xul +++ b/chrome/content/zotero-platform/mac/standalone/menuOverlay.xul @@ -84,7 +84,7 @@ + oncommand="Components.classes['@mozilla.org/appshell/window-mediator;1'].getService(Components.interfaces.nsIWindowMediator).getMostRecentWindow('navigator:browser').ZoteroPane.openPreferences();"/> + + + + + + + %globalDTD; + %textcontextDTD; + %standaloneDTD; + %brandDTD; + %zoteroDTD; +]> + + + + + + + + + + + + + + + + + +