6312: Rename Gramplets category to Dashboard

svn: r21048
This commit is contained in:
Nick Hall 2013-01-10 10:50:25 +00:00
parent f8f152c1f0
commit dd296535de
3 changed files with 10 additions and 10 deletions

View File

@ -188,7 +188,7 @@ register('interface.clipboard-height', 300)
register('interface.clipboard-width', 300)
register('interface.dont-ask', False)
register('interface.view-categories',
["Gramplets", "People", "Relationships", "Families",
["Dashboard", "People", "Relationships", "Families",
"Ancestry", "Events", "Places", "Geography", "Sources",
"Citations", "Repositories", "Media", "Notes"])
register('interface.edit-filter-width', 500)

View File

@ -40,16 +40,16 @@ from gramps.gui.views.pageview import PageView
from gramps.gen.ggettext import gettext as _
from gramps.gui.widgets.grampletpane import GrampletPane
class GrampletView(PageView):
class DashboardView(PageView):
"""
GrampletView interface
DashboardView interface
"""
def __init__(self, pdata, dbstate, uistate):
"""
Create a GrampletView, with the current dbstate and uistate
"""
PageView.__init__(self, _('Gramplets'), pdata, dbstate, uistate)
PageView.__init__(self, _('Dashboard'), pdata, dbstate, uistate)
self.ui_def = '''<ui>
<popup name="GrampletPopup">
<menuitem action="AddGramplet"/>
@ -72,7 +72,7 @@ class GrampletView(PageView):
the base class. Returns a gtk container widget.
"""
# load the user's gramplets and set columns, etc
self.widget = GrampletPane("Gramplets_grampletview_gramplets", self,
self.widget = GrampletPane("Gramplets_dashboardview_gramplets", self,
self.dbstate, self.uistate)
return self.widget

View File

@ -61,17 +61,17 @@ order = START,
)
register(VIEW,
id = 'grampletview',
name = _("Gramplets"),
id = 'dashboardview',
name = _("Dashboard"),
description = _("The view showing Gramplets"),
version = '1.0',
gramps_target_version = '4.1',
status = STABLE,
fname = 'grampletview.py',
fname = 'dashboardview.py',
authors = ["The Gramps project"],
authors_email = ["http://gramps-project.org"],
category = ("Gramplets", _("Gramplets")),
viewclass = 'GrampletView',
category = ("Dashboard", _("Dashboard")),
viewclass = 'DashboardView',
order = START,
)