aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-11-16 16:04:57 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-11-16 16:04:57 +0100
commit4a43575838e2887545e71ca80500da047ec80db1 (patch)
treebd90b951fc6c95e03422f0af532a1283fcf6590b /src
parentfcf7848c041eedb18a08b71aa75c59540aa042db (diff)
downloadayatana-ido-4a43575838e2887545e71ca80500da047ec80db1.tar.gz
ayatana-ido-4a43575838e2887545e71ca80500da047ec80db1.tar.bz2
ayatana-ido-4a43575838e2887545e71ca80500da047ec80db1.zip
Use x-ayatanaindicator-* instead of x-canonical-*.
Diffstat (limited to 'src')
-rw-r--r--src/idoalarmmenuitem.c4
-rw-r--r--src/idoappointmentmenuitem.c6
-rw-r--r--src/idolocationmenuitem.c4
-rw-r--r--src/idoplaybackmenuitem.c6
4 files changed, 10 insertions, 10 deletions
diff --git a/src/idoalarmmenuitem.c b/src/idoalarmmenuitem.c
index 817d6a8..eeb7a4f 100644
--- a/src/idoalarmmenuitem.c
+++ b/src/idoalarmmenuitem.c
@@ -69,7 +69,7 @@ ido_alarm_menu_item_new_from_model (GMenuItem * menu_item,
parameters[n++] = p;
}
- if (g_menu_item_get_attribute (menu_item, "x-canonical-time-format", "s", &str))
+ if (g_menu_item_get_attribute (menu_item, "x-ayatanaindicator-time-format", "s", &str))
{
GParameter p = { "format", G_VALUE_INIT };
g_value_init (&p.value, G_TYPE_STRING);
@@ -77,7 +77,7 @@ ido_alarm_menu_item_new_from_model (GMenuItem * menu_item,
parameters[n++] = p;
}
- if (g_menu_item_get_attribute (menu_item, "x-canonical-time", "x", &i64))
+ if (g_menu_item_get_attribute (menu_item, "x-ayatanaindicator-time", "x", &i64))
{
GParameter p = { "date-time", G_VALUE_INIT };
g_value_init (&p.value, G_TYPE_DATE_TIME);
diff --git a/src/idoappointmentmenuitem.c b/src/idoappointmentmenuitem.c
index 0d6a3d2..832f0d7 100644
--- a/src/idoappointmentmenuitem.c
+++ b/src/idoappointmentmenuitem.c
@@ -103,7 +103,7 @@ ido_appointment_menu_item_new_from_model (GMenuItem * menu_item,
parameters[n++] = p;
}
- if (g_menu_item_get_attribute (menu_item, "x-canonical-color", "s", &str))
+ if (g_menu_item_get_attribute (menu_item, "x-ayatanaindicator-color", "s", &str))
{
GParameter p = { "icon", G_VALUE_INIT };
g_value_init (&p.value, G_TYPE_OBJECT);
@@ -112,7 +112,7 @@ ido_appointment_menu_item_new_from_model (GMenuItem * menu_item,
g_free (str);
}
- if (g_menu_item_get_attribute (menu_item, "x-canonical-time-format", "s", &str))
+ if (g_menu_item_get_attribute (menu_item, "x-ayatanaindicator-time-format", "s", &str))
{
GParameter p = { "format", G_VALUE_INIT };
g_value_init (&p.value, G_TYPE_STRING);
@@ -120,7 +120,7 @@ ido_appointment_menu_item_new_from_model (GMenuItem * menu_item,
parameters[n++] = p;
}
- if (g_menu_item_get_attribute (menu_item, "x-canonical-time", "x", &i64))
+ if (g_menu_item_get_attribute (menu_item, "x-ayatanaindicator-time", "x", &i64))
{
GParameter p = { "date-time", G_VALUE_INIT };
g_value_init (&p.value, G_TYPE_DATE_TIME);
diff --git a/src/idolocationmenuitem.c b/src/idolocationmenuitem.c
index 335422a..9b13345 100644
--- a/src/idolocationmenuitem.c
+++ b/src/idolocationmenuitem.c
@@ -314,7 +314,7 @@ ido_location_menu_item_new_from_model (GMenuItem * menu_item,
parameters[n++] = p;
}
- if (g_menu_item_get_attribute (menu_item, "x-canonical-timezone", "s", &str))
+ if (g_menu_item_get_attribute (menu_item, "x-ayatanaindicator-timezone", "s", &str))
{
GParameter p = { "timezone", G_VALUE_INIT };
g_value_init (&p.value, G_TYPE_STRING);
@@ -322,7 +322,7 @@ ido_location_menu_item_new_from_model (GMenuItem * menu_item,
parameters[n++] = p;
}
- if (g_menu_item_get_attribute (menu_item, "x-canonical-time-format", "s", &str))
+ if (g_menu_item_get_attribute (menu_item, "x-ayatanaindicator-time-format", "s", &str))
{
GParameter p = { "format", G_VALUE_INIT };
g_value_init (&p.value, G_TYPE_STRING);
diff --git a/src/idoplaybackmenuitem.c b/src/idoplaybackmenuitem.c
index d45acd0..dfb3b7b 100644
--- a/src/idoplaybackmenuitem.c
+++ b/src/idoplaybackmenuitem.c
@@ -457,9 +457,9 @@ ido_playback_menu_item_new_from_model (GMenuItem *item,
g_signal_connect (actions, "action-added", G_CALLBACK (ido_playback_menu_item_action_added), widget);
g_signal_connect (actions, "action-removed", G_CALLBACK (ido_playback_menu_item_action_removed), widget);
- g_menu_item_get_attribute (item, "x-canonical-play-action", "s", &widget->button_actions[BUTTON_PLAYPAUSE]);
- g_menu_item_get_attribute (item, "x-canonical-next-action", "s", &widget->button_actions[BUTTON_NEXT]);
- g_menu_item_get_attribute (item, "x-canonical-previous-action", "s", &widget->button_actions[BUTTON_PREVIOUS]);
+ g_menu_item_get_attribute (item, "x-ayatanaindicator-play-action", "s", &widget->button_actions[BUTTON_PLAYPAUSE]);
+ g_menu_item_get_attribute (item, "x-ayatanaindicator-next-action", "s", &widget->button_actions[BUTTON_NEXT]);
+ g_menu_item_get_attribute (item, "x-ayatanaindicator-previous-action", "s", &widget->button_actions[BUTTON_PREVIOUS]);
play_action = widget->button_actions[BUTTON_PLAYPAUSE];
if (play_action && g_action_group_has_action (actions, play_action))