[sound-juicer] Follow symbolic links to when extracting tracks



commit a07ff3ba9a029c69d314d499eb2126d2ec1ff07d
Author: Phillip Wood <phillip wood dunelm org uk>
Date:   Fri Jan 20 16:33:26 2017 +0000

    Follow symbolic links to when extracting tracks
    
    Commit 89f15750 - ‘Use GSettings instead of GConf’ added some checks to
    make sure the gsettings key for the music directory referred to a
    directory. The check does not follow symbolic links which was not the
    intention so change it to follow them.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=777465

 src/sj-main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/sj-main.c b/src/sj-main.c
index 5973720..a0801c7 100644
--- a/src/sj-main.c
+++ b/src/sj-main.c
@@ -706,7 +706,7 @@ static void baseuri_changed_cb (GSettings *settings, const gchar *key, gpointer
   } else {
     GFileType file_type;
     sj_base_uri = g_file_new_for_uri (value);
-    file_type = g_file_query_file_type (sj_base_uri, G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS, NULL);
+    file_type = g_file_query_file_type (sj_base_uri, G_FILE_QUERY_INFO_NONE, NULL);
     if (file_type != G_FILE_TYPE_DIRECTORY) {
       g_object_unref (sj_base_uri);
       sj_base_uri = sj_get_default_music_directory ();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]