Override config, if necessary

svn: r14335
This commit is contained in:
Doug Blank 2010-02-12 12:48:27 +00:00
parent 9f2d9dc2fd
commit 2c0c3f0f85

View File

@ -1272,7 +1272,8 @@ class GrampletPane(gtk.ScrolledWindow):
_('Number of Columns'), _('Number of Columns'),
0, 0,
'Gramplet View Options.column_count', 'Gramplet View Options.column_count',
self._config.set) self._config.set,
config=self._config)
return _('Gramplet Layout'), table return _('Gramplet Layout'), table
def build_panel(self, gramplet): def build_panel(self, gramplet):
@ -1288,7 +1289,8 @@ class GrampletPane(gtk.ScrolledWindow):
_('Title'), _('Title'),
0, 0,
"%s.title" % gramplet.title, "%s.title" % gramplet.title,
self._config.set) self._config.set,
config=self._config)
options = gramplet.make_gui_options() options = gramplet.make_gui_options()
if options: if options:
table.attach(options, 1, 2, 4, 5, yoptions=0) table.attach(options, 1, 2, 4, 5, yoptions=0)