* Also, the response is returned, either cancel or finish.
* Next and previous buttons are handled by the wizard dialog it self, by
* switching the page either forward or backward in the notebook.
+ *
+ * It is possible to determinate whether users can go to the next page
+ * by setting a #HildonWizardDialogPageFunc function with
+ * hildon_wizard_dialog_set_forward_page_func()
*/
#ifdef HAVE_CONFIG_H
const gchar *steps = gtk_notebook_get_tab_label_text (notebook,
gtk_notebook_get_nth_page (notebook, current));
- str = g_strdup_printf (_("%s: %s"), priv->wizard_name, steps);
+ if (steps) {
+ str = g_strdup_printf ("%s: %s", priv->wizard_name, steps);
+ } else {
+ str = g_strdup (priv->wizard_name);
+ }
}
/* Update the dialog to display the generated title */