/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-09-30 10:21:43 UTC
  • Revision ID: jelmer@samba.org-20060930102143-c0ef64d6ca860c21
Merge some files from Olive and bzr-gtk.

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()