[nautilus/trash-rate-limit: 183/183] trash-monitor: Change rate to 1 second



commit fd2148dcb5077799c87a5c837b30df6509a1531c
Author: Ondrej Holy <oholy redhat com>
Date:   Tue Jan 30 10:07:29 2018 +0100

    trash-monitor: Change rate to 1 second
    
    Rate limit for updates has been introduced recently. However, 5 seconds
    might be in some cases pretty long and seems that 1 second is quite enough.
    So let's unify this with GTK+ to 1 second. See:
    https://bugzilla.gnome.org/show_bug.cgi?id=792335

 src/nautilus-trash-monitor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/nautilus-trash-monitor.c b/src/nautilus-trash-monitor.c
index 97f487409..1e156e1b8 100644
--- a/src/nautilus-trash-monitor.c
+++ b/src/nautilus-trash-monitor.c
@@ -29,7 +29,7 @@
 #include <gio/gio.h>
 #include <string.h>
 
-#define UPDATE_RATE_SECONDS 5
+#define UPDATE_RATE_SECONDS 1
 
 struct NautilusTrashMonitorDetails
 {


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