From: Kevin A. <ka...@us...> - 2004-09-04 22:47:33
|
Update of /cvsroot/pythoncard/PythonCard/samples/pysshed In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6858/samples/pysshed Modified Files: pysshed.py Log Message: converted import * Index: pysshed.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/pysshed/pysshed.py,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** pysshed.py 16 Aug 2004 21:45:00 -0000 1.12 --- pysshed.py 4 Sep 2004 22:47:22 -0000 1.13 *************** *** 38,42 **** from PythonCard import model import ConfigParser ! from customDialogs import * # pwd only exists on *NIX --- 38,42 ---- from PythonCard import model import ConfigParser ! import customDialogs # pwd only exists on *NIX *************** *** 61,65 **** txt += 'in "%s". Click OK to begin configuring PySSHed.' % CONFIG_FILE ! bull = dialog.alertDialog(self, wrap_string(txt, 70), title) self.cfg.add_section('Defaults') --- 61,65 ---- txt += 'in "%s". Click OK to begin configuring PySSHed.' % CONFIG_FILE ! bull = dialog.alertDialog(self, customDialogs.wrap_string(txt, 70), title) self.cfg.add_section('Defaults') *************** *** 76,80 **** self.cfg.set('Defaults', 'command', '"C:\\Program files\\putty\\putty.exe"') ! dlg = prefsDialog(self, 'Defaults') if dlg.ShowModal() == wx.ID_OK: fd = open(CONFIG_FILE, 'w') --- 76,80 ---- self.cfg.set('Defaults', 'command', '"C:\\Program files\\putty\\putty.exe"') ! dlg = customDialogs.prefsDialog(self, 'Defaults') if dlg.ShowModal() == wx.ID_OK: fd = open(CONFIG_FILE, 'w') *************** *** 121,125 **** self.cfg.set('NewSession', 'identityfile', self.cfg.get('Defaults', 'identityfile')) self.cfg.set('NewSession', 'command', self.cfg.get('Defaults', 'command')) ! dlg = prefsDialog(self, 'NewSession') if dlg.ShowModal() == wx.ID_OK: bull = self.cfg.remove_section('NewSession') --- 121,125 ---- self.cfg.set('NewSession', 'identityfile', self.cfg.get('Defaults', 'identityfile')) self.cfg.set('NewSession', 'command', self.cfg.get('Defaults', 'command')) ! dlg = customDialogs.prefsDialog(self, 'NewSession') if dlg.ShowModal() == wx.ID_OK: bull = self.cfg.remove_section('NewSession') *************** *** 141,145 **** section = self.components.sessionList.stringSelection if section != '': ! dlg = prefsDialog(self, self.components.sessionList.stringSelection) if dlg.ShowModal() == wx.ID_OK: fd = open(CONFIG_FILE, 'w') --- 141,145 ---- section = self.components.sessionList.stringSelection if section != '': ! dlg = customDialogs.prefsDialog(self, self.components.sessionList.stringSelection) if dlg.ShowModal() == wx.ID_OK: fd = open(CONFIG_FILE, 'w') *************** *** 163,167 **** def on_helpAbout_command(self, event): ! dlg = HTMLHelp(self) dlg.showModal() dlg.destroy() --- 163,167 ---- def on_helpAbout_command(self, event): ! dlg = customDialogs.HTMLHelp(self) dlg.showModal() dlg.destroy() |