Author: kelnos Date: 2006-07-15 02:11:40 +0000 (Sat, 15 Jul 2006) New Revision: 22452
Modified: xfdesktop/trunk/src/xfdesktop-file-icon-manager.c Log: make sure we don't show a folder for the desktop folder if the folder itself is modified (bug 1916) Modified: xfdesktop/trunk/src/xfdesktop-file-icon-manager.c =================================================================== --- xfdesktop/trunk/src/xfdesktop-file-icon-manager.c 2006-07-14 22:15:30 UTC (rev 22451) +++ xfdesktop/trunk/src/xfdesktop-file-icon-manager.c 2006-07-15 02:11:40 UTC (rev 22452) @@ -2779,6 +2779,10 @@ 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 _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits