2009-11-08 22:11:49 +05:30
|
|
|
# encoding:utf-8
|
|
|
|
#
|
|
|
|
# Gramps - a GTK+/GNOME based genealogy program
|
|
|
|
#
|
|
|
|
# Copyright (C) 2009 Benny Malengier
|
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program; if not, write to the Free Software
|
|
|
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
#
|
|
|
|
|
|
|
|
# $Id$
|
|
|
|
|
|
|
|
#------------------------------------------------------------------------
|
|
|
|
#
|
2009-11-19 23:02:11 +05:30
|
|
|
# default views of Gramps
|
2009-11-08 22:11:49 +05:30
|
|
|
#
|
|
|
|
#------------------------------------------------------------------------
|
|
|
|
|
|
|
|
register(VIEW,
|
|
|
|
id = 'eventview',
|
|
|
|
name = _("Event View"),
|
|
|
|
description = _("The view showing all the events"),
|
|
|
|
version = '1.0',
|
|
|
|
status = STABLE,
|
|
|
|
fname = 'eventview.py',
|
2009-11-19 23:02:11 +05:30
|
|
|
authors = [u"The Gramps project"],
|
2009-11-08 22:11:49 +05:30
|
|
|
authors_email = ["http://gramps-project.org"],
|
2009-12-05 10:08:31 +05:30
|
|
|
category = ("Events", _("Events")),
|
2009-11-08 22:11:49 +05:30
|
|
|
viewclass = 'EventView',
|
2009-11-15 19:19:27 +05:30
|
|
|
order = START,
|
2009-11-08 22:11:49 +05:30
|
|
|
)
|
|
|
|
|
|
|
|
register(VIEW,
|
|
|
|
id = 'familyview',
|
|
|
|
name = _("Family View"),
|
|
|
|
description = _("The view showing all families"),
|
|
|
|
version = '1.0',
|
|
|
|
status = STABLE,
|
|
|
|
fname = 'familyview.py',
|
2009-11-19 23:02:11 +05:30
|
|
|
authors = [u"The Gramps project"],
|
2009-11-08 22:11:49 +05:30
|
|
|
authors_email = ["http://gramps-project.org"],
|
2009-12-05 10:08:31 +05:30
|
|
|
category = ("Families", _("Families")),
|
2009-11-08 22:11:49 +05:30
|
|
|
viewclass = 'FamilyView',
|
2009-11-15 19:19:27 +05:30
|
|
|
order = START,
|
2009-11-08 22:11:49 +05:30
|
|
|
)
|
|
|
|
|
|
|
|
register(VIEW,
|
|
|
|
id = 'grampletview',
|
|
|
|
name = _("Gramplet View"),
|
|
|
|
description = _("The view allowing to see Gramplets"),
|
|
|
|
version = '1.0',
|
|
|
|
status = STABLE,
|
|
|
|
fname = 'grampletview.py',
|
2009-11-19 23:02:11 +05:30
|
|
|
authors = [u"The Gramps project"],
|
2009-11-08 22:11:49 +05:30
|
|
|
authors_email = ["http://gramps-project.org"],
|
2009-12-05 10:08:31 +05:30
|
|
|
category = ("Gramplets", _("Gramplets")),
|
2009-11-08 22:11:49 +05:30
|
|
|
viewclass = 'GrampletView',
|
2009-11-15 19:19:27 +05:30
|
|
|
order = START,
|
2009-11-08 22:11:49 +05:30
|
|
|
)
|
|
|
|
|
|
|
|
register(VIEW,
|
|
|
|
id = 'mediaview',
|
|
|
|
name = _("Media View"),
|
|
|
|
description = _("The view showing all the media objects"),
|
|
|
|
version = '1.0',
|
|
|
|
status = STABLE,
|
|
|
|
fname = 'mediaview.py',
|
2009-11-19 23:02:11 +05:30
|
|
|
authors = [u"The Gramps project"],
|
2009-11-08 22:11:49 +05:30
|
|
|
authors_email = ["http://gramps-project.org"],
|
2009-12-05 10:08:31 +05:30
|
|
|
category = ("Media", _("Media")),
|
2009-11-08 22:11:49 +05:30
|
|
|
viewclass = 'MediaView',
|
2009-11-15 19:19:27 +05:30
|
|
|
order = START,
|
2009-11-08 22:11:49 +05:30
|
|
|
)
|
|
|
|
|
|
|
|
register(VIEW,
|
|
|
|
id = 'noteview',
|
|
|
|
name = _("Note View"),
|
|
|
|
description = _("The view showing all the notes"),
|
|
|
|
version = '1.0',
|
|
|
|
status = STABLE,
|
|
|
|
fname = 'noteview.py',
|
2009-11-19 23:02:11 +05:30
|
|
|
authors = [u"The Gramps project"],
|
2009-11-08 22:11:49 +05:30
|
|
|
authors_email = ["http://gramps-project.org"],
|
2009-12-05 10:08:31 +05:30
|
|
|
category = ("Notes", _("Notes")),
|
2009-11-08 22:11:49 +05:30
|
|
|
viewclass = 'NoteView',
|
2009-11-15 19:19:27 +05:30
|
|
|
order = START,
|
2009-11-08 22:11:49 +05:30
|
|
|
)
|
|
|
|
|
|
|
|
register(VIEW,
|
|
|
|
id = 'relview',
|
|
|
|
name = _("Relationship View"),
|
|
|
|
description = _("The view showing all relationships of the selected person"),
|
|
|
|
version = '1.0',
|
|
|
|
status = STABLE,
|
|
|
|
fname = 'relview.py',
|
2009-11-19 23:02:11 +05:30
|
|
|
authors = [u"The Gramps project"],
|
2009-11-08 22:11:49 +05:30
|
|
|
authors_email = ["http://gramps-project.org"],
|
2009-12-05 10:08:31 +05:30
|
|
|
category = ("Relationships", _("Relationships")),
|
2009-11-08 22:11:49 +05:30
|
|
|
viewclass = 'RelationshipView',
|
2009-11-15 19:19:27 +05:30
|
|
|
order = START,
|
2009-11-08 22:11:49 +05:30
|
|
|
)
|
|
|
|
|
|
|
|
register(VIEW,
|
|
|
|
id = 'pedigreeview',
|
|
|
|
name = _("Pedigree View"),
|
|
|
|
description = _("The view showing an ancestor pedigree of the selected person"),
|
|
|
|
version = '1.0',
|
|
|
|
status = STABLE,
|
|
|
|
fname = 'pedigreeview.py',
|
2009-11-19 23:02:11 +05:30
|
|
|
authors = [u"The Gramps project"],
|
2009-11-08 22:11:49 +05:30
|
|
|
authors_email = ["http://gramps-project.org"],
|
2009-12-05 10:08:31 +05:30
|
|
|
category = ("Charts", _("Charts")),
|
2009-11-08 22:11:49 +05:30
|
|
|
viewclass = 'PedigreeView',
|
2009-12-05 10:08:31 +05:30
|
|
|
order = START,
|
2009-11-08 22:11:49 +05:30
|
|
|
)
|
|
|
|
|
|
|
|
register(VIEW,
|
|
|
|
id = 'personview',
|
|
|
|
name = _("Person View"),
|
|
|
|
description = _("The view showing all people in the family tree"),
|
|
|
|
version = '1.0',
|
|
|
|
status = STABLE,
|
|
|
|
fname = 'personview.py',
|
2009-11-19 23:02:11 +05:30
|
|
|
authors = [u"The Gramps project"],
|
2009-11-08 22:11:49 +05:30
|
|
|
authors_email = ["http://gramps-project.org"],
|
2009-12-05 10:08:31 +05:30
|
|
|
category = ("People", _("People")),
|
2009-11-08 22:11:49 +05:30
|
|
|
viewclass = 'PersonView',
|
2009-11-15 19:19:27 +05:30
|
|
|
order = START,
|
2009-11-08 22:11:49 +05:30
|
|
|
)
|
|
|
|
|
|
|
|
register(VIEW,
|
|
|
|
id = 'placeview',
|
|
|
|
name = _("Place View"),
|
|
|
|
description = _("The view showing all the places of the family tree"),
|
|
|
|
version = '1.0',
|
|
|
|
status = STABLE,
|
|
|
|
fname = 'placeview.py',
|
2009-11-19 23:02:11 +05:30
|
|
|
authors = [u"The Gramps project"],
|
2009-11-08 22:11:49 +05:30
|
|
|
authors_email = ["http://gramps-project.org"],
|
2009-12-05 10:08:31 +05:30
|
|
|
category = ("Places", _("Places")),
|
2009-11-08 22:11:49 +05:30
|
|
|
viewclass = 'PlaceView',
|
2009-11-15 19:19:27 +05:30
|
|
|
order = START,
|
2009-11-08 22:11:49 +05:30
|
|
|
)
|
|
|
|
|
|
|
|
register(VIEW,
|
|
|
|
id = 'repoview',
|
|
|
|
name = _("Repository View"),
|
|
|
|
description = _("The view showing all the repositories"),
|
|
|
|
version = '1.0',
|
|
|
|
status = STABLE,
|
|
|
|
fname = 'repoview.py',
|
2009-11-19 23:02:11 +05:30
|
|
|
authors = [u"The Gramps project"],
|
2009-11-08 22:11:49 +05:30
|
|
|
authors_email = ["http://gramps-project.org"],
|
2009-12-05 10:08:31 +05:30
|
|
|
category = ("Repositories", _("Repositories")),
|
2009-11-08 22:11:49 +05:30
|
|
|
viewclass = 'RepositoryView',
|
2009-11-15 19:19:27 +05:30
|
|
|
order = START,
|
2009-11-08 22:11:49 +05:30
|
|
|
)
|
|
|
|
|
|
|
|
register(VIEW,
|
|
|
|
id = 'sourceview',
|
|
|
|
name = _("Source View"),
|
|
|
|
description = _("The view showing all the sources"),
|
|
|
|
version = '1.0',
|
|
|
|
status = STABLE,
|
|
|
|
fname = 'sourceview.py',
|
2009-11-19 23:02:11 +05:30
|
|
|
authors = [u"The Gramps project"],
|
2009-11-08 22:11:49 +05:30
|
|
|
authors_email = ["http://gramps-project.org"],
|
2009-12-05 10:08:31 +05:30
|
|
|
category = ("Sources", _("Sources")),
|
2009-11-08 22:11:49 +05:30
|
|
|
viewclass = 'SourceView',
|
2009-11-15 19:19:27 +05:30
|
|
|
order = START,
|
2009-11-08 22:11:49 +05:30
|
|
|
)
|