/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: Aaron Bentley
  • Date: 2006-06-15 03:01:40 UTC
  • mto: This revision was merged to the branch mainline in revision 60.
  • Revision ID: aaron.bentley@utoronto.ca-20060615030140-8ed89f08505ef311
Fix gannotate now that configobj.validator is deleted

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
24
23
 
25
24
 
26
25
gannotate_configspec = (
55
54
        self.span_selector = window.span_selector
56
55
        
57
56
        self.initial_comment = ["gannotate plugin configuration"]
58
 
        self.validate(Validator())
 
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'] = []
59
65
 
60
66
        self.apply()
61
67
        self._connect_signals()