* src/DataViews/RelationView.py: shorter toolbar strings, #1553

2008-01-17 Benny Malengier <benny.malengier@gramps-project.org>


svn: r9870
This commit is contained in:
Benny Malengier 2008-01-17 20:35:18 +00:00
parent eac853ccb7
commit 77110daade
2 changed files with 17 additions and 6 deletions

View File

@ -2,6 +2,9 @@
* src/ScratchPad.py: remove tooltip for events as it crashes. * src/ScratchPad.py: remove tooltip for events as it crashes.
* src/Utils.py: cleanup * src/Utils.py: cleanup
2008-01-17 Benny Malengier <benny.malengier@gramps-project.org>
* src/DataViews/RelationView.py: shorter toolbar strings, #1553
2008-01-17 Benny Malengier <benny.malengier@gramps-project.org> 2008-01-17 Benny Malengier <benny.malengier@gramps-project.org>
* src/plugins/WriteCD.py: check if gnome is the desktop, #1599 * src/plugins/WriteCD.py: check if gnome is the desktop, #1599

View File

@ -276,9 +276,9 @@ class RelationshipView(PageView.PersonNavView):
</menu> </menu>
<menu action="EditMenu"> <menu action="EditMenu">
<menuitem action="Edit"/> <menuitem action="Edit"/>
<menuitem action="AddParents"/> <menuitem action="AddParentsMenu"/>
<menuitem action="ShareFamily"/> <menuitem action="ShareFamilyMenu"/>
<menuitem action="AddSpouse"/> <menuitem action="AddSpouseMenu"/>
<menuitem action="ChangeOrder"/> <menuitem action="ChangeOrder"/>
<menuitem action="FilterEdit"/> <menuitem action="FilterEdit"/>
</menu> </menu>
@ -328,13 +328,21 @@ class RelationshipView(PageView.PersonNavView):
self.family_action.add_actions([ self.family_action.add_actions([
('Edit', gtk.STOCK_EDIT, _('Edit'), None , ('Edit', gtk.STOCK_EDIT, _('Edit'), None ,
_("Edit the active person"), self.edit_active), _("Edit the active person"), self.edit_active),
('AddSpouse', 'gramps-spouse', _('Add partner'), None , ('AddSpouse', 'gramps-spouse', _('Partner'), None ,
_("Add a new family with person as parent"), self.add_spouse), _("Add a new family with person as parent"), self.add_spouse),
('AddParents', 'gramps-parents-add', _('Add new parents'), None , ('AddSpouseMenu', 'gramps-spouse', _('Add partner'), None ,
_("Add a new family with person as parent"), self.add_spouse),
('AddParents', 'gramps-parents-add', _('Add'), None ,
_("Add a new set of parents"), self.add_parents), _("Add a new set of parents"), self.add_parents),
('ShareFamily', 'gramps-parents-open', _('Add existing parents'), ('AddParentsMenu', 'gramps-parents-add', _('Add new parents'),
None, _("Add a new set of parents"), self.add_parents),
('ShareFamily', 'gramps-parents-open', _('Share'),
None , _("Add person as child to an existing family"), None , _("Add person as child to an existing family"),
self.select_parents), self.select_parents),
('ShareFamilyMenu', 'gramps-parents-open',
_('Add existing parents'), None ,
_("Add person as child to an existing family"),
self.select_parents),
]) ])
self._add_action_group(self.order_action) self._add_action_group(self.order_action)