diff options
author | Robert Tari <robert@tari.in> | 2020-08-11 10:51:28 +0200 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2020-08-11 10:51:28 +0200 |
commit | 9e209733c5010d5ce270724b5e2629c9c97c11ef (patch) | |
tree | 109b9eb6a747467dc59ead5435f6d05e494a0aad /src/idolocationmenuitem.c | |
parent | 4e2ff263b8fdffe1251c1db956a6682f10ee2943 (diff) | |
download | ayatana-ido-9e209733c5010d5ce270724b5e2629c9c97c11ef.tar.gz ayatana-ido-9e209733c5010d5ce270724b5e2629c9c97c11ef.tar.bz2 ayatana-ido-9e209733c5010d5ce270724b5e2629c9c97c11ef.zip |
Replace x-canonical attributes
Diffstat (limited to 'src/idolocationmenuitem.c')
-rw-r--r-- | src/idolocationmenuitem.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/idolocationmenuitem.c b/src/idolocationmenuitem.c index 4361e50..983126b 100644 --- a/src/idolocationmenuitem.c +++ b/src/idolocationmenuitem.c @@ -4,16 +4,16 @@ * Authors: * Charles Kerr <charles.kerr@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/>. */ @@ -313,7 +313,7 @@ ido_location_menu_item_new_from_model (GMenuItem * menu_item, n++; } - if (g_menu_item_get_attribute (menu_item, "x-canonical-timezone", "s", &str)) + if (g_menu_item_get_attribute (menu_item, "x-ayatana-timezone", "s", &str)) { names[n] = "timezone"; g_value_init (&values[n], G_TYPE_STRING); @@ -321,7 +321,7 @@ ido_location_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); |