Re: GNOME CVS: bonobo dietmar

Federico Mena Quintero wrote:

> What is wrong with closing the dialog with gnome_dialog_close() and
> then possibly emitting your own "ok" signal?

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.

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