[brasero/gnome-2-28] Removed unneeded line that prevented play button to return to a proper state at the end of the strea



commit c6fad202d2607dc5bf39fa80901e5364b7f8b82e
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date:   Wed Dec 2 22:15:14 2009 +0100

    Removed unneeded line that prevented play button to return to a proper state at the end of the stream
    It should be backported in 2.28

 src/brasero-player.c |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/src/brasero-player.c b/src/brasero-player.c
index 8312130..07adda9 100644
--- a/src/brasero-player.c
+++ b/src/brasero-player.c
@@ -501,15 +501,14 @@ brasero_player_create_controls_stream (BraseroPlayer *player,
 				    0);
 
 		hbox = gtk_hbox_new (FALSE, 0);
-		alignment = gtk_alignment_new (1.0, 0.0, 0.0, 0.0);
-		player->priv->button = gtk_button_new ();
+
 		gtk_container_add (GTK_CONTAINER (alignment), hbox);
 		gtk_box_pack_start (GTK_BOX (box),
 				    alignment,
 				    TRUE,
 				    TRUE,
 				    0);
-
+		
 		image = gtk_image_new_from_stock (GTK_STOCK_ZOOM_OUT, GTK_ICON_SIZE_BUTTON);
 		zoom = gtk_button_new ();
 		gtk_button_set_image (GTK_BUTTON (zoom), image);
@@ -1117,7 +1116,7 @@ brasero_player_eof_cb (BraseroPlayerBacon *bacon, BraseroPlayer *player)
 	gtk_image_set_from_stock (GTK_IMAGE (player->priv->image),
 				  GTK_STOCK_MEDIA_PLAY,
 				  GTK_ICON_SIZE_BUTTON);
-	
+
 	if (player->priv->update_scale_id) {
 		g_source_remove (player->priv->update_scale_id);
 		player->priv->update_scale_id = 0;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]