Clean-up Sources and Citations views:
* Add icon for citations view * disable old sourceview * change citationtreeview to be Sources navigation view * citationlistview is now the Citations view * merge libcitationview into citationlistview and citationtreeview, and corrected and rationalised * remove libcitationview * corrected initialisation of source_handle in Citation.py * fixes for preventing same source being edited twice - fixed blockedtext in citationembededlist - override build_window_key in editcitation.py svn: r18211
This commit is contained in:
@ -197,20 +197,21 @@ viewclass = 'RepositoryView',
|
||||
order = START,
|
||||
)
|
||||
|
||||
register(VIEW,
|
||||
id = 'sourceview',
|
||||
name = _("Source View"),
|
||||
description = _("The view showing all the sources"),
|
||||
version = '1.0',
|
||||
gramps_target_version = '3.4',
|
||||
status = STABLE,
|
||||
fname = 'sourceview.py',
|
||||
authors = [u"The Gramps project"],
|
||||
authors_email = ["http://gramps-project.org"],
|
||||
category = ("Sources", _("Sources")),
|
||||
viewclass = 'SourceView',
|
||||
order = START,
|
||||
)
|
||||
# FIXME: REDUNDANT As of gramps 3.4, sourceview.py is redundant.
|
||||
#register(VIEW,
|
||||
#id = 'sourceview',
|
||||
#name = _("Source View"),
|
||||
#description = _("The view showing all the sources"),
|
||||
#version = '1.0',
|
||||
#gramps_target_version = '3.4',
|
||||
#status = STABLE,
|
||||
#fname = 'sourceview.py',
|
||||
#authors = [u"The Gramps project"],
|
||||
#authors_email = ["http://gramps-project.org"],
|
||||
#category = ("Sources", _("Sources")),
|
||||
#viewclass = 'SourceView',
|
||||
#order = START,
|
||||
# )
|
||||
|
||||
register(VIEW,
|
||||
id = 'citationlistview',
|
||||
@ -237,8 +238,7 @@ status = STABLE,
|
||||
fname = 'citationtreeview.py',
|
||||
authors = [u"Tim G L Lyons", u"Nick Hall"],
|
||||
authors_email = [""],
|
||||
category = ("Citations", _("Citations")),
|
||||
category = ("Sources", _("Sources")),
|
||||
viewclass = 'CitationTreeView',
|
||||
stock_icon = 'gramps-tree-group',
|
||||
order = START,
|
||||
)
|
||||
|
Reference in New Issue
Block a user