aboutsummaryrefslogtreecommitdiff
path: root/src/idoplaybackmenuitem.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/idoplaybackmenuitem.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/idoplaybackmenuitem.c')
-rw-r--r--src/idoplaybackmenuitem.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/idoplaybackmenuitem.c b/src/idoplaybackmenuitem.c
index 06ac8af..4c90442 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-ayatana-play-action", "s", &widget->button_actions[BUTTON_PLAYPAUSE]);
+ g_menu_item_get_attribute (item, "x-ayatana-next-action", "s", &widget->button_actions[BUTTON_NEXT]);
+ g_menu_item_get_attribute (item, "x-ayatana-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))