Dialog closing prematurely with response code of 0

2007-03-15 Thread Kevin Lambert
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

FW: Dialog closing prematurely with response code of 0

2007-03-21 Thread 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

Re: Dialog closing prematurely with response code of 0

2007-03-22 Thread Yeti
On Thu, Mar 22, 2007 at 08:53:34AM -0400, Kevin Lambert wrote: > Evidentally nothing, I don't know how many people have a GtkWindow kicking > off a GtkDialog which then kicks off another GtkDialog... I have. Moreover, the attached code demonstrated arbitrary deep nesting of modal dialogs that wor

RE: Dialog closing prematurely with response code of 0

2007-03-22 Thread Kevin Lambert
se code of 0 (which is invalid as far as the documenation is concerned). Kevin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Neèas (Yeti) Sent: Thursday, March 22, 2007 9:09 AM To: gtk-app-devel-list@gnome.org Subject: Re: Dialog closing premat

Re: Dialog closing prematurely with response code of 0

2007-03-22 Thread Yeti
On Thu, Mar 22, 2007 at 09:20:47AM -0400, Kevin Lambert wrote: > > I have a button in DispenserLoadDialog that launches DispenserLoadingDialog > without emitting a return value for DispenserLoadDialog. The response value > from DispenserLoadingDialog is only supposed to be caught by the buttons >

RE: Dialog closing prematurely with response code of 0

2007-03-23 Thread Kevin Lambert
I wasn't planning on reporting it into bugzilla until I knew whether it was something that was easily reproducable. The system I am working in has a large amount of support code that doesn't make it easy to just have someone else compile without the full environment. The "solution" (more like a h

RE: Dialog closing prematurely with response code of 0

2007-04-05 Thread Kevin Lambert
avid Neèas (Yeti) Sent: Thursday, March 22, 2007 7:12 PM To: gtk-app-devel-list@gnome.org Subject: Re: Dialog closing prematurely with response code of 0 On Thu, Mar 22, 2007 at 09:20:47AM -0400, Kevin Lambert wrote: > > I have a button in DispenserLoadDialog that launches > DispenserLo

Re: FW: Dialog closing prematurely with response code of 0

2007-03-21 Thread Yeti
On Wed, Mar 21, 2007 at 04:42:39PM -0400, Kevin Lambert wrote: > 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. Post some code. Evidently it works for everyone

RE: FW: Dialog closing prematurely with response code of 0

2007-03-22 Thread Kevin Lambert
EMAIL PROTECTED] On Behalf Of David Neèas (Yeti) Sent: Wednesday, March 21, 2007 5:46 PM To: gtk-app-devel-list@gnome.org Subject: Re: FW: Dialog closing prematurely with response code of 0 On Wed, Mar 21, 2007 at 04:42:39PM -0400, Kevin Lambert wrote: > Does anybody have any ideas about this? It lo