summaryrefslogtreecommitdiffstats
path: root/gtk-gui.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2011-10-05 14:16:51 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2011-10-05 14:18:16 -0700
commit447c8f04e1045f2c1b4ce65e9d4022a3b6705cff (patch)
treeeb5472cf68ae56503977ed7eb8f0c29bb4ffa43a /gtk-gui.c
parent6231b64d3de47dde9420d35ea7e6d620a3a2b966 (diff)
downloadsubsurface-447c8f04e1045f2c1b4ce65e9d4022a3b6705cff.tar.gz
Mark the FileChooserButton as UNABLE to select multiple files
That's a gtk limitation. So you have to import XML files one at a time. If this is too big of a restriction then we need to redesign the import dialog. Sgned-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'gtk-gui.c')
-rw-r--r--gtk-gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk-gui.c b/gtk-gui.c
index 151f0fa17..44c6d4142 100644
--- a/gtk-gui.c
+++ b/gtk-gui.c
@@ -852,7 +852,7 @@ static GtkWidget *xml_file_selector(GtkWidget *vbox)
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT,
NULL);
- gtk_file_chooser_set_select_multiple(GTK_FILE_CHOOSER(dialog), TRUE);
+ gtk_file_chooser_set_select_multiple(GTK_FILE_CHOOSER(dialog), FALSE);
filter = gtk_file_filter_new();
gtk_file_filter_add_pattern(filter, "*.xml");