[Xfce4-commits] <parole:0.2.2> Just show the progress bar when buffering, don't show values.

Ali Abdallah noreply at xfce.org
Thu Dec 16 20:42:02 CET 2010


Updating branch refs/heads/0.2.2
         to 8e5c896915a3bf73b25b7a2ee3ff7e092989c2cd (commit)
       from 7cfd86fd23b811183954c8a6cd412b1338b27268 (commit)

commit 8e5c896915a3bf73b25b7a2ee3ff7e092989c2cd
Author: Ali Abdallah <aliov at xfce.org>
Date:   Thu Dec 16 20:35:34 2010 +0100

    Just show the progress bar when buffering, don't show values.

 src/parole-statusbar.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/src/parole-statusbar.c b/src/parole-statusbar.c
index 70425be..425aad8 100644
--- a/src/parole-statusbar.c
+++ b/src/parole-statusbar.c
@@ -56,16 +56,10 @@ G_DEFINE_TYPE (ParoleStatusbar, parole_statusbar, G_TYPE_OBJECT)
 static void 
 parole_statusbar_set_buffering (ParoleStatusbar *bar, gint percentage)
 {
-    gchar *buff;
-    
-    buff = g_strdup_printf ("%s %d%%", _("Buffering"), percentage);
-    
-    gtk_progress_bar_set_text (GTK_PROGRESS_BAR (bar->priv->progress), buff);
     gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (bar->priv->progress), (gdouble) percentage/100);
     gtk_widget_hide (bar->priv->label_text);
     gtk_widget_hide (bar->priv->label_duration);
     gtk_widget_show (bar->priv->progress);
-    g_free (buff);
 }
 
 static void



More information about the Xfce4-commits mailing list