diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/desktop.vala | 4 | ||||
-rw-r--r-- | src/phone.vala | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/desktop.vala b/src/desktop.vala index 4432a3f..5eb914b 100644 --- a/src/desktop.vala +++ b/src/desktop.vala @@ -88,7 +88,7 @@ class Desktop: Profile { var action_name = @"desktop-device-$(device.id)-connected"; - var item = new MenuItem (_("Connection"), "indicator."+action_name); + var item = new MenuItem (_("Connection"), @"indicator.$action_name"); item.set_attribute ("x-canonical-type", "s", "com.canonical.indicator.switch"); // if this doesn't already have an action, create one @@ -267,7 +267,7 @@ class Desktop: Profile return action; } - protected Variant action_state_for_root () + private Variant action_state_for_root () { bool blocked = bluetooth.blocked; bool powered = bluetooth.powered; diff --git a/src/phone.vala b/src/phone.vala index 4eaff4d..de5febe 100644 --- a/src/phone.vala +++ b/src/phone.vala @@ -56,7 +56,7 @@ class Phone: Profile return action; } - protected Variant action_state_for_root () + private Variant action_state_for_root () { var label = "Hello World"; // FIXME var a11y = "Hello World"; // FIXME |