Update of /cvsroot/freevo/freevo/WIP/Ruelle In directory sc8-pr-cvs1:/tmp/cvs-serv25578
Modified Files: command.py Log Message: use metacity to get a wm for apps. gets keyboard to work. Index: command.py =================================================================== RCS file: /cvsroot/freevo/freevo/WIP/Ruelle/command.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** command.py 9 Dec 2003 13:38:42 -0000 1.3 --- command.py 9 Dec 2003 16:20:29 -0000 1.4 *************** *** 15,20 **** # ----------------------------------------------------------------------- # $Log$ ! # Revision 1.3 2003/12/09 13:38:42 mikeruelle ! # osd stop works. no typing in apps tho. still need waitpid tuple help # # Revision 1.3 2003/11/30 14:35:43 dischi --- 15,20 ---- # ----------------------------------------------------------------------- # $Log$ ! # Revision 1.4 2003/12/09 16:20:29 mikeruelle ! # use metacity to get a wm for apps. gets keyboard to work. # # Revision 1.3 2003/11/30 14:35:43 dischi *************** *** 239,248 **** self.stoposd = 0 if command and directory: - print "using old style" self.name = command self.cmd = os.path.join(directory, command) self.image = util.getimage(self.cmd) elif xmlfile: - print "using new style" #create using xmlfile try: --- 239,246 ---- *************** *** 292,295 **** --- 290,294 ---- menuw.hide() osd.stop() + os.system("metacity &") else: popup_string=_("Running Command...") *************** *** 298,301 **** --- 297,301 ---- workapp = childapp.ChildApp(self.cmd, 'command', 1) + workapp.infile.close() while workapp.isAlive(): time.sleep(0.5) *************** *** 303,307 **** if self.stoposd: ! print "we tried to restart OSD" osd.restart() menuw.show() --- 303,307 ---- if self.stoposd: ! os.system("killall metacity") osd.restart() menuw.show() *************** *** 338,346 **** continue if os.path.splitext(command)[1] in ('.fxd', '.xml'): - print "trying xml" myxmlfile=os.path.join(config.COMMANDS_DIR, command) cmd_item = CommandItem(xmlfile=myxmlfile) else: - print "trying old stuff" cmd_item = CommandItem(command, config.COMMANDS_DIR) command_items += [ cmd_item ] --- 338,344 ---- ------------------------------------------------------- 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