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



commit bc1c6e13aff6523be0dcd3487795100cea791618
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]