[Pkg-mozext-commits] [greasemonkey] 10/15: Private Browsing: The icon (enabled/disabled)

David Prévot taffit at moszumanska.debian.org
Sat Aug 2 12:51:55 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository greasemonkey.

commit a0bfffb91e363a4c7f42628e0aa8f8fe550e94dc
Author: janekptacijarabaci <janekptacijarabaci at centrum.cz>
Date:   Thu Jul 31 10:55:53 2014 +0200

    Private Browsing: The icon (enabled/disabled)
---
 content/browser.xul | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/content/browser.xul b/content/browser.xul
index 57e575f..797730f 100644
--- a/content/browser.xul
+++ b/content/browser.xul
@@ -12,9 +12,9 @@
 
   <commandset>
     <!-- sync the 'disabled' attribute for toolbar button -->
-    <command id="gm_toggle_enabled" oncommand="GM_util.setEnabled(!GM_util.getEnabled());"/>
+    <command id="gm_toggle_enabled" oncommand="GM_util.setEnabled(!GM_util.getEnabled()); GM_BrowserUI.refreshStatus();"/>
     <!-- sync the 'checked' attribute for menu items -->
-    <command id="gm_toggle_checked" oncommand="GM_util.setEnabled(!GM_util.getEnabled());"/>
+    <command id="gm_toggle_checked" oncommand="GM_util.setEnabled(!GM_util.getEnabled()); GM_BrowserUI.refreshStatus();"/>
   </commandset>
 
   <toolbarpalette id='BrowserToolbarPalette'>

-- 
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