#include "ui/gui/psppire-var-sheet.h"
#include "ui/gui/psppire-var-store.h"
#include "ui/gui/psppire-scanf.h"
-#include "ui/syntax-gen.h"
#include "gl/error.h"
#include "gl/intprops.h"
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);
gtk_widget_set_sensitive (ia->first_line->variable_names_cb,
ia->skip_lines > 0);
}
+
+
+
+void
+first_line_append_syntax (const struct import_assistant *ia, struct string *s)
+{
+ if (ia->skip_lines > 0)
+ ds_put_format (s, " /FIRSTCASE=%d\n", ia->skip_lines + 1);
+}