/[ascend]/trunk/pygtk/solverparameters.py
ViewVC logotype

Diff of /trunk/pygtk/solverparameters.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1132 by johnpye, Tue Oct 24 13:34:13 2006 UTC revision 1133 by johnpye, Sun Jan 14 11:51:48 2007 UTC
# Line 16  class SolverParametersWindow: Line 16  class SolverParametersWindow:
16          self.browser = browser          self.browser = browser
17          self.reporter = self.browser.reporter          self.reporter = self.browser.reporter
18          self.sim = self.browser.sim          self.sim = self.browser.sim
19          self.params = self.sim.getSolverParameters();                self.params = self.sim.getParameters();    
20    
21          _xml = gtk.glade.XML(browser.glade_file,"paramswin")          _xml = gtk.glade.XML(browser.glade_file,"paramswin")
22          self.window = _xml.get_widget("paramswin")          self.window = _xml.get_widget("paramswin")
# Line 250  class SolverParametersWindow: Line 250  class SolverParametersWindow:
250            
251      def on_paramswin_response(self,response,*args):      def on_paramswin_response(self,response,*args):
252          if response == gtk.RESPONSE_OK:          if response == gtk.RESPONSE_OK:
253              self.sim.setSolverParameters(self.params);              self.sim.setParameters(self.params);
254          elif response == gtk.RESPONSE_CANCEL or response == gtk.RESPONSE_CLOSE:          elif response == gtk.RESPONSE_CANCEL or response == gtk.RESPONSE_CLOSE:
255              pass              pass
256                    

Legend:
Removed from v.1132  
changed lines
  Added in v.1133

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22