1
0
Fork 0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2025-07-04 04:26:35 +02:00

Preferences changes

Changed translations, reordered preferences and added a "disable
notifications" button to the notifications.

Fixed #24, #25 and #26
This commit is contained in:
kkapsner 2015-05-06 23:59:36 +02:00
parent b6ac2248f3
commit 233cfd1f6a
5 changed files with 47 additions and 27 deletions

View file

@ -197,6 +197,14 @@
updateWhiteList();
workers.forEach(checkWorker);
}
},
{
label: _("disableNotifications"),
accessKey: "",
callback: function(){
prefs.showNotifications = false;
prefService.set("extensions.CanvasBlocker@kkapsner.de.showNotifications", prefs.showNotifications);
}
}
];