Re: GNOME CVS: bonobo dietmar



Federico Mena Quintero wrote:

> >  It the way gnome_bonobo_select_goad_id is written:
> >
> >   n = gnome_dialog_run (GNOME_DIALOG(sel));
> >   if (n == -1)
> >    return NULL;
> >   if (n == 0)
> >    name = gtk_object_get_user_data (GTK_OBJECT (sel));
> >
> >  It uses the return value from gnome_dialog_run, which is always -1 when you do not press
> >  one of the buttons.
>
> Ugh.  OK, so GnomeDialog does need a function to simulate a button
> click.  Can you please write a gnome_dialog_clicked() function and use
> it in your source for now so that we can later include it in
> gnome-libs?

done



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