}
+static void
+on_file_activated (GtkFileChooser *chooser, PsppireImportAssistant *ia)
+{
+ gtk_assistant_next_page (GTK_ASSISTANT (ia));
+}
static void
chooser_page_create (PsppireImportAssistant *ia)
GtkWidget *chooser = gtk_file_chooser_widget_new (GTK_FILE_CHOOSER_ACTION_OPEN);
+ g_signal_connect (chooser, "file-activated", G_CALLBACK (on_file_activated), ia);
+
g_object_set_data (G_OBJECT (chooser), "on-forward", chooser_page_leave);
g_object_set_data (G_OBJECT (chooser), "on-reset", chooser_page_reset);
g_object_set_data (G_OBJECT (chooser), "on-entering",chooser_page_enter);