summaryrefslogtreecommitdiff
path: root/panels
diff options
context:
space:
mode:
authorgrumpey <grumpey0@gmail.com>2022-06-18 07:29:13 -0400
committerRobert Ancell <robert.ancell@gmail.com>2022-06-20 23:25:44 +0000
commit3ca850b257f9f21b3b7328dcdc1ad92a7bcc9f12 (patch)
treeb1a598294dc499f9d28b73ebff29583184069c09 /panels
parent96e0db8ba01e49d05e03baf5bb063b629c856023 (diff)
downloadgnome-control-center-3ca850b257f9f21b3b7328dcdc1ad92a7bcc9f12.tar.gz
Add support for multiple file selection
fix formatting
Diffstat (limited to 'panels')
-rw-r--r--panels/background/cc-background-chooser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/panels/background/cc-background-chooser.c b/panels/background/cc-background-chooser.c
index 11b53088b..8d24e4535 100644
--- a/panels/background/cc-background-chooser.c
+++ b/panels/background/cc-background-chooser.c
@@ -320,6 +320,7 @@ cc_background_chooser_select_file (CcBackgroundChooser *self)
filter = gtk_file_filter_new ();
gtk_file_filter_add_pixbuf_formats (filter);
gtk_file_chooser_set_filter (GTK_FILE_CHOOSER (filechooser), filter);
+ gtk_file_chooser_set_select_multiple (GTK_FILE_CHOOSER (filechooser), TRUE);
pictures_folder = g_file_new_for_path (g_get_user_special_dir (G_USER_DIRECTORY_PICTURES));
gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (filechooser),