[nautilus] window-toolbars: show/hide the spinner when changing its state
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] window-toolbars: show/hide the spinner when changing its state
- Date: Mon, 4 Oct 2010 10:09:04 +0000 (UTC)
commit d72087b74c871ef82b1f6a13bb5bb72b38670a52
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Oct 4 02:53:01 2010 +0200
window-toolbars: show/hide the spinner when changing its state
src/nautilus-window-toolbars.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/nautilus-window-toolbars.c b/src/nautilus-window-toolbars.c
index 6c75d30..e0ba7b4 100644
--- a/src/nautilus-window-toolbars.c
+++ b/src/nautilus-window-toolbars.c
@@ -66,8 +66,10 @@ nautilus_navigation_window_set_spinner_active (NautilusNavigationWindow *window,
window->details->spinner_active = allow;
if (allow) {
gtk_spinner_start (GTK_SPINNER (window->details->spinner));
+ gtk_widget_show (window->details->spinner);
} else {
gtk_spinner_stop (GTK_SPINNER (window->details->spinner));
+ gtk_widget_hide (window->details->spinner);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]