Add tooltip to mergebutton
svn: r16789
This commit is contained in:
parent
0131c273ca
commit
2a5ae67165
@ -89,6 +89,7 @@ class ListView(NavigationView):
|
||||
ADD_MSG = ""
|
||||
EDIT_MSG = ""
|
||||
DEL_MSG = ""
|
||||
MERGE_MSG = ""
|
||||
FILTER_TYPE = None # Set in inheriting class
|
||||
QR_CATEGORY = -1
|
||||
|
||||
@ -193,8 +194,8 @@ class ListView(NavigationView):
|
||||
self.ADD_MSG, self.add),
|
||||
('Remove', gtk.STOCK_REMOVE, _("_Remove"), "<control>Delete",
|
||||
self.DEL_MSG, self.remove),
|
||||
('Merge', 'gramps-merge', _('_Merge...'), None, None,
|
||||
self.merge),
|
||||
('Merge', 'gramps-merge', _('_Merge...'), None,
|
||||
self.MERGE_MSG, self.merge),
|
||||
('ExportTab', None, _('Export View...'), None, None,
|
||||
self.export),
|
||||
])
|
||||
|
@ -111,7 +111,8 @@ class BasePersonView(ListView):
|
||||
)
|
||||
ADD_MSG = _("Add a new person")
|
||||
EDIT_MSG = _("Edit the selected person")
|
||||
DEL_MSG = _("Delete the selected person")
|
||||
DEL_MSG = _("Remove the selected person")
|
||||
MERGE_MSG = _("Merge the selected persons")
|
||||
FILTER_TYPE = "Person"
|
||||
QR_CATEGORY = CATEGORY_QR_PERSON
|
||||
|
||||
@ -350,7 +351,7 @@ class BasePersonView(ListView):
|
||||
('FilterEdit', None, _('Person Filter Editor'), None, None,
|
||||
self.filter_editor),
|
||||
('Edit', gtk.STOCK_EDIT, _("action|_Edit..."),
|
||||
"<control>Return", _("Edit the selected person"), self.edit),
|
||||
"<control>Return", self.EDIT_MSG, self.edit),
|
||||
('QuickReport', None, _("Quick View"), None, None, None),
|
||||
('WebConnect', None, _("Web Connection"), None, None, None),
|
||||
('Dummy', None, ' ', None, None, self.dummy_report),
|
||||
@ -360,11 +361,11 @@ class BasePersonView(ListView):
|
||||
self.edit_action.add_actions(
|
||||
[
|
||||
('Add', gtk.STOCK_ADD, _("_Add..."), "<control>Insert",
|
||||
_("Add a new person"), self.add),
|
||||
self.ADD_MSG, self.add),
|
||||
('Remove', gtk.STOCK_REMOVE, _("_Remove"), "<control>Delete",
|
||||
_("Remove the Selected Person"), self.remove),
|
||||
('Merge', 'gramps-merge', _('_Merge...'), None, None,
|
||||
self.merge),
|
||||
self.DEL_MSG, self.remove),
|
||||
('Merge', 'gramps-merge', _('_Merge...'), None,
|
||||
self.MERGE_MSG, self.merge),
|
||||
('ExportTab', None, _('Export View...'), None, None,
|
||||
self.export),
|
||||
])
|
||||
|
@ -117,6 +117,7 @@ class PlaceBaseView(ListView):
|
||||
ADD_MSG = _("Add a new place")
|
||||
EDIT_MSG = _("Edit the selected place")
|
||||
DEL_MSG = _("Delete the selected place")
|
||||
MERGE_MSG = _("Merge the selected places")
|
||||
FILTER_TYPE = "Place"
|
||||
QR_CATEGORY = CATEGORY_QR_PLACE
|
||||
|
||||
|
@ -97,6 +97,7 @@ class EventView(ListView):
|
||||
ADD_MSG = _("Add a new event")
|
||||
EDIT_MSG = _("Edit the selected event")
|
||||
DEL_MSG = _("Delete the selected event")
|
||||
MERGE_MSG = _("Merge the selected events")
|
||||
FILTER_TYPE = "Event"
|
||||
QR_CATEGORY = CATEGORY_QR_EVENT
|
||||
|
||||
|
@ -95,6 +95,7 @@ class FamilyView(ListView):
|
||||
ADD_MSG = _("Add a new family")
|
||||
EDIT_MSG = _("Edit the selected family")
|
||||
DEL_MSG = _("Delete the selected family")
|
||||
MERGE_MSG = _("Merge the selected families")
|
||||
FILTER_TYPE = "Family"
|
||||
QR_CATEGORY = CATEGORY_QR_FAMILY
|
||||
|
||||
|
@ -109,6 +109,7 @@ class MediaView(ListView):
|
||||
ADD_MSG = _("Add a new media object")
|
||||
EDIT_MSG = _("Edit the selected media object")
|
||||
DEL_MSG = _("Delete the selected media object")
|
||||
MERGE_MSG = _("Merge the selected media objects")
|
||||
FILTER_TYPE = 'MediaObject'
|
||||
QR_CATEGORY = CATEGORY_QR_MEDIA
|
||||
|
||||
|
@ -89,6 +89,7 @@ class NoteView(ListView):
|
||||
ADD_MSG = _("Add a new note")
|
||||
EDIT_MSG = _("Edit the selected note")
|
||||
DEL_MSG = _("Delete the selected note")
|
||||
MERGE_MSG = _("Merge the selected notes")
|
||||
FILTER_TYPE = "Note"
|
||||
QR_CATEGORY = CATEGORY_QR_NOTE
|
||||
|
||||
|
@ -106,6 +106,7 @@ class RepositoryView(ListView):
|
||||
ADD_MSG = _("Add a new repository")
|
||||
EDIT_MSG = _("Edit the selected repository")
|
||||
DEL_MSG = _("Delete the selected repository")
|
||||
MERGE_MSG = _("Merge the selected repositories")
|
||||
FILTER_TYPE = "Repository"
|
||||
QR_CATEGORY = CATEGORY_QR_REPOSITORY
|
||||
|
||||
|
@ -90,6 +90,7 @@ class SourceView(ListView):
|
||||
ADD_MSG = _("Add a new source")
|
||||
EDIT_MSG = _("Edit the selected source")
|
||||
DEL_MSG = _("Delete the selected source")
|
||||
MERGE_MSG = _("Merge the selected sources")
|
||||
FILTER_TYPE = "Source"
|
||||
QR_CATEGORY = CATEGORY_QR_SOURCE
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user