[maemo-developers] [maemo-developers] hildon wizard dialog

From: Kalle Vahlman kalle.vahlman at gmail.com
Date: Thu Aug 17 10:39:46 EEST 2006
2006/8/16, Laszlo T. <tlacix at gmail.com>:
> Hello,
>  The next code doesn't cath the HILDON_WIZARD_DIALOG_PREVIOUS and
>  How can I fix?

By changing the code of the wizard dialog:

    /* Don't let the dialog close */
    g_signal_stop_emission_by_name(wizard_dialog, "response");

It deliberatly stops the signal emission, apparently to override
closing the dialog for the two buttons. You can still get notification
of the page change through the "switch-page" signal of your notebook,
should you need it for some reason.

>  gtk_widget_show_all( GTK_WIDGET(wizard) );                //and why
> show_all ???

Indeed, i would imagine dialogs to be run with gtk_dialog_run(). Any
reason not to?

Kalle Vahlman, zuh at iki.fi
Powered by http://movial.fi
Interesting stuff at http://syslog.movial.fi

More information about the maemo-developers mailing list