[gnome-control-center] Add support for multiple file selection
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] Add support for multiple file selection
- Date: Mon, 20 Jun 2022 23:35:31 +0000 (UTC)
commit 3ca850b257f9f21b3b7328dcdc1ad92a7bcc9f12
Author: grumpey <grumpey0 gmail com>
Date: Sat Jun 18 07:29:13 2022 -0400
Add support for multiple file selection
fix formatting
panels/background/cc-background-chooser.c | 1 +
1 file changed, 1 insertion(+)
---
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),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]