aboutsummaryrefslogtreecommitdiff
path: root/lib/ibus-menu.vala
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ibus-menu.vala')
-rw-r--r--lib/ibus-menu.vala8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/ibus-menu.vala b/lib/ibus-menu.vala
index a74782ed..a240f00b 100644
--- a/lib/ibus-menu.vala
+++ b/lib/ibus-menu.vala
@@ -128,10 +128,6 @@ public class Indicator.Keyboard.IBusMenu : MenuModel {
var state = new Variant.boolean (property.state == IBus.PropState.CHECKED);
var action = new SimpleAction.stateful (name, null, state);
- action.activate.connect ((parameter) => {
- action.change_state (new Variant.boolean (!action.get_state ().get_boolean ()));
- });
-
action.change_state.connect ((value) => {
if (value != null) {
action.set_state ((!) value);
@@ -158,10 +154,6 @@ public class Indicator.Keyboard.IBusMenu : MenuModel {
var name = @"-private-radio-$radio_counter";
var action = new SimpleAction.stateful (name, VariantType.STRING, new Variant.string (""));
- action.activate.connect ((parameter) => {
- action.change_state (parameter);
- });
-
action.change_state.connect ((value) => {
if (value != null) {
var key = ((!) value).get_string ();