[Xfce4-commits] <thunar:master> Hide spinner when there's no activity (bug #9563).

Nick Schermer noreply at xfce.org
Fri Nov 30 20:54:01 CET 2012


Updating branch refs/heads/master
         to f98f57a7814d659bded9d20259bc5f65c667a153 (commit)
       from 3a2b712e7ebbaf0ac6987fb0f58dbd718cb9c6bb (commit)

commit f98f57a7814d659bded9d20259bc5f65c667a153
Author: Nick Schermer <nick at xfce.org>
Date:   Fri Nov 30 20:52:20 2012 +0100

    Hide spinner when there's no activity (bug #9563).

 thunar/thunar-window.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/thunar/thunar-window.c b/thunar/thunar-window.c
index ce7a315..58a8ecd 100644
--- a/thunar/thunar-window.c
+++ b/thunar/thunar-window.c
@@ -789,8 +789,8 @@ thunar_window_init (ThunarWindow *window)
   /* place the spinner into the menu item */
   window->spinner = gtk_spinner_new ();
   gtk_container_add (GTK_CONTAINER (item), window->spinner);
-  gtk_widget_set_size_request (window->spinner, 16, 16);
-  gtk_widget_show (window->spinner);
+  exo_binding_new (G_OBJECT (window->spinner), "active",
+                   G_OBJECT (window->spinner), "visible");
 
   /* check if we need to add the root warning */
   if (G_UNLIKELY (geteuid () == 0))


More information about the Xfce4-commits mailing list