Index: ChangeLog
===================================================================
--- ChangeLog	(revisión: 590)
+++ ChangeLog	(copia de trabajo)
@@ -1,3 +1,8 @@
+2007-01-18  Federico Mena Quintero  <federico@novell.com>
+
+	* lib/sources/filessource.py (FilesSource.__handle_monitor_event):
+	Also notice creation/removal of directories.  Fixes bug #395505.
+
 2007-01-17  Federico Mena Quintero  <federico@novell.com>
 
 	* admin-tool/sessionwindow.py (SessionWindow.__do_save): The changes model
Index: lib/sources/filessource.py
===================================================================
--- lib/sources/filessource.py	(revisión: 589)
+++ lib/sources/filessource.py	(copia de trabajo)
@@ -82,7 +82,7 @@ class FilesSource (userprofile.ProfileSo
         self.monitor.set_files_to_ignore (FILES_TO_IGNORE)
 
     def __handle_monitor_event (self, path, event):
-        if event == dirmonitor.DELETED or os.path.isfile (path):
+        if event == dirmonitor.DELETED or os.path.isfile (path) or os.path.isdir (path):
             # FIXME: sanity check input (e.g. is change actually in homedir/?)
             rel_path = path[len (self.home_dir):].lstrip ("/")
             dprint ("Emitting event '%s' on file '%s'",
