From 2d03420649eb330e7bae73929d98f0a8ea755ff7 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Mon, 5 Aug 2013 18:31:09 -0500 Subject: in phone and desktop, make 'action_state_for_root' private -- it's no longer in the Profile superclass. --- src/desktop.vala | 4 ++-- src/phone.vala | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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 -- cgit v1.2.3