From 67376d6a03a49eec1fdcb2c07509a6994d089e69 Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Sun, 25 Oct 2020 16:14:34 +0100 Subject: Switch over from Ubuntu System Indicator to Ayatana System Indicator. --- src/desktop.vala | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/desktop.vala') diff --git a/src/desktop.vala b/src/desktop.vala index 5adaaf1..4186daa 100644 --- a/src/desktop.vala +++ b/src/desktop.vala @@ -47,7 +47,7 @@ class Desktop: Profile connect_actions = new HashTable(direct_hash, direct_equal); - settings = new Settings ("com.canonical.indicator.bluetooth"); + settings = new Settings ("org.ayatana.indicator.bluetooth"); // build the static actions Action[] actions = {}; @@ -94,8 +94,8 @@ class Desktop: Profile var action_name = @"desktop-device-$(id)-connected"; var item = new MenuItem (_("Connection"), @"indicator.$action_name"); - item.set_attribute ("x-canonical-type", - "s", "com.canonical.indicator.switch"); + item.set_attribute ("x-ayatana-type", + "s", "org.ayatana.indicator.switch"); // if this doesn't already have an action, create one if (!connect_actions.contains (id)) @@ -190,8 +190,8 @@ class Desktop: Profile section = new Menu (); section.append_item (create_enabled_menuitem ()); item = new MenuItem (_("Visible"), "indicator.desktop-discoverable"); - item.set_attribute ("x-canonical-type", "s", - "com.canonical.indicator.switch"); + item.set_attribute ("x-ayatana-type", "s", + "org.ayatana.indicator.switch"); section.append_item (item); menu.append_section (null, section); -- cgit v1.2.3