Author: post
Date: 2010-10-24 15:20:42 +0200 (Sun, 24 Oct 2010)
New Revision: 3581
Modified:
trunk/src/gtk-interface.c
Log:
Don't re-open the same image. In some cases a "changed" signal is emitted, even
though it is the same image.
Modified: trunk/src/gtk-interface.c
===================================================================
--- trunk/src/gtk-interface.c 2010-10-24 12:53:35 UTC (rev 3580)
+++ trunk/src/gtk-interface.c 2010-10-24 13:20:42 UTC (rev 3581)
@@ -193,6 +193,14 @@
g_list_free(selected);
}
+ if (rs->photo && rs->photo->filename)
+ if (!g_strcmp0(rs->photo->filename, name))
+ {
+ gui_status_pop(msgid);
+ gui_set_busy(FALSE);
+ return;
+ }
+
if (!open_photo(rs, name))
{
gui_status_pop(msgid);
_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit