* src/DataViews/_RelationView.py: add toolbar buttons, catch edit
button config value change * src/GrampsCfg.py: reorder options svn: r7588
This commit is contained in:
parent
c142fa04f9
commit
ee1a8c7309
@ -1,5 +1,7 @@
|
|||||||
2006-11-08 Don Allingham <don@gramps-project.org>
|
2006-11-08 Don Allingham <don@gramps-project.org>
|
||||||
* src/DataViews/_RelationView.py: add toolbar buttons
|
* src/DataViews/_RelationView.py: add toolbar buttons, catch edit
|
||||||
|
button config value change
|
||||||
|
* src/GrampsCfg.py: reorder options
|
||||||
* src/images/Makefile.am: install new svg files
|
* src/images/Makefile.am: install new svg files
|
||||||
* src/images/parents.svg: button for toolbar
|
* src/images/parents.svg: button for toolbar
|
||||||
* src/images/spouse.svg: button for toolbar
|
* src/images/spouse.svg: button for toolbar
|
||||||
|
@ -122,6 +122,8 @@ class RelationshipView(PageView.PersonNavView):
|
|||||||
self.child = None
|
self.child = None
|
||||||
Config.client.notify_add("/apps/gramps/preferences/relation-shade",
|
Config.client.notify_add("/apps/gramps/preferences/relation-shade",
|
||||||
self.shade_update)
|
self.shade_update)
|
||||||
|
Config.client.notify_add("/apps/gramps/interface/editbutton",
|
||||||
|
self.config_update)
|
||||||
|
|
||||||
def set_active(self):
|
def set_active(self):
|
||||||
PageView.PersonNavView.set_active(self)
|
PageView.PersonNavView.set_active(self)
|
||||||
@ -138,6 +140,9 @@ class RelationshipView(PageView.PersonNavView):
|
|||||||
self.uistate.modify_statusbar(self.dbstate)
|
self.uistate.modify_statusbar(self.dbstate)
|
||||||
self.redraw()
|
self.redraw()
|
||||||
|
|
||||||
|
def config_update(self, client, cnxn_id, entry, data):
|
||||||
|
self.redraw()
|
||||||
|
|
||||||
def build_tree(self):
|
def build_tree(self):
|
||||||
self.redraw()
|
self.redraw()
|
||||||
|
|
||||||
|
@ -494,16 +494,16 @@ class GrampsPreferences(ManagedWindow.ManagedWindow):
|
|||||||
|
|
||||||
self.add_checkbox(table, _('Automatically load last database'),
|
self.add_checkbox(table, _('Automatically load last database'),
|
||||||
0, Config.AUTOLOAD)
|
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, _('Use shading in Relationship View'),
|
|
||||||
4, Config.RELATION_SHADE)
|
|
||||||
self.add_checkbox(table, _('Enable database transactions'),
|
self.add_checkbox(table, _('Enable database transactions'),
|
||||||
5, Config.TRANSACTIONS)
|
1, Config.TRANSACTIONS)
|
||||||
|
self.add_checkbox(table, _('Add default source on import'),
|
||||||
|
2, Config.DEFAULT_SOURCE)
|
||||||
|
self.add_checkbox(table, _('Enable spelling checker'),
|
||||||
|
3, Config.SPELLCHECK)
|
||||||
|
self.add_checkbox(table, _('Display Tip of the Day'),
|
||||||
|
4, Config.USE_TIPS)
|
||||||
|
self.add_checkbox(table, _('Use shading in Relationship View'),
|
||||||
|
5, Config.RELATION_SHADE)
|
||||||
self.add_checkbox(table, _('Display edit buttons on Relationship View'),
|
self.add_checkbox(table, _('Display edit buttons on Relationship View'),
|
||||||
6, Config.RELEDITBTN)
|
6, Config.RELEDITBTN)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user