Fix configuration problem in Gramplet View
svn: r16287
This commit is contained in:
parent
205b1f107b
commit
5bb08835d7
@ -152,7 +152,7 @@ class Workspace(object):
|
||||
eb = gtk.EventBox()
|
||||
eb.connect('button-press-event', self._gramplet_button_press)
|
||||
|
||||
gramplet_pane = GrampletPane(self.view.ident + "_gramplets",
|
||||
gramplet_pane = GrampletPane(self.view.ident + "_sidebar",
|
||||
self, self.dbstate, self.uistate,
|
||||
column_count=1)
|
||||
gramplet_pane.show_all()
|
||||
|
@ -57,7 +57,8 @@ class GrampletView(PageView):
|
||||
the base class. Returns a gtk container widget.
|
||||
"""
|
||||
# load the user's gramplets and set columns, etc
|
||||
return GrampletPane("Gramplets_grampletview", self, self.dbstate, self.uistate)
|
||||
return GrampletPane("Gramplets_grampletview_gramplets", self,
|
||||
self.dbstate, self.uistate)
|
||||
|
||||
def define_actions(self):
|
||||
"""
|
||||
@ -103,13 +104,13 @@ class GrampletView(PageView):
|
||||
|
||||
def on_delete(self):
|
||||
self.widget.on_delete()
|
||||
self._config.save()
|
||||
|
||||
def can_configure(self):
|
||||
"""
|
||||
See :class:`~gui.views.pageview.PageView
|
||||
:return: bool
|
||||
"""
|
||||
self._config = self.widget._config
|
||||
return self.widget.can_configure()
|
||||
|
||||
def _get_configure_page_funcs(self):
|
||||
|
Loading…
Reference in New Issue
Block a user