dialogs problems



Hello list.

I have a main window, when the user selects a menu, it opens a dialog
with gtk_widget_show with a list of items, then the user double click on
one of them and an edition dialog is opened, this time with gtk_dialog_run.
The the user edit some stuff and press the "save" button, some checks
are made and if there is an error y do again gtk_dialog_run of a dialog
asking "yes" or "no". The problem is that the response of this last
dialog is also passed to the previous and both of them are closed, the
idea is that when the "no" is clicked the user can continue editing prefs.
Also, when the editing is ok (no other dialog appears) when the program
returns from gtk_dialog_runs it hungs and starts eating the cpu, so i
have to kill it.
They may be two different things, i dont know.

Any idea?

Thanks!

Saludos, Juan.


        

        
                
___________________________________________________________ 1GB gratis, Antivirus y Antispam Correo Yahoo!, el mejor correo web del mundo http://correo.yahoo.com.ar



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]