Update of /cvsroot/freevo/freevo/src In directory sc8-pr-cvs1:/tmp/cvs-serv15906
Modified Files: rc.py Log Message: load osd only when needed Index: rc.py =================================================================== RCS file: /cvsroot/freevo/freevo/src/rc.py,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** rc.py 11 Jul 2003 02:01:11 -0000 1.18 --- rc.py 12 Jul 2003 10:10:56 -0000 1.19 *************** *** 10,13 **** --- 10,16 ---- # ----------------------------------------------------------------------- # $Log$ + # Revision 1.19 2003/07/12 10:10:56 dischi + # load osd only when needed + # # Revision 1.18 2003/07/11 02:01:11 rshortt # Stop freevo from getting double events in some cases. *************** *** 91,96 **** import osd - osd = osd.get_singleton() - PYLIRC = 1 try: --- 94,97 ---- *************** *** 144,147 **** --- 145,149 ---- def __init__(self, port=config.REMOTE_CONTROL_PORT): self.pylirc = PYLIRC + self.osd = osd.get_singleton() if self.pylirc: try: *************** *** 207,211 **** return ret ! e = self.key_event_mapper(osd._cb()) if e: return e --- 209,213 ---- return ret ! e = self.key_event_mapper(self.osd._cb()) if e: return e *************** *** 216,220 **** for code in list: e = self.key_event_mapper(code) ! if not e: e = self.key_event_mapper(osd._cb) if e: return e --- 218,222 ---- for code in list: e = self.key_event_mapper(code) ! if not e: e = self.key_event_mapper(self.osd._cb) if e: return e ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog