diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-08-11 16:49:26 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-08-11 16:49:26 +0200 |
commit | 974147dfa1c3c8c23238e5749ebe7fafae751a84 (patch) | |
tree | 09399ec2ddf5af91701a518f568e7a44d06cd8e7 /src/idoappointmentmenuitem.c | |
parent | 4e2ff263b8fdffe1251c1db956a6682f10ee2943 (diff) | |
download | ayatana-ido-974147dfa1c3c8c23238e5749ebe7fafae751a84.tar.gz ayatana-ido-974147dfa1c3c8c23238e5749ebe7fafae751a84.tar.bz2 ayatana-ido-974147dfa1c3c8c23238e5749ebe7fafae751a84.zip |
Replace x-canonical attributes solely used by Ayatana Indicators.
Diffstat (limited to 'src/idoappointmentmenuitem.c')
-rw-r--r-- | src/idoappointmentmenuitem.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); |