[Xfce4-commits] <parole:master> Fixed show/hide order for buffer and scale.

Sean Davis noreply at xfce.org
Mon Jul 23 01:24:18 CEST 2012


Updating branch refs/heads/master
         to 146b2c937b9f75d24cb7fe870ceb0d0e7fd6497e (commit)
       from 73bd88a67081e12a6baadd2e3b362cc505428b44 (commit)

commit 146b2c937b9f75d24cb7fe870ceb0d0e7fd6497e
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Wed Jul 11 11:08:30 2012 -0400

    Fixed show/hide order for buffer and scale.

 src/parole-player.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/parole-player.c b/src/parole-player.c
index 62d6529..1a419e5 100644
--- a/src/parole-player.c
+++ b/src/parole-player.c
@@ -1050,8 +1050,8 @@ parole_player_buffering_cb (ParoleGst *gst, const ParoleStream *stream, gint per
     {
 	player->priv->buffering = FALSE;
 	parole_gst_resume (PAROLE_GST (player->priv->gst));
-	gtk_widget_show (player->priv->playcontrol_box);
 	gtk_widget_hide (player->priv->progressbar_buffering);
+	gtk_widget_show (player->priv->playcontrol_box);
     }
     else
     {
@@ -1067,8 +1067,8 @@ parole_player_buffering_cb (ParoleGst *gst, const ParoleStream *stream, gint per
     
     gtk_progress_bar_set_text (GTK_PROGRESS_BAR (player->priv->progressbar_buffering), buff);
     gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (player->priv->progressbar_buffering), (gdouble) percentage/100);
-    gtk_widget_show (player->priv->progressbar_buffering);
 	gtk_widget_hide (player->priv->playcontrol_box);
+    gtk_widget_show (player->priv->progressbar_buffering);
     g_free (buff);
     }
 }


More information about the Xfce4-commits mailing list