summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Holy <oholy@redhat.com>2018-01-30 10:07:29 +0100
committerErnestas Kulik <ernestask@gnome.org>2018-03-25 12:26:33 +0300
commit51f739039b3f85bf2ffc3f102ace8a9188916818 (patch)
tree418bc4d5f476dc2ec0e1e5e0d1aca3d06e26ef0c
parent4058e147eaf8bb3eaffbb93d9afdb8bde778e681 (diff)
downloadnautilus-51f739039b3f85bf2ffc3f102ace8a9188916818.tar.gz
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
-rw-r--r--src/nautilus-trash-monitor.c2
1 files changed, 1 insertions, 1 deletions
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
{