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

alex pushed a 
commit to branch 
master
in repository xfce/thunar.

commit e4d2d218a58601a6272262a3a604aaeecd6aa2cc
Author: Sergey Ponomarev <stok...@gmail.com>
Date:   Mon Sep 2 11:55:13 2019 +0300

    sendto plugin: fix content type resolution. (Bug #15916)
    
    Additionally request G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE for 
tse_data->info.
    This is needed later for g_file_info_get_content_type() call inside 
tse_file_is_archive()
    
    Signed-off-by: Sergey Ponomarev <stok...@gmail.com>
    Signed-off-by: Alexander Schwinn <alexxc...@xfce.org>
---
 plugins/thunar-sendto-email/main.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/plugins/thunar-sendto-email/main.c 
b/plugins/thunar-sendto-email/main.c
index a324470..0b1ba23 100644
--- a/plugins/thunar-sendto-email/main.c
+++ b/plugins/thunar-sendto-email/main.c
@@ -608,7 +608,8 @@ main (int argc, char **argv)
       info = g_file_query_info (file,
                                 G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME ","
                                 G_FILE_ATTRIBUTE_STANDARD_SIZE ","
-                                G_FILE_ATTRIBUTE_STANDARD_TYPE,
+                                G_FILE_ATTRIBUTE_STANDARD_TYPE ","
+                                G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE,
                                 G_FILE_QUERY_INFO_NONE, NULL, &error);
 
       /* check if we failed */

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to