aboutsummaryrefslogtreecommitdiff
path: root/src/idoappointmentmenuitem.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/idoappointmentmenuitem.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/idoappointmentmenuitem.c')
-rw-r--r--src/idoappointmentmenuitem.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/idoappointmentmenuitem.c b/src/idoappointmentmenuitem.c
index 832f0d7..0d6a3d2 100644
--- a/src/idoappointmentmenuitem.c
+++ b/src/idoappointmentmenuitem.c
@@ -103,7 +103,7 @@ ido_appointment_menu_item_new_from_model (GMenuItem * menu_item,
parameters[n++] = p;
}
- if (g_menu_item_get_attribute (menu_item, "x-ayatanaindicator-color", "s", &str))
+ if (g_menu_item_get_attribute (menu_item, "x-canonical-color", "s", &str))
{
GParameter p = { "icon", G_VALUE_INIT };
g_value_init (&p.value, G_TYPE_OBJECT);
@@ -112,7 +112,7 @@ ido_appointment_menu_item_new_from_model (GMenuItem * menu_item,
g_free (str);
}
- 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);
@@ -120,7 +120,7 @@ ido_appointment_menu_item_new_from_model (GMenuItem * menu_item,
parameters[n++] = p;
}
- if (g_menu_item_get_attribute (menu_item, "x-ayatanaindicator-time", "x", &i64))
+ if (g_menu_item_get_attribute (menu_item, "x-canonical-time", "x", &i64))
{
GParameter p = { "date-time", G_VALUE_INIT };
g_value_init (&p.value, G_TYPE_DATE_TIME);