]> saetta.ns0.it Git - solipa/libsolipa/commitdiff
In chiamate successive di SolipaUtils::gtktreemodel_to_csv_gui
authorAndrea Zagli <azagli@libero.it>
Sat, 24 Dec 2011 15:20:57 +0000 (16:20 +0100)
committerAndrea Zagli <azagli@libero.it>
Sat, 24 Dec 2011 15:20:57 +0000 (16:20 +0100)
veniva persa l'associazione GtkTreeView - GtkListStore.
Correzione.

src/utils.c

index 5b62d8616e6b64b8d2997691550e1c3b805dd95b..2ff6fea5504634efdcaa54149b8673b6e682904a 100644 (file)
@@ -399,6 +399,9 @@ solipa_gtktreemodel_to_csv_gui (Solipa *solipa,
                                                            -1);
                                }
 
+                       gtk_tree_view_set_model (GTK_TREE_VIEW (gtk_builder_get_object (builder, "treeview1")),
+                                                GTK_TREE_MODEL (store));
+
                        gtk_window_set_transient_for (GTK_WINDOW (diag), parent);
                        do
                                {