allow forcing a view to be first in category
svn: r13590
This commit is contained in:
@@ -7,6 +7,6 @@ register(VIEW,
|
||||
fname = 'fanchartview.py',
|
||||
authors = [u"Douglas S. Blank"],
|
||||
authors_email = ["doug.blank@gmail.com"],
|
||||
category = VIEW_REL,
|
||||
category = VIEW_PEDI,
|
||||
viewclass = 'FanChartView',
|
||||
)
|
||||
|
||||
@@ -587,7 +587,7 @@ class FanChartView(NavigationView):
|
||||
"""
|
||||
The category stock icon
|
||||
"""
|
||||
return 'gramps-relation'
|
||||
return 'gramps-pedigree'
|
||||
|
||||
def get_viewtype_stock(self):
|
||||
"""Type of view in category
|
||||
|
||||
@@ -416,7 +416,7 @@ class PedigreeView(NavigationView):
|
||||
"""
|
||||
The category stock icon
|
||||
"""
|
||||
return 'gramps-relation'
|
||||
return 'gramps-pedigree'
|
||||
|
||||
def get_viewtype_stock(self):
|
||||
"""Type of view in category
|
||||
|
||||
@@ -38,6 +38,7 @@ authors = [u"The GRAMPS project"],
|
||||
authors_email = ["http://gramps-project.org"],
|
||||
category = VIEW_EVENT,
|
||||
viewclass = 'EventView',
|
||||
order = START,
|
||||
)
|
||||
|
||||
register(VIEW,
|
||||
@@ -51,6 +52,7 @@ authors = [u"The GRAMPS project"],
|
||||
authors_email = ["http://gramps-project.org"],
|
||||
category = VIEW_FAMILY,
|
||||
viewclass = 'FamilyView',
|
||||
order = START,
|
||||
)
|
||||
|
||||
register(VIEW,
|
||||
@@ -64,6 +66,7 @@ authors = [u"The GRAMPS project"],
|
||||
authors_email = ["http://gramps-project.org"],
|
||||
category = VIEW_MISC,
|
||||
viewclass = 'GrampletView',
|
||||
order = START,
|
||||
)
|
||||
|
||||
register(VIEW,
|
||||
@@ -77,6 +80,7 @@ authors = [u"The GRAMPS project"],
|
||||
authors_email = ["http://gramps-project.org"],
|
||||
category = VIEW_MEDIA,
|
||||
viewclass = 'MediaView',
|
||||
order = START,
|
||||
)
|
||||
|
||||
register(VIEW,
|
||||
@@ -90,6 +94,7 @@ authors = [u"The GRAMPS project"],
|
||||
authors_email = ["http://gramps-project.org"],
|
||||
category = VIEW_NOTE,
|
||||
viewclass = 'NoteView',
|
||||
order = START,
|
||||
)
|
||||
|
||||
register(VIEW,
|
||||
@@ -103,6 +108,7 @@ authors = [u"The GRAMPS project"],
|
||||
authors_email = ["http://gramps-project.org"],
|
||||
category = VIEW_REL,
|
||||
viewclass = 'RelationshipView',
|
||||
order = START,
|
||||
)
|
||||
|
||||
register(VIEW,
|
||||
@@ -114,7 +120,7 @@ status = STABLE,
|
||||
fname = 'pedigreeview.py',
|
||||
authors = [u"The GRAMPS project"],
|
||||
authors_email = ["http://gramps-project.org"],
|
||||
category = VIEW_REL,
|
||||
category = VIEW_PEDI,
|
||||
viewclass = 'PedigreeView',
|
||||
)
|
||||
|
||||
@@ -129,6 +135,7 @@ authors = [u"The GRAMPS project"],
|
||||
authors_email = ["http://gramps-project.org"],
|
||||
category = VIEW_PERSON,
|
||||
viewclass = 'PersonView',
|
||||
order = START,
|
||||
)
|
||||
|
||||
register(VIEW,
|
||||
@@ -142,6 +149,7 @@ authors = [u"The GRAMPS project"],
|
||||
authors_email = ["http://gramps-project.org"],
|
||||
category = VIEW_PLACE,
|
||||
viewclass = 'PlaceView',
|
||||
order = START,
|
||||
)
|
||||
|
||||
register(VIEW,
|
||||
@@ -155,6 +163,7 @@ authors = [u"The GRAMPS project"],
|
||||
authors_email = ["http://gramps-project.org"],
|
||||
category = VIEW_REPO,
|
||||
viewclass = 'RepositoryView',
|
||||
order = START,
|
||||
)
|
||||
|
||||
register(VIEW,
|
||||
@@ -168,4 +177,5 @@ authors = [u"The GRAMPS project"],
|
||||
authors_email = ["http://gramps-project.org"],
|
||||
category = VIEW_SOURCE,
|
||||
viewclass = 'SourceView',
|
||||
order = START,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user