From 4a43575838e2887545e71ca80500da047ec80db1 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Mon, 16 Nov 2015 16:04:57 +0100 Subject: Use x-ayatanaindicator-* instead of x-canonical-*. --- src/idoappointmentmenuitem.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/idoappointmentmenuitem.c') diff --git a/src/idoappointmentmenuitem.c b/src/idoappointmentmenuitem.c index 0d6a3d2..832f0d7 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-canonical-color", "s", &str)) + if (g_menu_item_get_attribute (menu_item, "x-ayatanaindicator-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-canonical-time-format", "s", &str)) + if (g_menu_item_get_attribute (menu_item, "x-ayatanaindicator-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-canonical-time", "x", &i64)) + if (g_menu_item_get_attribute (menu_item, "x-ayatanaindicator-time", "x", &i64)) { GParameter p = { "date-time", G_VALUE_INIT }; g_value_init (&p.value, G_TYPE_DATE_TIME); -- cgit v1.2.3