mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-29 15:22:11 +02:00
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:
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user