summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormonsta <[email protected]>2017-01-26 14:32:34 +0300
committermonsta <[email protected]>2017-01-26 14:44:19 +0300
commit25f76643b789f466694177e79cf1bc36edf508de (patch)
tree39cda46ed92ec0ba2001fba88325dd4924c6c982 /src
parentc98b47c70a1710348b4520d30aab5d337a735199 (diff)
downloadeom-25f76643b789f466694177e79cf1bc36edf508de.tar.bz2
eom-25f76643b789f466694177e79cf1bc36edf508de.tar.xz
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
Diffstat (limited to 'src')
-rw-r--r--src/eom-list-store.c2
1 files changed, 1 insertions, 1 deletions
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);