[Xfce4-commits] <thunar:master> Set cancel message in progress label, not bar.

Nick Schermer noreply at xfce.org
Sun Sep 30 18:38:01 CEST 2012


Updating branch refs/heads/master
         to 0901472b684d8621bbbbc50c04d95eb5783206f8 (commit)
       from 9e0684eecacc7d6bc3c295f3910d0a4bfa761c21 (commit)

commit 0901472b684d8621bbbbc50c04d95eb5783206f8
Author: Nick Schermer <nick at xfce.org>
Date:   Sun Sep 30 18:36:35 2012 +0200

    Set cancel message in progress label, not bar.

 thunar/thunar-progress-view.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/thunar/thunar-progress-view.c b/thunar/thunar-progress-view.c
index d3461eb..43a3afc 100644
--- a/thunar/thunar-progress-view.c
+++ b/thunar/thunar-progress-view.c
@@ -350,9 +350,8 @@ thunar_progress_view_cancel_job (ThunarProgressView *view)
       g_signal_handlers_disconnect_matched (view->job, G_SIGNAL_MATCH_FUNC, 0, 0, NULL,
                                             thunar_progress_view_info_message, NULL);
 
-      /* update the progress bar text */
-      gtk_progress_bar_set_text (GTK_PROGRESS_BAR (view->progress_bar),
-                                 _("Cancelling..."));
+      /* update the status text */
+      gtk_label_set_text (GTK_LABEL (view->progress_label), _("Cancelling..."));
     }
 }
 


More information about the Xfce4-commits mailing list