--- src/gui-wizard-gtk/wizard.c | 6 ++++-- src/gui-wizard-gtk/wizard.glade | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/src/gui-wizard-gtk/wizard.c b/src/gui-wizard-gtk/wizard.c index 9f1be9f..54202e9 100644 --- a/src/gui-wizard-gtk/wizard.c +++ b/src/gui-wizard-gtk/wizard.c @@ -162,8 +162,8 @@ enum { * instead of strcmp. */ static const gchar PAGE_SUMMARY[] = "page_0"; -static const gchar PAGE_EVENT_SELECTOR[] = "page_2"; -static const gchar PAGE_EDIT_COMMENT[] = "page_1"; +static const gchar PAGE_EVENT_SELECTOR[] = "page_1"; +static const gchar PAGE_EDIT_COMMENT[] = "page_2"; static const gchar PAGE_EDIT_ELEMENTS[] = "page_3"; static const gchar PAGE_REVIEW_DATA[] = "page_4"; static const gchar PAGE_EVENT_PROGRESS[] = "page_5"; @@ -1099,7 +1099,9 @@ static event_gui_data_t *add_event_buttons(GtkBox *box, event_name = event_name_end + 1;
gtk_box_pack_start(box, button, /*expand*/ false, /*fill*/ false, /*padding*/ 0); + gtk_widget_show_all(GTK_WIDGET(button)); } + gtk_widget_show_all(GTK_WIDGET(box));
return active_button; } diff --git a/src/gui-wizard-gtk/wizard.glade b/src/gui-wizard-gtk/wizard.glade index 53e215e..1ed1b6d 100644 --- a/src/gui-wizard-gtk/wizard.glade +++ b/src/gui-wizard-gtk/wizard.glade @@ -83,7 +83,7 @@ <object class="GtkWindow" id="window1"> <property name="can_focus">False</property> <child> - <object class="GtkVBox" id="page_1"> + <object class="GtkVBox" id="page_2"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="border_width">10</property> @@ -177,7 +177,7 @@ <object class="GtkWindow" id="window2"> <property name="can_focus">False</property> <child> - <object class="GtkVBox" id="page_2"> + <object class="GtkVBox" id="page_1"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="border_width">10</property>