/b-gtk/fix-viz

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

  • Committer: Vincent Ladeuil
  • Date: 2009-05-07 11:48:03 UTC
  • Revision ID: v.ladeuil+lp@free.fr-20090507114803-sxykmkuzrkdj2pr3
Fix bug #373157 by properly setting the default values.

* tests/test_annotate_config.py:
(TestConfig.test_create_initial_config): Urgh, remove pdb breakpoint.

* annotate/config.py:
(gannotate_configspec): Deleted, can't be used for default values
and not used for validation: useless.
(gannotate_config_filename): Turned into a function so that tests
get proper isolated result (evaluating the path at load time
forbids the test framework overriding).
(GAnnotateConfig.__init__): Add default values *only* if the
'window' section doesn't exist. Assigning them unconditionally
defeats the config file purpose... Also delete the 'spans' section
since nobody use it.
(GAnnotateConfig.apply): Coerce config values when we use them.
(Gannotateconfig._save_custom_spans): Deleted (dead code).
Filename Latest Rev Last Changed Committer Comment Size
..
ca.po 451 17 years ago Szilveszter Farkas (Phanatic) Translations imported from Rosetta. 29.2 KB Diff Download File
cs.po 451 17 years ago Szilveszter Farkas (Phanatic) Translations imported from Rosetta. 22.1 KB Diff Download File
de.po 451 17 years ago Szilveszter Farkas (Phanatic) Translations imported from Rosetta. 29.7 KB Diff Download File
en_GB.po 451 17 years ago Szilveszter Farkas (Phanatic) Translations imported from Rosetta. 27.6 KB Diff Download File
es.po 451 17 years ago Szilveszter Farkas (Phanatic) Translations imported from Rosetta. 28.5 KB Diff Download File
fr.po 451 17 years ago Szilveszter Farkas (Phanatic) Translations imported from Rosetta. 30 KB Diff Download File
hu.po 451 17 years ago Szilveszter Farkas (Phanatic) Translations imported from Rosetta. 20.7 KB Diff Download File
id.po 451 17 years ago Szilveszter Farkas (Phanatic) Translations imported from Rosetta. 21.8 KB Diff Download File
it.po 451 17 years ago Szilveszter Farkas (Phanatic) Translations imported from Rosetta. 24.8 KB Diff Download File
ku.po 451 17 years ago Szilveszter Farkas (Phanatic) Translations imported from Rosetta. 20.7 KB Diff Download File
olive-gtk.pot 475.1.2 17 years ago Vincent Ladeuil Fix bug #187283 fix replacing _() by _i18n(). * g 32.9 KB Diff Download File
pl.po 451 17 years ago Szilveszter Farkas (Phanatic) Translations imported from Rosetta. 20.7 KB Diff Download File
pt_BR.po 451 17 years ago Szilveszter Farkas (Phanatic) Translations imported from Rosetta. 26.2 KB Diff Download File
ru.po 451 17 years ago Szilveszter Farkas (Phanatic) Translations imported from Rosetta. 25.6 KB Diff Download File
sr.po 451 17 years ago Szilveszter Farkas (Phanatic) Translations imported from Rosetta. 20.5 KB Diff Download File
sv.po 451 17 years ago Szilveszter Farkas (Phanatic) Translations imported from Rosetta. 22.8 KB Diff Download File