diff options
author | monsta <[email protected]> | 2017-01-26 14:32:34 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2017-01-26 15:06:32 +0300 |
commit | d5e468406308718a1f9eab8c04ed776be857372d (patch) | |
tree | 09ca93e58e6952643fdc450179974667116ccea6 /src | |
parent | 68d7e5655ae43494cd615bb68e6dd62c21d3fd66 (diff) | |
download | eom-d5e468406308718a1f9eab8c04ed776be857372d.tar.bz2 eom-d5e468406308718a1f9eab8c04ed776be857372d.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.c | 2 |
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); |