aboutsummaryrefslogtreecommitdiff
path: root/src/idoappointmentmenuitem.c
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2020-08-11 10:51:28 +0200
committerRobert Tari <robert@tari.in>2020-08-11 10:51:28 +0200
commit9e209733c5010d5ce270724b5e2629c9c97c11ef (patch)
tree109b9eb6a747467dc59ead5435f6d05e494a0aad /src/idoappointmentmenuitem.c
parent4e2ff263b8fdffe1251c1db956a6682f10ee2943 (diff)
downloadayatana-ido-9e209733c5010d5ce270724b5e2629c9c97c11ef.tar.gz
ayatana-ido-9e209733c5010d5ce270724b5e2629c9c97c11ef.tar.bz2
ayatana-ido-9e209733c5010d5ce270724b5e2629c9c97c11ef.zip
Replace x-canonical attributes
Diffstat (limited to 'src/idoappointmentmenuitem.c')
-rw-r--r--src/idoappointmentmenuitem.c18
1 files changed, 9 insertions, 9 deletions
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 <charles.kerr@canonical.com>
* Ted Gould <ted@canonical.com>
*
- * 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 <http://www.gnu.org/licenses/>.
*/
@@ -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);