From d5e468406308718a1f9eab8c04ed776be857372d Mon Sep 17 00:00:00 2001 From: monsta Date: Thu, 26 Jan 2017 14:32:34 +0300 Subject: fix auto-reload of externally modified image it stopped working at some point... fixes https://github.com/mate-desktop/eom/issues/137 ported from: https://git.gnome.org/browse/eog/commit/?id=7e32c42ef40a2fd19227b397913c063bd33f831b --- src/eom-list-store.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/eom-list-store.c b/src/eom-list-store.c index d60df91..8a52398 100644 --- a/src/eom-list-store.c +++ b/src/eom-list-store.c @@ -392,7 +392,7 @@ file_monitor_changed_cb (GFileMonitor *monitor, EomImage *image; switch (event) { - case G_FILE_MONITOR_EVENT_CHANGED: + case G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT: file_info = g_file_query_info (file, G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE, 0, NULL, NULL); -- cgit v1.2.1