[Pkg-mozext-commits] [greasemonkey] 51/62: Remove script from AOM list when uninstalling via sync.
David Prévot
taffit at moszumanska.debian.org
Sun Sep 13 22:10:24 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository greasemonkey.
commit 47fac825872ad2589586b42f6bbff64b0d22df05
Author: Anthony Lieuallen <arantius at gmail.com>
Date: Mon Aug 31 12:46:34 2015 -0400
Remove script from AOM list when uninstalling via sync.
Refs #2186
---
content/addons4-overlay.js | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/content/addons4-overlay.js b/content/addons4-overlay.js
index caea94f..dae1c7f 100644
--- a/content/addons4-overlay.js
+++ b/content/addons4-overlay.js
@@ -69,6 +69,10 @@ var observer = {
var addon = ScriptAddonFactoryByScript(script);
switch (event) {
+ case 'uninstall':
+ gListView.removeItem(addon);
+ setEmptyWarningVisible();
+ break;
case 'install':
gListView.addItem(addon);
setEmptyWarningVisible();
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/greasemonkey.git
More information about the Pkg-mozext-commits
mailing list