[Xfce4-commits] [xfce/xfdesktop] 03/35: Add default wallpaper folder to file chooser (Bug #11715)

noreply at xfce.org noreply at xfce.org
Sun May 17 11:37:51 CEST 2015


This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch xfce-4.12
in repository xfce/xfdesktop.

commit ac4463cdba7f37ad1f6a2504906686c2aa5ff87e
Author: Thaddaeus Tintenfisch <thad.fisch at gmail.com>
Date:   Wed Mar 18 00:04:42 2015 +0100

    Add default wallpaper folder to file chooser (Bug #11715)
---
 settings/main.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/settings/main.c b/settings/main.c
index 1f106ba..7d6f0b4 100644
--- a/settings/main.c
+++ b/settings/main.c
@@ -1840,6 +1840,10 @@ xfdesktop_settings_dialog_setup_tabs(GtkBuilder *main_gxml,
     gtk_file_filter_add_pixbuf_formats(filter);
     gtk_file_chooser_add_filter(GTK_FILE_CHOOSER(panel->btn_folder), filter);
 
+    gtk_file_chooser_add_shortcut_folder_uri(GTK_FILE_CHOOSER(panel->btn_folder),
+                                             "file:///usr/share/backgrounds",
+                                             NULL);
+
     /* Image and color style options */
     panel->image_style_combo = GTK_WIDGET(gtk_builder_get_object(appearance_gxml, "combo_style"));
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list