Update of /cvsroot/freevo/freevo/src In directory sc8-pr-cvs1:/tmp/cvs-serv2493
Modified Files: menu.py Log Message: remove singleton(), menuw is passed to all objects Index: menu.py =================================================================== RCS file: /cvsroot/freevo/freevo/src/menu.py,v retrieving revision 1.66 retrieving revision 1.67 diff -C2 -d -r1.66 -r1.67 *** menu.py 12 Oct 2003 11:01:19 -0000 1.66 --- menu.py 29 Nov 2003 11:40:24 -0000 1.67 *************** *** 10,13 **** --- 10,16 ---- # ----------------------------------------------------------------------- # $Log$ + # Revision 1.67 2003/11/29 11:40:24 dischi + # remove singleton(), menuw is passed to all objects + # # Revision 1.66 2003/10/12 11:01:19 dischi # Don't show black screen between selecting and playing an audio file *************** *** 66,71 **** import plugin - from item import Item - # Various utilities import util --- 69,72 ---- *************** *** 74,96 **** import skin from event import * ! from gui.GUIObject import * ! from gui.AlertBox import AlertBox ! ! ! ! # Module variable that contains an initialized MenuWidget() object ! _singleton = None ! ! def get_singleton(): ! global _singleton ! ! # One-time init ! if _singleton == None: ! _singleton = MenuWidget() ! ! return _singleton --- 75,86 ---- import skin + # eventnames from event import * ! # Item ! from item import Item + # GUI objects + from gui import GUIObject, AlertBox ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog