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

Diff of /trunk/pygtk/interface/gtkbrowser.py

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

revision 284 by johnpye, Wed Feb 8 08:31:56 2006 UTC revision 285 by johnpye, Thu Feb 9 04:21:30 2006 UTC
# Line 547  class Browser: Line 547  class Browser:
547          _sp.run();          _sp.run();
548    
549      def on_diagnose_blocks_click(self,*args):      def on_diagnose_blocks_click(self,*args):
550          _db = DiagnoseWindow(GLADE_FILE,self)          try:
551                _bl = self.sim.getActiveBlock()
552            except RuntimeError, e:
553                self.reporter.reportError(str(e))
554                return
555            _db = DiagnoseWindow(GLADE_FILE,self,_bl)
556          _db.run();          _db.run();
557    
558      def on_add_observer_click(self,*args):      def on_add_observer_click(self,*args):

Legend:
Removed from v.284  
changed lines
  Added in v.285

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