From 9e209733c5010d5ce270724b5e2629c9c97c11ef Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Tue, 11 Aug 2020 10:51:28 +0200 Subject: Replace x-canonical attributes --- src/idoappointmentmenuitem.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/idoappointmentmenuitem.c') diff --git a/src/idoappointmentmenuitem.c b/src/idoappointmentmenuitem.c index 1b537ed..9dc26a1 100644 --- a/src/idoappointmentmenuitem.c +++ b/src/idoappointmentmenuitem.c @@ -5,16 +5,16 @@ * Charles Kerr * Ted Gould * - * This program is free software: you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 3, as published + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 3, as published * by the Free Software Foundation. * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranties of - * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranties of + * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License along + * You should have received a copy of the GNU General Public License along * with this program. If not, see . */ @@ -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