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

Diff of /trunk/pygtk/diagnose.py

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

revision 328 by johnpye, Fri Feb 24 06:05:10 2006 UTC revision 351 by johnpye, Fri Mar 3 04:45:19 2006 UTC
# Line 6  from operator import itemgetter Line 6  from operator import itemgetter
6  import math  import math
7  import re  import re
8    
9    import config
10    
11  ZOOM_RE = re.compile(r"([0-9]+)\s*%?")  ZOOM_RE = re.compile(r"([0-9]+)\s*%?")
12  MAX_ZOOM_SIZE = 2000  MAX_ZOOM_SIZE = 2000
13  MAX_ZOOM_RATIO = 16  MAX_ZOOM_RATIO = 16
14  AT_BOUND_TOL = 0.0001;  AT_BOUND_TOL = 0.0001;
15    
16  class DiagnoseWindow:  class DiagnoseWindow:
17      def __init__(self,GLADE_FILE,browser,block=0):      def __init__(self,browser,block=0):
18          self.browser=browser          self.browser=browser
19          _xml = gtk.glade.XML(GLADE_FILE,"diagnosewin")          _xml = gtk.glade.XML(config.GLADE_FILE,"diagnosewin")
20          _xml.signal_autoconnect(self)            _xml.signal_autoconnect(self)  
21    
22          self.window = _xml.get_widget("diagnosewin")          self.window = _xml.get_widget("diagnosewin")

Legend:
Removed from v.328  
changed lines
  Added in v.351

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