commit 87a5846155534d71c78c190b13b031a9a0a18ad3
parent 8ec4377d3efd936270861f0db00c1e494cf5d517
Author: Simon Kornblith <simon@simonster.com>
Date: Tue, 30 Aug 2011 16:33:07 +0000
Make toolbar draggable on OS X
Diffstat:
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/chrome/content/zotero/overlay.xul b/chrome/content/zotero/overlay.xul
@@ -50,6 +50,8 @@
oncommand="ZoteroOverlay.toggleDisplay();"/>
</toolbarpalette>
+ <toolbar id="zotero-toolbar" nowindowdrag="true"/>
+
<vbox id="appcontent">
<!-- onmouseup shouldn't be necessary but seems to help prevent tag selector from sometimes going off the screen -->
<splitter id="zotero-splitter" resizebefore="closest" resizeafter="closest" hidden="true"
diff --git a/chrome/content/zotero/zoteroPane.xul b/chrome/content/zotero/zoteroPane.xul
@@ -97,7 +97,7 @@
onkeyup="ZoteroPane_Local.handleKeyUp(event, this.id)"
chromedir="&locale.dir;">
- <hbox id="zotero-toolbar" class="toolbar">
+ <toolbar id="zotero-toolbar" class="toolbar">
<hbox id="zotero-collections-toolbar">
<toolbarbutton id="zotero-tb-collection-add" class="zotero-tb-button" tooltiptext="&zotero.toolbar.newCollection.label;" command="cmd_zotero_newCollection"/>
<toolbarbutton id="zotero-tb-group-add" class="zotero-tb-button" tooltiptext="&zotero.toolbar.newGroup;" oncommand="ZoteroPane_Local.newGroup()"/>
@@ -232,7 +232,7 @@
<toolbarbutton id="zotero-tb-fullscreen" tooltiptext="&zotero.toolbar.tab.tooltip;" oncommand="ZoteroPane_Local.toggleTab();" class="zotero-tb-button"/>
<toolbarbutton id="zotero-close-button" class="tabs-closebutton" oncommand="ZoteroOverlay.toggleDisplay()"/>
</hbox>
- </hbox>
+ </toolbar>
<popupset>
<menupopup id="zotero-collectionmenu" onpopupshowing="ZoteroPane_Local.buildCollectionContextMenu();">