From 4daacc47dc32c15352bf080062779982f308aaae Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 16 May 2017 11:01:13 +0200 Subject: One step back... Mimick Canonical's API. Use their namespace for item attributes. --- src/idolocationmenuitem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/idolocationmenuitem.c') diff --git a/src/idolocationmenuitem.c b/src/idolocationmenuitem.c index 9b13345..335422a 100644 --- a/src/idolocationmenuitem.c +++ b/src/idolocationmenuitem.c @@ -314,7 +314,7 @@ ido_location_menu_item_new_from_model (GMenuItem * menu_item, parameters[n++] = p; } - if (g_menu_item_get_attribute (menu_item, "x-ayatanaindicator-timezone", "s", &str)) + if (g_menu_item_get_attribute (menu_item, "x-canonical-timezone", "s", &str)) { GParameter p = { "timezone", G_VALUE_INIT }; g_value_init (&p.value, G_TYPE_STRING); @@ -322,7 +322,7 @@ ido_location_menu_item_new_from_model (GMenuItem * menu_item, parameters[n++] = p; } - if (g_menu_item_get_attribute (menu_item, "x-ayatanaindicator-time-format", "s", &str)) + if (g_menu_item_get_attribute (menu_item, "x-canonical-time-format", "s", &str)) { GParameter p = { "format", G_VALUE_INIT }; g_value_init (&p.value, G_TYPE_STRING); -- cgit v1.2.3