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

Diff of /trunk/pygtk/properties.py

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

revision 1703 by jpye, Tue Mar 27 13:17:54 2007 UTC revision 1704 by jpye, Sun Jan 6 04:54:18 2008 UTC
# Line 103  class VarPropsWin: Line 103  class VarPropsWin:
103          # all the values here use the same preferred units for this instance type          # all the values here use the same preferred units for this instance type
104    
105          _u = self.instance.getType().getPreferredUnits();          _u = self.instance.getType().getPreferredUnits();
106          if _u == None:          if _u is None:
107              _conversion = 1              _conversion = 1
108              _u = self.instance.getDimensions().getDefaultUnits().getName().toString()              _u = self.instance.getDimensions().getDefaultUnits().getName().toString()
109          else:          else:

Legend:
Removed from v.1703  
changed lines
  Added in v.1704

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