/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to annotate/config.py

  • Committer: Jelmer Vernooij
  • Date: 2006-05-19 16:56:46 UTC
  • mfrom: (0.1.25 gannotate)
  • Revision ID: jelmer@samba.org-20060519165646-0d867938fdbc9097
Merge in Dan Loda's gannotate plugin and put it in annotate/

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 
21
21
from bzrlib.config import config_dir
22
22
import bzrlib.util.configobj.configobj as configobj
 
23
from bzrlib.util.configobj.validate import Validator
23
24
 
24
25
 
25
26
gannotate_configspec = (
54
55
        self.span_selector = window.span_selector
55
56
        
56
57
        self.initial_comment = ["gannotate plugin configuration"]
57
 
        self['window']['width'] = 750
58
 
        self['window']['height'] = 550
59
 
        self['window']['maximized'] = False
60
 
        self['window']['x'] = 0
61
 
        self['window']['y'] = 0
62
 
        self['window']['pane_position'] = 325
63
 
        self['spans']['max_custom_spans'] = 4
64
 
        self['spans']['custom_spans'] = []
 
58
        self.validate(Validator())
65
59
 
66
60
        self.apply()
67
61
        self._connect_signals()