[nautilus] Use correct logic for delaying updates while loading



commit cfc72ae3ea86b63660e1bf153a9e33844e5b2281
Author: Thomas Karpiniec <arctanx arctanx id au>
Date:   Tue Jun 8 20:57:53 2010 +1000

    Use correct logic for delaying updates while loading
    
    See http://mail.gnome.org/archives/nautilus-list/2010-June/msg00023.html
    and https://bugzilla.gnome.org/show_bug.cgi?id=599680 for details.

 src/file-manager/fm-directory-view.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/file-manager/fm-directory-view.c b/src/file-manager/fm-directory-view.c
index fa9f6b7..dd8252e 100644
--- a/src/file-manager/fm-directory-view.c
+++ b/src/file-manager/fm-directory-view.c
@@ -3106,7 +3106,7 @@ changes_timeout_callback (gpointer data)
 
 	if (time_delta < UPDATE_INTERVAL_RESET*1000) {
 		if (view->details->update_interval < UPDATE_INTERVAL_MAX &&
-			!view->details->loading) {
+			view->details->loading) {
 			/* Increase */
 			view->details->update_interval += UPDATE_INTERVAL_INC;
 		}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]