www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 3d58ef557dea710fa81e9d096b407d3d27d25b55
parent 67e6cbfeded49088978f538d96dfc7fbd027c944
Author: Dan Stillman <dstillman@zotero.org>
Date:   Mon,  6 Feb 2012 14:19:14 -0500

Remove snapshot/link-from-page options in Standalone

Diffstat:
Mchrome/content/zotero/zoteroPane.xul | 4++--
Mchrome/skin/default/zotero/standalone.css | 3++-
2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/chrome/content/zotero/zoteroPane.xul b/chrome/content/zotero/zoteroPane.xul @@ -161,8 +161,8 @@ </toolbarbutton> <toolbarbutton id="zotero-tb-attachment-add" class="zotero-tb-button" tooltiptext="New Child Attachment" type="menu"> <menupopup onpopupshowing="ZoteroPane_Local.updateAttachmentButtonMenu(this)"> - <menuitem class="menuitem-iconic zotero-menuitem-attachments-snapshot" label="&zotero.items.menu.attach.snapshot;" oncommand="var itemID = ZoteroPane_Local.getSelectedItems()[0].id; ZoteroPane_Local.addAttachmentFromPage(false, itemID)"/> - <menuitem class="menuitem-iconic zotero-menuitem-attachments-web-link" label="&zotero.items.menu.attach.link;" oncommand="var itemID = ZoteroPane_Local.getSelectedItems()[0].id; ZoteroPane_Local.addAttachmentFromPage(true, itemID)"/> + <menuitem id="zotero-tb-snapshot-from-page" class="menuitem-iconic zotero-menuitem-attachments-snapshot" label="&zotero.items.menu.attach.snapshot;" oncommand="var itemID = ZoteroPane_Local.getSelectedItems()[0].id; ZoteroPane_Local.addAttachmentFromPage(false, itemID)"/> + <menuitem id="zotero-tb-link-from-page" class="menuitem-iconic zotero-menuitem-attachments-web-link" label="&zotero.items.menu.attach.link;" oncommand="var itemID = ZoteroPane_Local.getSelectedItems()[0].id; ZoteroPane_Local.addAttachmentFromPage(true, itemID)"/> <menuitem class="menuitem-iconic zotero-menuitem-attachments-web-link" label="&zotero.items.menu.attach.link.uri;" oncommand="var itemID = ZoteroPane_Local.getSelectedItems()[0].id; ZoteroPane_Local.addAttachmentFromURI(true, itemID);"/> <!-- TODO: localize --> <menuitem class="menuitem-iconic zotero-menuitem-attachments-file" label="Attach Stored Copy of File…" oncommand="var itemID = ZoteroPane_Local.getSelectedItems()[0].id; ZoteroPane_Local.addAttachmentFromDialog(false, itemID);"/> diff --git a/chrome/skin/default/zotero/standalone.css b/chrome/skin/default/zotero/standalone.css @@ -1,3 +1,4 @@ -#zotero-tb-item-from-page, #zotero-tb-fullscreen, #zotero-fullscreen-close-separator { +#zotero-tb-item-from-page, #zotero-tb-snapshot-from-page, #zotero-tb-link-from-page, +#zotero-tb-fullscreen, #zotero-fullscreen-close-separator { display: none; } \ No newline at end of file