2008-02-24 Raphael Ackermann <raphael.ackermann@gmail.com>

* Editors/_EditRepository.py
	* Editors/_EditFamily.py
	* DisplayTabs/_SourceEmbedList.py
	* DisplayTabs/_PersonRefEmbedList.py
	* DisplayTabs/_RepoEmbedList.py
	* DisplayTabs/_AddrEmbedList.py
	* DisplayTabs/_WebEmbedList.py
	* DisplayTabs/_NameEmbedList.py
	* DisplayTabs/_EventEmbedList.py
	* DisplayTabs/_EmbeddedList.py
	* DisplayTabs/_NoteTab.py
	* DisplayTabs/_LocationEmbedList.py
	* DisplayTabs/_ButtonTab.py
	* DisplayTabs/_DataEmbedList.py
	* DisplayTabs/_AttrEmbedList.py
	* DisplayTabs/_LdsEmbedList.py
	* DisplayTabs/_GrampsTab.py
	add Up and Down buttons to the tabs. Added individual tooltips for buttons
	0001807: Missing buttons MoveUp, MoveDown on a Events list in a person...

svn: r10108
This commit is contained in:
Raphael Ackermann
2008-02-24 18:58:45 +00:00
parent f6f9fbafdc
commit 20426f36e3
18 changed files with 193 additions and 66 deletions

View File

@ -54,6 +54,8 @@ class RepoEmbedList(EmbeddedList):
'del' : _('Remove the existing repository'),
'edit' : _('Edit the selected repository'),
'share' : _('Add an existing repository'),
'up' : _('Move the selected repository upwards'),
'down' : _('Move the selected repository downwards'),
}
_column_names = [
@ -66,7 +68,8 @@ class RepoEmbedList(EmbeddedList):
def __init__(self, dbstate, uistate, track, obj):
self.obj = obj
EmbeddedList.__init__(self, dbstate, uistate, track,
_('_Repositories'), RepoRefModel, True)
_('_Repositories'), RepoRefModel,
share_button=True, move_buttons=True)
def get_icon_name(self):
return 'gramps-repository'