diff options
Diffstat (limited to 'src/service.c')
-rw-r--r-- | src/service.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/service.c b/src/service.c index cd0f24e..6bd5959 100644 --- a/src/service.c +++ b/src/service.c @@ -29,8 +29,8 @@ #include "notifier.h" #include "service.h" -#define BUS_NAME "com.canonical.indicator.power" -#define BUS_PATH "/com/canonical/indicator/power" +#define BUS_NAME "org.ayatana.indicator.power" +#define BUS_PATH "/org/ayatana/indicator/power" #define SETTINGS_SHOW_TIME_S "show-time" #define SETTINGS_ICON_POLICY_S "icon-policy" @@ -478,7 +478,7 @@ append_device_to_menu (GMenu * menu, const IndicatorPowerDevice * device, int pr item = g_menu_item_new (label, NULL); g_free (label); - g_menu_item_set_attribute (item, "x-canonical-type", "s", "com.canonical.indicator.basic"); + g_menu_item_set_attribute (item, "x-ayatana-type", "s", "org.ayatana.indicator.basic"); if ((icon = indicator_power_device_get_gicon (device))) { @@ -531,7 +531,7 @@ create_phone_devices_section (IndicatorPowerService * self G_GNUC_UNUSED) menu = g_menu_new (); item = g_menu_item_new (_("Charge level"), "indicator.battery-level"); - g_menu_item_set_attribute (item, "x-canonical-type", "s", "com.canonical.indicator.progress"); + g_menu_item_set_attribute (item, "x-ayatana-type", "s", "org.ayatana.indicator.progress"); g_menu_append_item (menu, item); g_object_unref (item); @@ -552,7 +552,7 @@ create_brightness_menu_item(void) GMenuItem * item; item = g_menu_item_new(NULL, "indicator.brightness"); - g_menu_item_set_attribute(item, "x-canonical-type", "s", "com.canonical.unity.slider"); + g_menu_item_set_attribute(item, "x-ayatana-type", "s", "org.ayatana.unity.slider"); g_menu_item_set_attribute(item, "min-value", "d", 0.0); g_menu_item_set_attribute(item, "max-value", "d", 1.0); @@ -633,7 +633,7 @@ create_phone_settings_section(IndicatorPowerService * self) if (ab_supported) { item = g_menu_item_new(_("Adjust brightness automatically"), "indicator.auto-brightness"); - g_menu_item_set_attribute(item, "x-canonical-type", "s", "com.canonical.indicator.switch"); + g_menu_item_set_attribute(item, "x-ayatana-type", "s", "org.ayatana.indicator.switch"); g_menu_append_item(section, item); g_object_unref(item); } @@ -741,8 +741,8 @@ create_menu (IndicatorPowerService * self, int profile) /* add submenu to the header */ header = g_menu_item_new (NULL, "indicator._header"); - g_menu_item_set_attribute (header, "x-canonical-type", - "s", "com.canonical.indicator.root"); + g_menu_item_set_attribute (header, "x-ayatana-type", + "s", "org.ayatana.indicator.root"); g_menu_item_set_submenu (header, G_MENU_MODEL (submenu)); g_object_unref (submenu); @@ -1176,7 +1176,7 @@ indicator_power_service_init (IndicatorPowerService * self) p->cancellable = g_cancellable_new (); - p->settings = g_settings_new ("com.canonical.indicator.power"); + p->settings = g_settings_new ("org.ayatana.indicator.power"); p->notifier = indicator_power_notifier_new (); |