/[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 1701 by jpye, Sun Jan 6 03:42:21 2008 UTC revision 1711 by jpye, Mon Jan 7 00:06:46 2008 UTC
# Line 799  class Browser: Line 799  class Browser:
799          _sp.run()          _sp.run()
800    
801      def on_units_click(self,*args):      def on_units_click(self,*args):
802          model,iter = self.modelview.modelview.get_selection().get_selected()          T = self.modelview.get_selected_type()
803          typename = None          _un = UnitsDialog(self,T)
         if iter is not None:  
             typename = model.get_value(iter,1)  
             print "TYPENAME =",typename  
         _un = UnitsDialog(self,self.window,typename)  
804          _un.run()          _un.run()
805    
806      def on_tools_incidencegraph_click(self,*args):      def on_tools_incidencegraph_click(self,*args):

Legend:
Removed from v.1701  
changed lines
  Added in v.1711

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