aboutsummaryrefslogtreecommitdiff
path: root/src/desktop.vala
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2020-10-25 16:14:34 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-10-25 22:52:10 +0100
commit67376d6a03a49eec1fdcb2c07509a6994d089e69 (patch)
treeabb4972160d0d18a5830fed0248d914b88a0eb0d /src/desktop.vala
parent5024aafdba098a7c4f481357c206c4cd1437ccf2 (diff)
downloadayatana-indicator-bluetooth-67376d6a03a49eec1fdcb2c07509a6994d089e69.tar.gz
ayatana-indicator-bluetooth-67376d6a03a49eec1fdcb2c07509a6994d089e69.tar.bz2
ayatana-indicator-bluetooth-67376d6a03a49eec1fdcb2c07509a6994d089e69.zip
Switch over from Ubuntu System Indicator to Ayatana System Indicator.
Diffstat (limited to 'src/desktop.vala')
-rw-r--r--src/desktop.vala10
1 files changed, 5 insertions, 5 deletions
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<uint,SimpleAction>(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);