From dd296535de78f0df29a86ca5dcffbc34cbfa19c7 Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Thu, 10 Jan 2013 10:50:25 +0000 Subject: [PATCH] 6312: Rename Gramplets category to Dashboard svn: r21048 --- gramps/gen/config.py | 2 +- .../plugins/view/{grampletview.py => dashboardview.py} | 8 ++++---- gramps/plugins/view/view.gpr.py | 10 +++++----- 3 files changed, 10 insertions(+), 10 deletions(-) rename gramps/plugins/view/{grampletview.py => dashboardview.py} (94%) diff --git a/gramps/gen/config.py b/gramps/gen/config.py index 9d4eab8bb..43c868f48 100644 --- a/gramps/gen/config.py +++ b/gramps/gen/config.py @@ -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) diff --git a/gramps/plugins/view/grampletview.py b/gramps/plugins/view/dashboardview.py similarity index 94% rename from gramps/plugins/view/grampletview.py rename to gramps/plugins/view/dashboardview.py index 3de9344c5..46ca8c3a7 100644 --- a/gramps/plugins/view/grampletview.py +++ b/gramps/plugins/view/dashboardview.py @@ -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 = ''' @@ -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 diff --git a/gramps/plugins/view/view.gpr.py b/gramps/plugins/view/view.gpr.py index a67db8c53..e21bd4391 100644 --- a/gramps/plugins/view/view.gpr.py +++ b/gramps/plugins/view/view.gpr.py @@ -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, )