[Xfce4-commits] [xfce/tumbler] 01/01: prepend $XDG_DATA_HOME/thumbnailers/ to thumbnailers directory (Bug #15858)

noreply at xfce.org noreply at xfce.org
Tue Aug 27 23:53:01 CEST 2019


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

a   l   e   x       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/tumbler.

commit d4e7075401b6ef60cf1f015a488cf4b573f9b8dd
Author: Yves-Alexis Perez <corsac at debian.org>
Date:   Tue Aug 20 17:20:09 2019 +0200

    prepend $XDG_DATA_HOME/thumbnailers/ to thumbnailers directory
    (Bug #15858)
---
 plugins/desktop-thumbnailer/desktop-thumbnailer-provider.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/plugins/desktop-thumbnailer/desktop-thumbnailer-provider.c b/plugins/desktop-thumbnailer/desktop-thumbnailer-provider.c
index 9340822..1054adc 100644
--- a/plugins/desktop-thumbnailer/desktop-thumbnailer-provider.c
+++ b/plugins/desktop-thumbnailer/desktop-thumbnailer-provider.c
@@ -236,6 +236,11 @@ desktop_thumbnailer_provider_get_thumbnailers (TumblerThumbnailerProvider *provi
 
   uri_schemes = tumbler_util_get_supported_uri_schemes ();
 
+  /* prepend $XDG_DATA_HOME/thumbnailers/ to the directory list */
+  dirname = g_build_filename (g_get_user_data_dir (), "thumbnailers", NULL);
+  directories = g_list_prepend (directories, g_file_new_for_path (dirname));
+  g_free (dirname);
+
   /* build $XDG_DATA_DIRS/thumbnailers dirnames and prepend them to the list */
   data_dirs = g_get_system_data_dirs ();
 

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


More information about the Xfce4-commits mailing list