summaryrefslogtreecommitdiffstats
path: root/application/palemoon/components/preferences/aboutPermissions.xul
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-26 06:17:52 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-26 06:17:52 +0200
commit43caa48ecba88a60b7b0b84d19d928ada8b22b09 (patch)
tree11eeb7813247332ae621140dab41e6f1ea033b08 /application/palemoon/components/preferences/aboutPermissions.xul
parentc86fbfd0313ae6bd6c54ea8f4a28b42f7852b38c (diff)
downloadUXP-43caa48ecba88a60b7b0b84d19d928ada8b22b09.tar
UXP-43caa48ecba88a60b7b0b84d19d928ada8b22b09.tar.gz
UXP-43caa48ecba88a60b7b0b84d19d928ada8b22b09.tar.lz
UXP-43caa48ecba88a60b7b0b84d19d928ada8b22b09.tar.xz
UXP-43caa48ecba88a60b7b0b84d19d928ada8b22b09.zip
Bug 1038811 - Push Notifications - Firefox front end changes for preferences, and permission notification
Diffstat (limited to 'application/palemoon/components/preferences/aboutPermissions.xul')
-rw-r--r--application/palemoon/components/preferences/aboutPermissions.xul20
1 files changed, 20 insertions, 0 deletions
diff --git a/application/palemoon/components/preferences/aboutPermissions.xul b/application/palemoon/components/preferences/aboutPermissions.xul
index bd5a205c7..279de8d9b 100644
--- a/application/palemoon/components/preferences/aboutPermissions.xul
+++ b/application/palemoon/components/preferences/aboutPermissions.xul
@@ -391,6 +391,26 @@
</vbox>
</hbox>
+ <!-- Push Notifications -->
+ <hbox id="push-pref-item"
+ class="pref-item" align="top">
+ <image class="pref-icon" type="push"/>
+ <vbox>
+ <label class="pref-title" value="&push.label;"/>
+ <hbox align="center">
+ <menulist id="push-menulist"
+ class="pref-menulist"
+ type="push"
+ oncommand="AboutPermissions.onPermissionCommand(event);">
+ <menupopup>
+ <menuitem id="push-0" value="0" label="&permission.alwaysAsk;"/>
+ <menuitem id="push-1" value="1" label="&permission.allow;"/>
+ <menuitem id="push-2" value="2" label="&permission.block;"/>
+ </menupopup>
+ </menulist>
+ </hbox>
+ </vbox>
+ </hbox>
</vbox>
</hbox>