https://bugs.gpodder.org/show_bug.cgi?id=1498

--- Comment #3 from Bernd Schlapsi <[email protected]> 2012-01-07 18:13:48 GMT ---
But there is a second problem with the new config module. The trigger to
rewrite this module was the work on the extension system.

There it should be possible to add configurations during the runtime. But it's
not possible to define all key names directly in the source-code:

>>> self.config.extensions.variable1.variable2 = value

the value of variable1 and variable2 and not the names itself should be used as
configuration names. So maybe we need something like

>>> self.config.extensions[variable1][variable2] = value

or a specific method to add the configuration before assigning the value

>>> self.config.extensions.add_key(variable1)
>>> self.config.extensions.variable1.add_key(variable2)
>>> self.config.extensions.variable1.variable2 = value

-- 
Configure bugmail: https://bugs.gpodder.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
gPodder-Bugs mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/gpodder-bugs

Reply via email to