/[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 785 by johnpye, Wed Jul 26 14:29:09 2006 UTC revision 786 by johnpye, Wed Jul 26 15:04:32 2006 UTC
# Line 389  class Browser: Line 389  class Browser:
389          self.solver_engine.set_submenu(self.solver_engine_menu)          self.solver_engine.set_submenu(self.solver_engine_menu)
390          self.solver_engine_menu_dict = {}          self.solver_engine_menu_dict = {}
391          _fmi = None          _fmi = None
         _qrslv = None  
392          for _s in _slvlist:          for _s in _slvlist:
393              _mi = gtk.RadioMenuItem(_fmi,_s.getName(),False)              _mi = gtk.RadioMenuItem(_fmi,_s.getName(),False)
394              if _fmi==None:              if _fmi==None:
# Line 399  class Browser: Line 398  class Browser:
398              self.solver_engine_menu.append(_mi)              self.solver_engine_menu.append(_mi)
399              self.solver_engine_menu_dict[_s.getName()]=_mi                self.solver_engine_menu_dict[_s.getName()]=_mi  
400                    
401          _mi = self.solver_engine_menu_dict.get('CMSlv')          _mi = self.solver_engine_menu_dict.get('QRSlv')
402          _mi.set_active(1)          _mi.set_active(1)
403    
404          #--------          #--------
# Line 654  class Browser: Line 653  class Browser:
653              self.reporter.reportError("No model selected yet")              self.reporter.reportError("No model selected yet")
654              return              return
655    
656          self.start_waiting("Solving...")          self.start_waiting("Solving with %s..." % self.solver.getName())
657    
658          if self.prefs.getBoolPref("SolverReporter","show_popup",True):          if self.prefs.getBoolPref("SolverReporter","show_popup",True):
659              reporter = PopupSolverReporter(self,self.sim.getNumVars())              reporter = PopupSolverReporter(self,self.sim.getNumVars())

Legend:
Removed from v.785  
changed lines
  Added in v.786

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