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

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

commit 726b34c0b37e778a4983866602cc20cfa4172b99
Author: Eric Koegel <>
Date:   Mon Jun 13 15:08:11 2016 +0300

    Settings: Allow directories to be selected (Bug #12832)
    Gtk 2.24.31 imported some Gtk3 code that breaks directory
    selection when using a file filter while in directory mode.
    We need to add directories to the filter for the
    GtkFileChooser, otherwise you can't select directories
    while in directory mode...
    Cherry-picked from:
 settings/main.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/settings/main.c b/settings/main.c
index 2b17617..d44c6ef 100644
--- a/settings/main.c
+++ b/settings/main.c
@@ -1857,6 +1857,9 @@ xfdesktop_settings_dialog_setup_tabs(GtkBuilder 
     filter = gtk_file_filter_new();
     gtk_file_filter_set_name(filter, _("Image files"));
+    gtk_file_filter_add_mime_type(filter, "inode/directory");
+    gtk_file_filter_add_mime_type(filter, "application/x-directory");
+    gtk_file_filter_add_mime_type(filter, "text/directory");
     gtk_file_chooser_add_filter(GTK_FILE_CHOOSER(panel->btn_folder), filter);
     /* Change the title of the file chooser dialog */

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

Reply via email to