summaryrefslogtreecommitdiff
path: root/src/nautilus-trash-monitor.c
diff options
context:
space:
mode:
authorOndrej Holy <oholy@redhat.com>2018-01-30 10:07:29 +0100
committerCarlos Soriano <csoriano1618@gmail.com>2018-03-13 15:04:15 +0000
commitdbb5e0946fe7ab5d5bc7ddeb5ca97800b67d9b33 (patch)
tree8cfbb74c0bdb6d3cb6d9213f375648908458ec00 /src/nautilus-trash-monitor.c
parentcf202ce7a5eae83c9c4ba10efcfe499c4b89e63e (diff)
downloadnautilus-dbb5e0946fe7ab5d5bc7ddeb5ca97800b67d9b33.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
Diffstat (limited to 'src/nautilus-trash-monitor.c')
-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
{