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
This commit is contained in:
Rafał Dzięgiel
2025-08-01 19:19:52 +02:00
parent 4301a9a9fa
commit a5db6f701d
3 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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