run the layouts config sections through dict_dff to avoid saving defaults unnecessarily

This commit is contained in:
Chris Jones 2010-01-31 16:24:20 +00:00
parent a3aa45a43d
commit f5dfd404c9

View File

@ -497,7 +497,8 @@ class ConfigBase(Borg):
parser['layouts'] = {}
for layout in self.layouts:
dbg('ConfigBase::save: Processing layout: %s' % layout)
parser['layouts'][layout] = self.layouts[layout]
parser['layouts'][layout] = dict_diff(
DEFAULTS['layouts']['default'], self.layouts[layout])
parser['plugins'] = {}
for plugin in self.plugins: