mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-07 15:02:40 +00:00
playback/player: gtk-play: do not set window title in resume button cb.
Window title is set from media-info-updated signal hence updating the window title in resume button callback will override the title set from media-info-updated signal.
This commit is contained in:
parent
1b1aed87c5
commit
15b1167746
1 changed files with 0 additions and 6 deletions
|
@ -141,17 +141,11 @@ play_pause_clicked_cb (GtkButton * button, GtkPlay * play)
|
|||
gtk_button_set_image (GTK_BUTTON (play->play_pause_button), image);
|
||||
play->playing = FALSE;
|
||||
} else {
|
||||
gchar *title;
|
||||
|
||||
gst_player_play (play->player);
|
||||
image =
|
||||
gtk_image_new_from_icon_name ("media-playback-pause",
|
||||
GTK_ICON_SIZE_BUTTON);
|
||||
gtk_button_set_image (GTK_BUTTON (play->play_pause_button), image);
|
||||
|
||||
title = gst_player_get_uri (play->player);
|
||||
set_title (play, title);
|
||||
g_free (title);
|
||||
play->playing = TRUE;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue