Added a hidden separator in the actions menu that utilities can unhide and add a menu option after -- this will allow for a section for utility options without having a menuseparator for each one

<menupopup id="zotero-tb-actions-popup">
	<menuseparator id="zotero-tb-actions-utilities-separator" hidden="false"/>
	<menuitem insertafter="zotero-tb-actions-utilities-separator" label="Hello world"/>
</menupopup>
This commit is contained in:
Dan Stillman 2006-11-21 16:40:44 +00:00
parent 5cba06673e
commit a5594cb4dc

View File

@ -96,7 +96,8 @@
<menupopup id="zotero-tb-actions-popup">
<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();"/>
<menuseparator/>
<menuseparator id="zotero-tb-actions-utilities-separator" hidden="true"/>
<menuseparator id="zotero-tb-actions-separator"/>
<menuitem id="zotero-tb-actions-prefs" label="&zotero.toolbar.preferences.label;" oncommand="window.openDialog('chrome://zotero/content/preferences.xul','zotero-prefs','chrome,modal')"/>
<menuitem id="zotero-tb-actions-about" label="&zotero.toolbar.about.label;" oncommand="window.openDialog('chrome://zotero/content/about.xul','about','chrome,left=' + (window.screenX + 200) + ',top=' + (window.screenY + 100))"/>
</menupopup>