scuttle-firefox/chrome/scuttle/content/scuttle.xul

54 lines
2.4 KiB
Plaintext
Raw Normal View History

2014-11-03 22:10:36 +00:00
<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="chrome://scuttle/skin/scuttle.css"?>
<!DOCTYPE overlay SYSTEM "chrome://scuttle/locale/scuttle.dtd">
<overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
id="scuttle-overlay"
centerWindowOnScreen="true">
<script type="application/x-javascript" src="chrome://scuttle/content/scuttle.js"/>
<toolbarpalette id="BrowserToolbarPalette">
<toolbarbutton id="scuttle-button-my"
class="toolbarbutton-1 chromeclass-toolbar-additional"
label="&scuttle.button.my;"
tooltiptext="&scuttle.button.my;"
onclick="scuttle_my(event, true);"
oncommand="scuttle_my(event);"/>
<toolbarbutton id="scuttle-button-add"
class="toolbarbutton-1 chromeclass-toolbar-additional"
label="&scuttle.button.add;"
tooltiptext="&scuttle.button.add;"
oncommand="scuttle_add();"/>
<toolbarbutton id="scuttle-button-multiadd"
class="toolbarbutton-1 chromeclass-toolbar-additional"
label="&scuttle.button.multiadd;"
tooltiptext="&scuttle.button.multiadd;"
oncommand="scuttle_multiadd();"/>
2014-11-03 22:10:36 +00:00
</toolbarpalette>
<popup id="contentAreaContextMenu" onpopupshown="scuttle_menu()">
<menuitem id="scuttle-context-page"
insertafter="context-bookmarkpage"
class="menuitem-iconic"
label="&scuttle.button.add;"
image="chrome://scuttle/skin/scuttle-icon-small.png"
accesskey="c"
hidden="true"
oncommand="scuttle_add();"/>
<menuitem id="scuttle-context-link"
insertafter="context-bookmarklink"
class="menuitem-iconic"
label="&scuttle.context.link;"
image="chrome://scuttle/skin/scuttle-icon-small.png"
accesskey="c"
hidden="true"
oncommand="scuttle_add(typeof(gContextMenu.linkURL) == 'string' ? gContextMenu.linkURL : gContextMenu.linkURL(), gContextMenu.linkText());"/>
<menuitem id="scuttle-context-selection"
insertafter="context-searchselect"
class="menuitem-iconic"
label="&scuttle.button.add;"
image="chrome://scuttle/skin/scuttle-icon-small.png"
accesskey="c"
hidden="true"
oncommand="scuttle_add();"/>
</popup>
</overlay>