Commit feb1f8de authored by Benjamin Otte's avatar Benjamin Otte

filechooser: Use SELECTION_SINGLE

We want to allow people to unselect the item.
parent e7e86ba5
......@@ -5196,7 +5196,7 @@ set_select_multiple (GtkFileChooserDefault *impl,
if (select_multiple == impl->select_multiple)
return;
mode = select_multiple ? GTK_SELECTION_MULTIPLE : GTK_SELECTION_BROWSE;
mode = select_multiple ? GTK_SELECTION_MULTIPLE : GTK_SELECTION_SINGLE;
selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (impl->browse_files_tree_view));
gtk_tree_selection_set_mode (selection, mode);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment