[gnome-shell] Revert "popupMenu: Fix RemoteMenu items with boolean state action"



commit 43fd29f9bffd921f08d7126ef84f6effd445cda3
Author: Florian MÃllner <fmuellner gnome org>
Date:   Fri Apr 27 21:40:34 2012 +0200

    Revert "popupMenu: Fix RemoteMenu items with boolean state action"
    
    This reverts commit 7293ddb22c3a1b97ea74e892af20e62ed3b31a3e.

 js/ui/popupMenu.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/popupMenu.js b/js/ui/popupMenu.js
index b1a06ed..09a9b73 100644
--- a/js/ui/popupMenu.js
+++ b/js/ui/popupMenu.js
@@ -1867,7 +1867,7 @@ const RemoteMenu = new Lang.Class({
                 item = new PopupSwitchMenuItem(label, action.state.get_boolean());
                 action.items.push(item);
                 specificSignalId = item.connect('toggled', Lang.bind(this, function(item) {
-                    this.actionGroup.activate_action(action_id, GLib.Variant.new_boolean(item.state));
+                    this.actionGroup.activate_action(action_id, null);
                 }));
                 break;
             case 's':



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]