From: John Darrington Date: Sun, 16 Feb 2014 10:11:45 +0000 (+0100) Subject: psppire-var-view.c: Allow multiple selections X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=004d2b8ac3e73718f59117eab0d2b77d8ecb5b98;p=pspp psppire-var-view.c: Allow multiple selections --- diff --git a/src/ui/gui/psppire-var-view.c b/src/ui/gui/psppire-var-view.c index 47c845cba2..f8625d5bd7 100644 --- a/src/ui/gui/psppire-var-view.c +++ b/src/ui/gui/psppire-var-view.c @@ -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); }