author | Michael Krelin <hacker@klever.net> | 2006-11-16 20:56:04 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2006-11-16 20:56:04 (UTC) |
commit | 864848b2ce8ffe3ea8ccbe268385697e21051745 (patch) (side-by-side diff) | |
tree | 5db3ec1c28be6855fcdf1f4fecd9cd2f0352df47 /content/browser.xul | |
parent | c63cb1418088ff241cbeb207318c1743b08e1da1 (diff) | |
download | fireflix-864848b2ce8ffe3ea8ccbe268385697e21051745.zip fireflix-864848b2ce8ffe3ea8ccbe268385697e21051745.tar.gz fireflix-864848b2ce8ffe3ea8ccbe268385697e21051745.tar.bz2 |
added toolbar button
git-svn-id: http://svn.klever.net/kin/fireflix/trunk@222 fe716a7a-6dde-0310-88d9-d003556173a8
-rw-r--r-- | content/browser.xul | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/content/browser.xul b/content/browser.xul index aaff443..0c699d9 100644 --- a/content/browser.xul +++ b/content/browser.xul @@ -1,19 +1,30 @@ <?xml version="1.0"?> <!DOCTYPE overlay SYSTEM "chrome://fireflix/locale/fireflix.dtd"> <overlay id="fireflixOverlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" > <menupopup id="viewSidebarMenu"> <menuitem observes="viewFireflixSidebar" /> </menupopup> <broadcasterset id="mainBroadcasterSet"> <broadcaster id="viewFireflixSidebar" autoCheck="false" label="&browser.sidebar.label;" + tooltiptext="&browser.sidebar.tooltip;" type="checkbox" group="sidebar" sidebarurl="chrome://fireflix/content/fireflix-panel.xul" sidebartitle="&browser.sidebar.title;" oncommand="toggleSidebar('viewFireflixSidebar')" /> </broadcasterset> + + <toolbarpalette id="BrowserToolbarPalette"> + <toolbarbutton id="fireflix-button" + oncommand="toggleSidebar('viewFireflixSidebar')" + image="chrome://fireflix/content/icons/16x16/toolbar-button.png" > + <observes element="viewFireflixSidebar" attribute="label"/> + <observes element="viewFireflixSidebar" attribute="tooltiptext"/> + </toolbarbutton> + </toolbarpalette> + </overlay> |