Update of /cvsroot/freevo/freevo/src/plugins In directory sc8-pr-cvs1:/tmp/cvs-serv17845/plugins
Modified Files: base.py mediamenu.py Log Message: Partial support for "out" icons in main menu. The missing part is in listing_area, which have other changes to allow box_under_icon feature (I mailed the list asking for opinions on that) Index: base.py =================================================================== RCS file: /cvsroot/freevo/freevo/src/plugins/base.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** base.py 24 Apr 2003 19:56:34 -0000 1.3 --- base.py 24 Aug 2003 06:58:18 -0000 1.4 *************** *** 10,13 **** --- 10,19 ---- # ----------------------------------------------------------------------- # $Log$ + # Revision 1.4 2003/08/24 06:58:18 gsbarbieri + # Partial support for "out" icons in main menu. + # The missing part is in listing_area, which have other changes to + # allow box_under_icon feature (I mailed the list asking for opinions on + # that) + # # Revision 1.3 2003/04/24 19:56:34 dischi # comment cleanup for 1.3.2-pre4 *************** *** 96,104 **** item = ShutdownItem() ! item.name = menu_items['shutdown'].name if menu_items['shutdown'].icon: item.icon = os.path.join(skin.settings.icon_dir, menu_items['shutdown'].icon) if menu_items['shutdown'].image: item.image = menu_items['shutdown'].image item.parent = parent --- 102,114 ---- item = ShutdownItem() ! item.name = menu_items['shutdown'].name if menu_items['shutdown'].icon: item.icon = os.path.join(skin.settings.icon_dir, menu_items['shutdown'].icon) if menu_items['shutdown'].image: item.image = menu_items['shutdown'].image + if menu_items['shutdown'].outicon: + item.outicon = os.path.join(skin.settings.icon_dir, menu_items['shutdown'].outicon) + else: + item.outicon = None item.parent = parent Index: mediamenu.py =================================================================== RCS file: /cvsroot/freevo/freevo/src/plugins/mediamenu.py,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** mediamenu.py 24 Aug 2003 05:20:15 -0000 1.16 --- mediamenu.py 24 Aug 2003 06:58:18 -0000 1.17 *************** *** 10,13 **** --- 10,19 ---- # ----------------------------------------------------------------------- # $Log$ + # Revision 1.17 2003/08/24 06:58:18 gsbarbieri + # Partial support for "out" icons in main menu. + # The missing part is in listing_area, which have other changes to + # allow box_under_icon feature (I mailed the list asking for opinions on + # that) + # # Revision 1.16 2003/08/24 05:20:15 gsbarbieri # Empty cdroms type is now 'empty_cdrom' instead of None *************** *** 94,103 **** icon = "" if menu_items[self.type].icon: icon = os.path.join(skin.settings.icon_dir, menu_items[self.type].icon) return ( menu_module.MenuItem(menu_items[self.type].name, icon=icon, action=MediaMenu().main_menu, arg=(self.type,self.force_text_view), type='main', ! image=menu_items[self.type].image, parent=parent), ) --- 100,114 ---- icon = "" + outicon = "" if menu_items[self.type].icon: icon = os.path.join(skin.settings.icon_dir, menu_items[self.type].icon) + if menu_items[self.type].outicon: + outicon = os.path.join(skin.settings.icon_dir, menu_items[self.type].outicon) + return ( menu_module.MenuItem(menu_items[self.type].name, icon=icon, action=MediaMenu().main_menu, arg=(self.type,self.force_text_view), type='main', ! image=menu_items[self.type].image, parent=parent, ! outicon=outicon), ) ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 _______________________________________________ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog