Update of /cvsroot/freevo/freevo/WIP/Ruelle In directory sc8-pr-cvs1:/tmp/cvs-serv24804
Modified Files: command.py Log Message: osd stop now almost works. still need waitpid tuple help Index: command.py =================================================================== RCS file: /cvsroot/freevo/freevo/WIP/Ruelle/command.py,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** command.py 7 Dec 2003 16:09:21 -0000 1.1 --- command.py 9 Dec 2003 13:28:59 -0000 1.2 *************** *** 15,20 **** # ----------------------------------------------------------------------- # $Log$ ! # Revision 1.1 2003/12/07 16:09:21 mikeruelle ! # use chidapp for running programs. allow fxd files for things like firebird instead of its own plugin. need implement stop osd. need to be able to get waitpid tuple from childapp. # # Revision 1.3 2003/11/30 14:35:43 dischi --- 15,20 ---- # ----------------------------------------------------------------------- # $Log$ ! # Revision 1.2 2003/12/09 13:28:59 mikeruelle ! # osd stop now almost works. still need waitpid tuple help # # Revision 1.3 2003/11/30 14:35:43 dischi *************** *** 88,91 **** --- 88,92 ---- import config, menu, rc, plugin, util import childapp + import osd from event import * from item import Item *************** *** 288,294 **** def flashpopup(self, arg=None, menuw=None): ! popup_string=_("Running Command...") ! pop = PopupBox(text=popup_string) ! pop.show() workapp = childapp.ChildApp(self.cmd, 'command', 1) --- 289,298 ---- def flashpopup(self, arg=None, menuw=None): ! if self.stoposd: ! osd.stop() ! else: ! popup_string=_("Running Command...") ! pop = PopupBox(text=popup_string) ! pop.show() workapp = childapp.ChildApp(self.cmd, 'command', 1) *************** *** 297,301 **** workapp.kill() ! pop.destroy() CommandOptions().show() --- 301,312 ---- workapp.kill() ! if self.stoposd: ! print "we tried to restart OSD" ! osd.restart() ! menuw.rebuild_page() ! menuw.refresh() ! time.sleep(0.5) ! else: ! pop.destroy() CommandOptions().show() ------------------------------------------------------- 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