prepare_formats_page (ia);
}
}
+ else
+ {
+ if (pn == 0)
+ prepare_separators_page (ia);
+ else if (pn == 3)
+ prepare_formats_page (ia);
+ }
+
if (gtk_assistant_get_page_type (assistant, page)
== GTK_ASSISTANT_PAGE_CONFIRM)
-#if 0
- /* Prepare .... */
- if (page == ia->separators->page)
- prepare_separators_page (ia);
- else if (page == ia->formats->page)
- prepare_formats_page (ia);
-
+#if 0
gtk_widget_show (ia->asst.reset_button);
if (page == ia->formats->page)
gtk_widget_show (ia->asst.paste_button);
GtkBuilder *builder = ia->asst.builder;
-#if 0
p->page = add_page_to_assistant (ia, get_widget_assert (builder, "FirstLine"),
GTK_ASSISTANT_PAGE_CONTENT);
-#endif
+
gtk_widget_destroy (get_widget_assert (builder, "first-line"));
p->tree_view = create_lines_tree_view (
GTK_CONTAINER (get_widget_assert (builder, "first-line-scroller")), ia);
1, 2,
2, 3);
-#if 0
p->page = add_page_to_assistant (ia, get_widget_assert (builder, "Intro"),
GTK_ASSISTANT_PAGE_INTRO);
- g_print ("%s:%d Added page %p\n", __FILE__, __LINE__, p->page);
-#endif
-
p->all_cases_button = get_widget_assert (builder, "import-all-cases");
p->n_cases_button = get_widget_assert (builder, "import-n-cases");
struct separators_page *p = xzalloc (sizeof *p);
-#if 0
p->page = add_page_to_assistant (ia, get_widget_assert (builder, "Separators"),
GTK_ASSISTANT_PAGE_CONTENT);
-#endif
+
p->custom_cb = get_widget_assert (builder, "custom-cb");
p->custom_entry = get_widget_assert (builder, "custom-entry");
p->quote_combo = get_widget_assert (builder, "quote-combo");
ia->intro = intro_page_create (ia);
ia->separators = separators_page_create (ia);
ia->first_line = first_line_page_create (ia);
+
+ printf ("%s:%d %p\n", __FILE__, __LINE__, ia->intro);
}
ia->formats = formats_page_create (ia);