Hi,

I've got a problem with the "selection-changed" signal being emitted
as soon as gtk_dialog_run is called on a GtkFileChooserDialog. I tried
delaying connection of the callback until right before calling
gtk_dialog_run but there were still four calls (in a row AFAICT) to
the callback.

I am now using g_timeout_add as a work-around to delay connection of
the signal to my callback and thus prevent the four initial
"selection-changed" emissions activating the callback.

Is this normal? Is there a more standard way of doing this?

I'm using GTK 2.24.10 in 64bit Arch Linux.

Thanks,
James.
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to