commit 70a47f843a15204f2695acbe5a989aa8817086fe
parent 37c3d8fc25bf67918355bc082becdfc0f92a01f2
Author: Dan Stillman <dstillman@zotero.org>
Date: Mon, 7 Jul 2008 19:44:51 +0000
Only show "Search for Shared Libraries" menu option on OS X, and move it up in the menu
Diffstat:
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/chrome/content/zotero/overlay.js b/chrome/content/zotero/overlay.js
@@ -137,6 +137,10 @@ var ZoteroPane = new function()
Zotero.setFontSize(document.getElementById('zotero-pane'))
+ if (Zotero.isMac) {
+ document.getElementById('zotero-tb-actions-zeroconf-update').setAttribute('hidden', false);
+ }
+
//Initialize collections view
this.collectionsView = new Zotero.CollectionTreeView();
var collectionsTree = document.getElementById('zotero-collections-tree');
diff --git a/chrome/content/zotero/overlay.xul b/chrome/content/zotero/overlay.xul
@@ -123,9 +123,9 @@
<menupopup id="zotero-tb-actions-popup" onpopupshowing="document.getElementById('cmd_zotero_reportErrors').setAttribute('disabled', Zotero.getErrors().length == 0)">
<menuitem id="zotero-tb-actions-import" label="&zotero.toolbar.import.label;" oncommand="Zotero_File_Interface.importFile();"/>
<menuitem id="zotero-tb-actions-export" label="&zotero.toolbar.export.label;" oncommand="Zotero_File_Interface.exportFile();"/>
+ <menuitem hidden="true" id="zotero-tb-actions-zeroconf-update"
+ label="Search for Shared Libraries" oncommand="Zotero.Zeroconf.findInstances()"/>
<menuseparator id="zotero-tb-actions-utilities-separator"/>
- <menuitem id="zotero-tb-actions-zeroconf-update" label="Search for Shared Libraries"
- oncommand="Zotero.Zeroconf.findInstances()"/>
<menuitem id="zotero-tb-actions-timeline" label="&zotero.toolbar.timeline.label;" oncommand="Zotero_Timeline_Interface.loadTimeline()"/>
<menuseparator id="zotero-tb-actions-sync-separator"/>
<menuitem label="Clear Server Data" oncommand="Zotero.Sync.Server.clear()"/>