problems with gnome-dialog



Hi!

  I don't know if this is the right list but maybe someone can help me.
  I'm currently writing a gnome-application. I connected a callback to a
  button using gtk_signal_connect. In the callback I open a dialog that
  was created using gnome_message_box. I run it using
  gnome_dialog_run_and_close. The problem is if I click on a button and
  the dialog is closed it shows up again if I click anywhere inside the
  applications main window. What am I doing wrong?

  The code looks like:

    dialog = gnome_message_box_new(_("blabla"),
    GNOME_MESSAGE_BOX_WARNING, GNOME_STOCK_BUTTON_YES, NULL);

    gnome_dialog_run_and_close(GNOME_DIALOG(dialog));

Thx in advance
  jochen




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