After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 395505 - Adding/Removing directory does not work
Adding/Removing directory does not work
Status: RESOLVED FIXED
Product: sabayon
Classification: Deprecated
Component: general
SVN trunk
Other Linux
: Normal normal
: ---
Assigned To: Federico Mena Quintero
Maintainers of sabayon
Depends on:
Blocks:
 
 
Reported: 2007-01-11 18:38 UTC by Sayamindu Dasgupta
Modified: 2007-09-19 19:52 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
sabayon-395505-notice-directory-events.diff (1.20 KB, patch)
2007-01-18 18:25 UTC, Federico Mena Quintero
committed Details | Review

Description Sayamindu Dasgupta 2007-01-11 18:38:00 UTC
Adding removing directory in the profile editor window does not seem to work. It looks like the handler for filechanger ignores directories altogether 

if event == dirmonitor.DELETED or os.path.isfile (path): 

(line 85, lib/sources/filessource.py)
Comment 1 Federico Mena Quintero 2007-01-18 18:22:26 UTC
Ah, this is the same as https://bugzilla.novell.com/show_bug.cgi?id=177464.  I'll merge the patch in a second.
Comment 2 Federico Mena Quintero 2007-01-18 18:25:26 UTC
Created attachment 80621 [details] [review]
sabayon-395505-notice-directory-events.diff
Comment 3 Federico Mena Quintero 2007-01-18 18:27:52 UTC
Committed to trunk (revision 593)

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.