[Xfce4-commits] [xfce/xfdesktop] 01/01: Update thumbnail when file changes (Bug #14919)
noreply at xfce.org
noreply at xfce.org
Wed Dec 25 22:11:29 CET 2019
This is an automated email from the git hooks/post-receive script.
a n d r e 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/xfdesktop.
commit d47db7b803063a9ae96d4ac4c608909899b6431e
Author: Andre Miranda <andreldm at xfce.org>
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.
More information about the Xfce4-commits
mailing list