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

Diff of /trunk/pygtk/gtkbrowser.py

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

revision 1139 by johnpye, Thu Jan 11 10:57:24 2007 UTC revision 1140 by johnpye, Mon Jan 15 04:08:08 2007 UTC
# Line 1067  class Browser: Line 1067  class Browser:
1067          if not self.sim:          if not self.sim:
1068              self.reporter.reportError("No simulation created yet!");                      self.reporter.reportError("No simulation created yet!");        
1069          self.sim.setSolver(self.solver)          self.sim.setSolver(self.solver)
1070          _paramswin = SolverParametersWindow(self)          _params = self.sim.getParameters()
1071          _paramswin.show()          _paramswin = SolverParametersWindow(
1072                browser=self
1073                ,params=_params
1074                ,name=self.solver.getName()
1075            )
1076            if _paramswin.run() == gtk.RESPONSE_OK:
1077                print "PARAMS UPDATED"
1078                self.sim.setParameters(_paramswin.params)
1079            else:
1080                print "PARAMS NOT UPDATED"
1081    
1082      def methodrun_click(self,*args):      def methodrun_click(self,*args):
1083          _sel = self.methodsel.get_active_text()          _sel = self.methodsel.get_active_text()

Legend:
Removed from v.1139  
changed lines
  Added in v.1140

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