aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-08-05 18:31:09 -0500
committerCharles Kerr <charles.kerr@canonical.com>2013-08-05 18:31:09 -0500
commit2d03420649eb330e7bae73929d98f0a8ea755ff7 (patch)
tree6eed469f1895bb35dbc5362cdb62a57a355bb10c /src
parent76efb05ae0ad6111adb1cb127069d97bf2eb61da (diff)
downloadayatana-indicator-bluetooth-2d03420649eb330e7bae73929d98f0a8ea755ff7.tar.gz
ayatana-indicator-bluetooth-2d03420649eb330e7bae73929d98f0a8ea755ff7.tar.bz2
ayatana-indicator-bluetooth-2d03420649eb330e7bae73929d98f0a8ea755ff7.zip
in phone and desktop, make 'action_state_for_root' private -- it's no longer in the Profile superclass.
Diffstat (limited to 'src')
-rw-r--r--src/desktop.vala4
-rw-r--r--src/phone.vala2
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