psppire-var-view.c: Allow multiple selections
authorJohn Darrington <john@darrington.wattle.id.au>
Sun, 16 Feb 2014 10:11:45 +0000 (11:11 +0100)
committerJohn Darrington <john@darrington.wattle.id.au>
Wed, 19 Feb 2014 17:17:46 +0000 (18:17 +0100)
src/ui/gui/psppire-var-view.c

index 47c845cba2c1e496a51ec4005de66876e4c75a1a..f8625d5bd749ec2df021c924d0891793b6e28b69 100644 (file)
@@ -289,7 +289,10 @@ psppire_var_view_base_finalize (PsppireVarViewClass *class,
 static void
 psppire_var_view_init (PsppireVarView *vv)
 {
+  GtkTreeSelection* selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (vv));
   vv->cols = 0;
+
+  gtk_tree_selection_set_mode (selection, GTK_SELECTION_MULTIPLE);
 }