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

noreply at xfce.org noreply at xfce.org
Tue Mar 24 17:42:28 CET 2015


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

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

commit 8478c3ddc19185bd605708c4ab864475b84c3282
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