[nautilus] window-toolbars: show/hide the spinner in the right order
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] window-toolbars: show/hide the spinner in the right order
- Date: Tue, 5 Oct 2010 12:26:00 +0000 (UTC)
commit 61906b05ec90d5d4759ae7ff7fc7aca40fb18f15
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Oct 5 14:27:09 2010 +0200
window-toolbars: show/hide the spinner in the right order
Apparently calling them in the wrong order makes new GTK+ crash.
src/nautilus-window-toolbars.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/nautilus-window-toolbars.c b/src/nautilus-window-toolbars.c
index e0ba7b4..d6c074e 100644
--- a/src/nautilus-window-toolbars.c
+++ b/src/nautilus-window-toolbars.c
@@ -65,10 +65,9 @@ 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);
+ gtk_spinner_start (GTK_SPINNER (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]