Comment 1 for bug 698501

Revision history for this message
Peter Clifton (pcjc2) wrote :

I can't reproduce this with GTK 2.12. What version do you have?

I instrumented with this patch in x_fileselect.c:

diff --git a/gschem/src/x_fileselect.c b/gschem/src/x_fileselect.c
index bdf8188..84a9e98 100644
--- a/gschem/src/x_fileselect.c
+++ b/gschem/src/x_fileselect.c
@@ -91,6 +91,8 @@ x_fileselect_callback_update_preview (GtkFileChooser *chooser,
     preview_filename = filename;
   }

+ printf ("Updating file preview widget\n");
+
   /* update preview */
   g_object_set (preview,
                 "filename", preview_filename,

and only get one update per file clicked.

It would be helpful if you could check and see what your box does. If it turns out to be a GTK bug, we might be able to work around it by checking whether the current preview filename matches the new one being set.