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 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/desktop.vala') 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; -- cgit v1.2.3