GtkFileChooser selection-changed signal emission on gtk_dialog_run()
- From: James Morris <jwm art net gmail com>
- To: gtk-app-devel <gtk-app-devel-list gnome org>
- Subject: GtkFileChooser selection-changed signal emission on gtk_dialog_run()
- Date: Thu, 14 Jun 2012 16:54:10 +0100
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]