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

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

commit d47db7b803063a9ae96d4ac4c608909899b6431e
Author: Andre Miranda <[email protected]>
Date:   Wed Dec 25 17:59:09 2019 -0300

    Update thumbnail when file changes (Bug #14919)
    
    This is useful when a file is created via XDirectSave or is edited.
---
 src/xfdesktop-file-icon-manager.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/xfdesktop-file-icon-manager.c 
b/src/xfdesktop-file-icon-manager.c
index 1b0008d..8a00359 100644
--- a/src/xfdesktop-file-icon-manager.c
+++ b/src/xfdesktop-file-icon-manager.c
@@ -2752,6 +2752,9 @@ xfdesktop_file_icon_manager_file_changed(GFileMonitor     
*monitor,
                     /* update the icon if the file still exists */
                     xfdesktop_file_icon_update_file_info(icon, file_info);
                     g_object_unref(file_info);
+
+                    /* update thumbnail */
+                    xfdesktop_file_icon_manager_queue_thumbnail (fmanager, 
icon);
                 } else {
                     /* Remove the icon as it doesn't seem to exist */
                     xfdesktop_file_icon_manager_remove_icon(fmanager, icon);

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

Reply via email to