From 974147dfa1c3c8c23238e5749ebe7fafae751a84 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 11 Aug 2020 16:49:26 +0200 Subject: Replace x-canonical attributes solely used by Ayatana Indicators. --- 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 1b537ed..23259f7 100644 --- a/src/idoappointmentmenuitem.c +++ b/src/idoappointmentmenuitem.c @@ -106,7 +106,7 @@ ido_appointment_menu_item_new_from_model (GMenuItem * menu_item, n++; } - if (g_menu_item_get_attribute (menu_item, "x-canonical-color", "s", &str)) + if (g_menu_item_get_attribute (menu_item, "x-ayatana-color", "s", &str)) { names[n] = "icon"; g_value_init (&values[n], G_TYPE_OBJECT); @@ -115,7 +115,7 @@ ido_appointment_menu_item_new_from_model (GMenuItem * menu_item, n++; } - if (g_menu_item_get_attribute (menu_item, "x-canonical-time-format", "s", &str)) + if (g_menu_item_get_attribute (menu_item, "x-ayatana-time-format", "s", &str)) { names[n] = "format"; g_value_init (&values[n], G_TYPE_STRING); @@ -123,7 +123,7 @@ ido_appointment_menu_item_new_from_model (GMenuItem * menu_item, n++; } - if (g_menu_item_get_attribute (menu_item, "x-canonical-time", "x", &i64)) + if (g_menu_item_get_attribute (menu_item, "x-ayatana-time", "x", &i64)) { names[n] = "date-time"; g_value_init (&values[n], G_TYPE_DATE_TIME); -- cgit v1.2.3