Gustavo Sverzut Barbieri wrote:And yet about idlebar... we should split it in various files... it's becoming messy.
Yes. Two ideas: every plugin in one file or first split the idlebar.py into idlebar.py and idlebar_system_monitor.py, containing all the cpu, temp whatever plugins. Maye we should do it _before_ 1.4 to have it cleaner. If you like, you can split it.
I would like to see idlebar split into files as well. If we did it as a dir it could look something like:
src/plugins/idlebar/ __init__.py (main idlebar code) monitor_system.py monitor_mail.py monitor_tv.py clock.py cdstatus.py
Or all as regular files it could be as Dischi said, all files with idlebar_ prefix. I do think that tha mail, tv(recording), and cdstatus, etc monitors should each have their own plugin file.
I like the monitor_ (or something else) prefix because it will avoid some namespace issues. For example there would be problems if we had idlebar/tv.py because if an idlebar plugin tried to import something from tv(.) it would fail because of the conflicting tv in this namespace.
Ok, now that I've thought about this a bit more while typing this email it would probably be easier / cleaner to have seperate files and not files & directories.
-Rob... just woke up. :)
------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel