diff options
Diffstat (limited to 'src/xfdesktop-file-icon-manager.c')
-rw-r--r-- | src/xfdesktop-file-icon-manager.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xfdesktop-file-icon-manager.c b/src/xfdesktop-file-icon-manager.c index 7c25cfaf..33c71191 100644 --- a/src/xfdesktop-file-icon-manager.c +++ b/src/xfdesktop-file-icon-manager.c @@ -2779,6 +2779,10 @@ xfdesktop_file_icon_manager_vfs_monitor_cb(ThunarVfsMonitor *monitor, case THUNAR_VFS_MONITOR_EVENT_CREATED: DBG("got created event"); + /* make sure it's not the desktop folder itself */ + if(thunar_vfs_path_equal(fmanager->priv->folder, event_path)) + return; + /* first make sure we don't already have an icon for this path. * this seems to be necessary as thunar-vfs does not emit a * DELETED signal if a file is overwritten with another file of |