From: <ou...@us...> - 2002-06-25 05:15:00
|
Update of /cvsroot/freevo/freevo In directory usw-pr-cvs1:/tmp/cvs-serv26207 Modified Files: menu.py Log Message: Added (beginnings of) support for menu item icons in skins. Index: menu.py =================================================================== RCS file: /cvsroot/freevo/freevo/menu.py,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** menu.py 20 Jun 2002 04:25:44 -0000 1.11 --- menu.py 25 Jun 2002 05:14:57 -0000 1.12 *************** *** 47,55 **** class MenuItem: ! def __init__(self, name, action=None, arg=None): self.name = name self.action = action self.arg = arg ! def select(self): --- 47,55 ---- class MenuItem: ! def __init__(self, name, action=None, arg=None, icon=None): self.name = name self.action = action self.arg = arg ! self.icon = icon def select(self): |