Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: chrome/content/ui/overlay.xul

Issue 5741004535627776: Fix toolbar icon customization in Australis (Closed)
Patch Set: Improved approach (custom button type), marked our custom API extensions Created Nov. 25, 2013, 9:34 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/content/ui/settings.xul » ('j') | lib/customizableUI.js » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <?xml version="1.0"?> 1 <?xml version="1.0"?>
2 2
3 <!-- 3 <!--
4 - This file is part of Adblock Plus <http://adblockplus.org/>, 4 - This file is part of Adblock Plus <http://adblockplus.org/>,
5 - Copyright (C) 2006-2013 Eyeo GmbH 5 - Copyright (C) 2006-2013 Eyeo GmbH
6 - 6 -
7 - Adblock Plus is free software: you can redistribute it and/or modify 7 - Adblock Plus is free software: you can redistribute it and/or modify
8 - it under the terms of the GNU General Public License version 3 as 8 - it under the terms of the GNU General Public License version 3 as
9 - published by the Free Software Foundation. 9 - published by the Free Software Foundation.
10 - 10 -
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 <menuitem id="abp-status-whitelistpage" label="&whitelist.page.label;" type= "checkbox" command="abp-command-togglepagewhitelist"/> 56 <menuitem id="abp-status-whitelistpage" label="&whitelist.page.label;" type= "checkbox" command="abp-command-togglepagewhitelist"/>
57 <menuitem id="abp-status-disabled" label="&disable.label;" type="checkbox" k ey="abp-key-enable" command="abp-command-enable"/> 57 <menuitem id="abp-status-disabled" label="&disable.label;" type="checkbox" k ey="abp-key-enable" command="abp-command-enable"/>
58 <menuseparator/> 58 <menuseparator/>
59 <menu id="abp-status-options" label="&options.label;"> 59 <menu id="abp-status-options" label="&options.label;">
60 <menupopup id="abp-status-options-popup"> 60 <menupopup id="abp-status-options-popup">
61 <menuitem id="abp-status-frameobjects" label="&objecttabs.label;" type=" checkbox" command="abp-command-toggleobjtabs"/> 61 <menuitem id="abp-status-frameobjects" label="&objecttabs.label;" type=" checkbox" command="abp-command-toggleobjtabs"/>
62 <menuitem id="abp-status-slowcollapse" label="&hideplaceholders.label;" type="checkbox" command="abp-command-togglecollapse"/> 62 <menuitem id="abp-status-slowcollapse" label="&hideplaceholders.label;" type="checkbox" command="abp-command-togglecollapse"/>
63 <menuitem id="abp-status-savestats" label="&counthits.label;" type="chec kbox" command="abp-command-togglesavestats"/> 63 <menuitem id="abp-status-savestats" label="&counthits.label;" type="chec kbox" command="abp-command-togglesavestats"/>
64 <menuitem id="abp-status-sync" label="&sync.label;" type="checkbox" comm and="abp-command-togglesync"/> 64 <menuitem id="abp-status-sync" label="&sync.label;" type="checkbox" comm and="abp-command-togglesync"/>
65 <menuseparator id="abp-status-iconSettingsSeparator"/> 65 <menuseparator id="abp-status-iconSettingsSeparator"/>
66 <menuitem id="abp-status-showinaddonbar" label="&showinaddonbar.label;" type="checkbox" command="abp-command-toggleshowintoolbar"/>
67 <menuitem id="abp-status-showintoolbar" label="&showintoolbar.label;" ty pe="checkbox" command="abp-command-toggleshowintoolbar"/> 66 <menuitem id="abp-status-showintoolbar" label="&showintoolbar.label;" ty pe="checkbox" command="abp-command-toggleshowintoolbar"/>
68 <menuitem id="abp-status-showinstatusbar" label="&showinstatusbar.label; " type="checkbox" command="abp-command-toggleshowinstatusbar"/> 67 <menuitem id="abp-status-showinstatusbar" label="&showinstatusbar.label; " type="checkbox" command="abp-command-toggleshowinstatusbar"/>
69 </menupopup> 68 </menupopup>
70 </menu> 69 </menu>
71 70
72 <hbox class="abp-contributebutton" id="abp-status-contributebutton" pack="ce nter" align="center"> 71 <hbox class="abp-contributebutton" id="abp-status-contributebutton" pack="ce nter" align="center">
73 <!-- noautoclose attribute tells Australis menu that it shouldn't close wh en 72 <!-- noautoclose attribute tells Australis menu that it shouldn't close wh en
74 these are clicked, see https://bugzilla.mozilla.org/show_bug.cgi?id=9 40693 --> 73 these are clicked, see https://bugzilla.mozilla.org/show_bug.cgi?id=9 40693 -->
75 <button class="abp-contributebutton-btn" label="&contribute.label;" comman d="abp-command-contribute" flex="1" noautoclose="true"/> 74 <button class="abp-contributebutton-btn" label="&contribute.label;" comman d="abp-command-contribute" flex="1" noautoclose="true"/>
76 <toolbarbutton class="abp-contributebutton-close" command="abp-command-con tribute-hide" noautoclose="true"/> 75 <toolbarbutton class="abp-contributebutton-close" command="abp-command-con tribute-hide" noautoclose="true"/>
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 </vbox> 120 </vbox>
122 </hbox> 121 </hbox>
123 122
124 <!-- Notification panel --> 123 <!-- Notification panel -->
125 <panel id="abp-notification" type="arrow" orient="vertical" 124 <panel id="abp-notification" type="arrow" orient="vertical"
126 xmlns:html="http://www.w3.org/1999/xhtml"> 125 xmlns:html="http://www.w3.org/1999/xhtml">
127 <label id="abp-notification-title" class="header"/> 126 <label id="abp-notification-title" class="header"/>
128 <html:p id="abp-notification-message" maxwidth="300"></html:p> 127 <html:p id="abp-notification-message" maxwidth="300"></html:p>
129 </panel> 128 </panel>
130 </overlay> 129 </overlay>
OLDNEW
« no previous file with comments | « no previous file | chrome/content/ui/settings.xul » ('j') | lib/customizableUI.js » ('J')

Powered by Google App Engine
This is Rietveld