[gthumb/ext] reload the image if the modification time is differrent
- From: Paolo Bacchilega <paobac src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gthumb/ext] reload the image if the modification time is differrent
- Date: Tue, 22 Sep 2009 11:59:44 +0000 (UTC)
commit 093748e9b08ec38f789c1672dcf57def5b8f28c6
Author: Paolo Bacchilega <paobac src gnome org>
Date: Tue Sep 22 13:58:24 2009 +0200
reload the image if the modification time is differrent
[bug #594777]
extensions/image_viewer/gth-image-viewer-page.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/extensions/image_viewer/gth-image-viewer-page.c b/extensions/image_viewer/gth-image-viewer-page.c
index cabcb29..5b5dbf0 100644
--- a/extensions/image_viewer/gth-image-viewer-page.c
+++ b/extensions/image_viewer/gth-image-viewer-page.c
@@ -593,6 +593,7 @@ gth_image_viewer_page_real_view (GthViewerPage *base,
if ((self->priv->file_data != NULL)
&& g_file_equal (file_data->file, self->priv->file_data->file)
+ && (gth_file_data_get_mtime (file_data) == gth_file_data_get_mtime (self->priv->file_data))
&& ! self->priv->pixbuf_changed)
{
return;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]