Index: chrome/content/ui/overlay.xul |
=================================================================== |
--- a/chrome/content/ui/overlay.xul |
+++ b/chrome/content/ui/overlay.xul |
@@ -61,6 +61,7 @@ |
<menuitem id="abp-status-frameobjects" label="&objecttabs.label;" type="checkbox" command="abp-command-toggleobjtabs"/> |
<menuitem id="abp-status-savestats" label="&counthits.label;" type="checkbox" command="abp-command-togglesavestats"/> |
<menuitem id="abp-status-sync" label="&sync.label;" type="checkbox" command="abp-command-togglesync"/> |
+ <menuitem id="abp-status-shownotifications" label="&shownotifications.label;" type="checkbox" command="abp-command-toggleshownotifications"/> |
<menuseparator id="abp-status-iconSettingsSeparator"/> |
<menuitem id="abp-status-showintoolbar" label="&showintoolbar.label;" type="checkbox" command="abp-command-toggleshowintoolbar"/> |
<menuitem id="abp-status-showinstatusbar" label="&showinstatusbar.label;" type="checkbox" command="abp-command-toggleshowinstatusbar"/> |
@@ -93,6 +94,7 @@ |
<command id="abp-command-enable" oncommand="//"/> |
<command id="abp-command-contribute"/> |
<command id="abp-command-contribute-hide"/> |
+ <command id="abp-command-toggleshownotifications"/> |
</commandset> |
<statusbarpanel id="abp-status" class="statusbarpanel-iconic" |
@@ -121,12 +123,20 @@ |
<!-- Notification panel --> |
<panel id="abp-notification" type="arrow" orient="vertical" |
xmlns:html="http://www.w3.org/1999/xhtml"> |
- <label id="abp-notification-title" class="header"/> |
- <html:p id="abp-notification-message"/> |
- <hbox id="abp-notification-question"> |
- <button id="abp-notification-yes" label="¬ification.button.yes;"/> |
- <button id="abp-notification-no" label="¬ification.button.no;"/> |
- <toolbarbutton id="abp-notification-close" label="¬ification.button.close;"></toolbarbutton> |
- </hbox> |
+ <vbox id="abp-notification-content"> |
+ <toolbar align="start"> |
+ <label id="abp-notification-title" class="header" flex="1" crop="end"/> |
+ <toolbarbutton id="abp-notification-close" tooltiptext="¬ification.button.close;"/> |
+ </toolbar> |
+ <html:p id="abp-notification-message"/> |
+ <hbox id="abp-notification-question"> |
+ <button id="abp-notification-yes" label="¬ification.button.yes;"/> |
+ <button id="abp-notification-no" label="¬ification.button.no;"/> |
+ </hbox> |
+ </vbox> |
+ <vbox id="abp-notification-close-content"> |
+ <toolbarbutton id="abp-notification-hide" label="¬ification.closing.button.hide;"/> |
+ <toolbarbutton id="abp-notification-optout" label="¬ification.closing.button.optout;"/> |
+ </vbox> |
</panel> |
</overlay> |