Aubin Paul wrote:
> Dischi,
>
> I was planning on making a small plugin to show the rom drive status
> in the idlebar (just an icon for movies/music/audio cd/dvd) but I
> can't figure out how a plugin would be "aware" of the rom drives
> content... is there a global variable or something?

'for media in config.REMOVABLE_MEDIA:' and media is class
RemovableMedia with an attribute info which is the item in the main
menu. See src/plugins/rom_drives.py for more details. There is a class
rom_items which is the main menu plugin.


HTH


Dischi


-- 
Hello, you've reached the psychiatric hotline. If you are
obsessive/compulsive, press 1 repeatedly. If you have multiple
personalities, press 2, 3, 4, and 5. If you are simply paranoid, just
stay on the line - we know who you are.


-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to