aboutsummaryrefslogtreecommitdiff
path: root/src/idolocationmenuitem.c
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-05-16 11:01:13 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-05-16 11:01:13 +0200
commit4daacc47dc32c15352bf080062779982f308aaae (patch)
treeac138458079c4579a0be618ef37f45e36c8e0667 /src/idolocationmenuitem.c
parent7956f5b71602bcfaa03bcc153722ff5de51bc430 (diff)
downloadayatana-ido-4daacc47dc32c15352bf080062779982f308aaae.tar.gz
ayatana-ido-4daacc47dc32c15352bf080062779982f308aaae.tar.bz2
ayatana-ido-4daacc47dc32c15352bf080062779982f308aaae.zip
One step back... Mimick Canonical's API. Use their namespace for item attributes.
Diffstat (limited to 'src/idolocationmenuitem.c')
-rw-r--r--src/idolocationmenuitem.c4
1 files changed, 2 insertions, 2 deletions
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);