From a5db6f701d8ba1466d0f714aa8f26287ae72eeb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Dzi=C4=99giel?= Date: Fri, 1 Aug 2025 19:19:52 +0200 Subject: [PATCH] clapper-gtk: Use AV widget actions directly Actions of video widget are being deprecated in favour of the same actions in the recently added AV base class --- src/lib/clapper-gtk/clapper-gtk-next-item-button.c | 2 +- src/lib/clapper-gtk/clapper-gtk-previous-item-button.c | 2 +- src/lib/clapper-gtk/clapper-gtk-toggle-play-button.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/clapper-gtk/clapper-gtk-next-item-button.c b/src/lib/clapper-gtk/clapper-gtk-next-item-button.c index ffb4960f..1087aa2b 100644 --- a/src/lib/clapper-gtk/clapper-gtk-next-item-button.c +++ b/src/lib/clapper-gtk/clapper-gtk-next-item-button.c @@ -82,7 +82,7 @@ clapper_gtk_next_item_button_init (ClapperGtkNextItemButton *self) { gtk_widget_set_sensitive (GTK_WIDGET (self), FALSE); gtk_button_set_icon_name (GTK_BUTTON (self), "media-skip-forward-symbolic"); - gtk_actionable_set_action_name (GTK_ACTIONABLE (self), "video.next-item"); + gtk_actionable_set_action_name (GTK_ACTIONABLE (self), "av.next-item"); } static void diff --git a/src/lib/clapper-gtk/clapper-gtk-previous-item-button.c b/src/lib/clapper-gtk/clapper-gtk-previous-item-button.c index 82fc78ab..f6153860 100644 --- a/src/lib/clapper-gtk/clapper-gtk-previous-item-button.c +++ b/src/lib/clapper-gtk/clapper-gtk-previous-item-button.c @@ -82,7 +82,7 @@ clapper_gtk_previous_item_button_init (ClapperGtkPreviousItemButton *self) { gtk_widget_set_sensitive (GTK_WIDGET (self), FALSE); gtk_button_set_icon_name (GTK_BUTTON (self), "media-skip-backward-symbolic"); - gtk_actionable_set_action_name (GTK_ACTIONABLE (self), "video.previous-item"); + gtk_actionable_set_action_name (GTK_ACTIONABLE (self), "av.previous-item"); } static void diff --git a/src/lib/clapper-gtk/clapper-gtk-toggle-play-button.c b/src/lib/clapper-gtk/clapper-gtk-toggle-play-button.c index 2e09a42d..59725521 100644 --- a/src/lib/clapper-gtk/clapper-gtk-toggle-play-button.c +++ b/src/lib/clapper-gtk/clapper-gtk-toggle-play-button.c @@ -83,7 +83,7 @@ static void clapper_gtk_toggle_play_button_init (ClapperGtkTogglePlayButton *self) { gtk_button_set_icon_name (GTK_BUTTON (self), PLAY_ICON_NAME); - gtk_actionable_set_action_name (GTK_ACTIONABLE (self), "video.toggle-play"); + gtk_actionable_set_action_name (GTK_ACTIONABLE (self), "av.toggle-play"); } static void