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

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

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

revision 526 by johnpye, Fri Apr 21 07:38:32 2006 UTC revision 527 by johnpye, Fri Apr 21 15:20:17 2006 UTC
# Line 40  class Preferences: Line 40  class Preferences:
40              return None              return None
41          except ConfigParser.NoOptionError:          except ConfigParser.NoOptionError:
42              return None              return None
43          _p = re.compile('^\s*(\d+)[Xx](\d+)\+([-]\d+)\+([-]\d+)\s*$');          _p = re.compile('^\s*(\d+)[Xx](\d+)\+(-?\d+)\+(-?\d+)\s*$');
44    
45          _m = _p.match(_g)          _m = _p.match(_g)
46          #print "MATCH: ",_m.groups()          #print "MATCH: ",_m.groups()
47          if not _m:          if not _m:
48              return []              return None
49          return [int(i) for i in _m.groups()]          return [int(i) for i in _m.groups()]
50    
51      def setGeometrySizePosition(self,displayname,key,width,height,top,left):      def setGeometrySizePosition(self,displayname,key,width,height,top,left):

Legend:
Removed from v.526  
changed lines
  Added in v.527

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