On Sunday 02 May 2010 22:25:58 Christopher David Howie wrote:

> Try setting the dialog's TransientFor property to the main window. 
> This will prevent any interaction with the main window until the
> dialog is closed, and it should also transfer focus the dialog
> whenever the main window gets focused.

Thank you, indeed it works. However the new problem showed up -- with 
TransientFor I cannot close the dialog with [x] widget correctly. 
First click is ignored, and only the second click closes the dialog. 
IOW: I have to click twice on [x] to close the dialog.

Cheers,
_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to