2006-08-20 Alex Roitman <shura@gramps-project.org>

* src/Config/_GrampsConfigKeys.py: Regenerate file.
	* src/GrampsCfg.py (add_behavior_panel): Use new key.
	* data/gramps.schemas.in: Add default-source key.



svn: r7222
This commit is contained in:
Alex Roitman
2006-08-21 05:32:07 +00:00
parent 5c59929c66
commit cd50843624
5 changed files with 65 additions and 26 deletions

View File

@@ -480,11 +480,18 @@ class GrampsPreferences(ManagedWindow.ManagedWindow):
table.set_col_spacings(6)
table.set_row_spacings(6)
self.add_checkbox(table, _('Automatically load last database'), 0, Config.AUTOLOAD)
self.add_checkbox(table, _('Enable spelling checker'), 1, Config.SPELLCHECK)
self.add_checkbox(table, _('Display Tip of the Day'), 2, Config.USE_TIPS)
self.add_checkbox(table, _('Download maps online'), 3, Config.ONLINE_MAPS)
self.add_checkbox(table, _('Use shading in Relationship View'), 4, Config.RELATION_SHADE)
self.add_checkbox(table, _('Automatically load last database'),
0, Config.AUTOLOAD)
self.add_checkbox(table, _('Add default source on import'),
1, Config.DEFAULT_SOURCE)
self.add_checkbox(table, _('Enable spelling checker'),
2, Config.SPELLCHECK)
self.add_checkbox(table, _('Display Tip of the Day'),
3, Config.USE_TIPS)
self.add_checkbox(table, _('Download maps online'),
4, Config.ONLINE_MAPS)
self.add_checkbox(table, _('Use shading in Relationship View'),
5, Config.RELATION_SHADE)
return table