FW: Dialog closing prematurely with response code of 0
- From: "Kevin Lambert" <kl lapis com>
- To: <gtk-app-devel-list gnome org>
- Subject: FW: Dialog closing prematurely with response code of 0
- Date: Wed, 21 Mar 2007 16:42:39 -0400
Does anybody have any ideas about this? It looks like the response from
gtk_dialog_response is being captured by dialogs that don't match the
GtkDialog pointer that was passed in.
-----Original Message-----
From: gtk-app-devel-list-bounces gnome org
[mailto:gtk-app-devel-list-bounces gnome org] On Behalf Of Kevin Lambert
Sent: Thursday, March 15, 2007 1:54 PM
To: gtk-app-devel-list gnome org
Subject: Dialog closing prematurely with response code of 0
I have a GtkDialog(first) which has a button on it that launches another
GtkDialog (second). If I press either the Ok or the Cancel button on the
second Dialog it causes both dialogs to close with the gtk_dialog_run for
the first dialog returning back a code of 0 (which shouldn't be possible).
The button that I pressed on the first dialog does not have code to close
the dialog.
Load Button on Dialog 1 Pressed -> Launches Dialog 2
Ok Button on Dialog 2 Pressed -> Both Dialog 1 and Dialog 2 close.
Why is the fisrt dialog closing when the second dialog is closed?
Thanks,
Kevin
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]