summaryrefslogtreecommitdiffstats
path: root/application/palemoon/components/preferences/permissions.xul
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-26 07:06:14 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-26 07:06:14 +0200
commit0bea8f9effeed045e645bf951995e6ed480bdf0f (patch)
treedf14de1518c14c2b7d62c3cf2d1bf1b587dc949e /application/palemoon/components/preferences/permissions.xul
parentb688bdfa9aae1806f151b76abca7ea65228ec816 (diff)
downloadUXP-0bea8f9effeed045e645bf951995e6ed480bdf0f.tar
UXP-0bea8f9effeed045e645bf951995e6ed480bdf0f.tar.gz
UXP-0bea8f9effeed045e645bf951995e6ed480bdf0f.tar.lz
UXP-0bea8f9effeed045e645bf951995e6ed480bdf0f.tar.xz
UXP-0bea8f9effeed045e645bf951995e6ed480bdf0f.zip
Bug 340432 - Add the ability to cancel site permission changes
Diffstat (limited to 'application/palemoon/components/preferences/permissions.xul')
-rw-r--r--application/palemoon/components/preferences/permissions.xul16
1 files changed, 9 insertions, 7 deletions
diff --git a/application/palemoon/components/preferences/permissions.xul b/application/palemoon/components/preferences/permissions.xul
index fd550e8f7..8f24c8946 100644
--- a/application/palemoon/components/preferences/permissions.xul
+++ b/application/palemoon/components/preferences/permissions.xul
@@ -62,8 +62,8 @@
<treechildren/>
</tree>
</vbox>
- <hbox align="end">
- <hbox class="actionButtons" flex="1">
+ <vbox>
+ <hbox class="actionButtons" align="left" flex="1">
<button id="removePermission" disabled="true"
accesskey="&removepermission.accesskey;"
icon="remove" label="&removepermission.label;"
@@ -72,12 +72,14 @@
icon="clear" label="&removeallpermissions.label;"
accesskey="&removeallpermissions.accesskey;"
oncommand="gPermissionManager.onAllPermissionsDeleted();"/>
- <spacer flex="1"/>
-#ifndef XP_MACOSX
+ </hbox>
+ <spacer flex="1"/>
+ <hbox class="actionButtons" align="right" flex="1">
<button oncommand="close();" icon="close"
- label="&button.close.label;" accesskey="&button.close.accesskey;"/>
-#endif
+ label="&button.cancel.label;" accesskey="&button.cancel.accesskey;" />
+ <button id="btnApplyChanges" oncommand="gPermissionManager.onApplyChanges();" icon="save"
+ label="&button.ok.label;" accesskey="&button.ok.accesskey;"/>
</hbox>
<resizer type="window" dir="bottomend"/>
- </hbox>
+ </vbox>
</window>