[Xfce4-commits] <xfdesktop:master> No need to remove the thumbnail if we're removing the icon

Eric Koegel noreply at xfce.org
Sun Sep 22 18:40:01 CEST 2013


Updating branch refs/heads/master
         to f194d51815fba14b6ed01696cebf9d20ad4bf72f (commit)
       from c59a41c48a75d9567fa3dc0d34a4fcc1381da4db (commit)

commit f194d51815fba14b6ed01696cebf9d20ad4bf72f
Author: Eric Koegel <eric.koegel at gmail.com>
Date:   Sun Sep 22 19:38:39 2013 +0300

    No need to remove the thumbnail if we're removing the icon

 src/xfdesktop-file-icon-manager.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/xfdesktop-file-icon-manager.c b/src/xfdesktop-file-icon-manager.c
index c546055..f4ae3e6 100644
--- a/src/xfdesktop-file-icon-manager.c
+++ b/src/xfdesktop-file-icon-manager.c
@@ -2407,8 +2407,7 @@ xfdesktop_file_icon_manager_file_changed(GFileMonitor     *monitor,
                  * space on the user's disk.
                  */
                 xfdesktop_thumbnailer_delete_thumbnail(fmanager->priv->thumbnailer,
-                                                       g_file_get_path(file));
-                xfdesktop_icon_delete_thumbnail(XFDESKTOP_ICON(icon));
+                                                       filename);
 
                 xfdesktop_icon_view_remove_item(fmanager->priv->icon_view,
                                                 XFDESKTOP_ICON(icon));


More information about the Xfce4-commits mailing list