Revert "popupMenu: Fix RemoteMenu items with boolean state action"

This reverts commit 7293ddb22c.
This commit is contained in:
Florian Müllner 2012-04-27 21:40:34 +02:00
parent 54c624b356
commit 43fd29f9bf

View File

@ -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':