[gpodder-devel] New config manager in SVN

  • From: thp at perli.net (Thomas Perl)
  • Date: Fri, 02 Nov 2007 17:40:42 +0100

Hello!

I've just finished a migration step that I wanted to do for some time
now. Previously, configuration and settings has been managed by
gPodderLibClass in gpodder.libgpodder. I've now written a more
sophisticated and automated settings manager that will allow us to
"subscribe" to GTK widgets and update configuration in real time without
writing lots of code.

If you are interested in looking at the code, it can be found in
src/gpodder/config.py.

Please test the code in SVN to see if there are any regressions. It's a
big commit, so some bug might have slipped through, although I did a
review of the diff before sending it to the repository.

Here's what diffstat says about the svn diff:

 ChangeLog                  |   26 +++
 src/gpodder/config.py      |  224 ++++++++++++++++++++++++++++++
 src/gpodder/download.py    |   14 -
 src/gpodder/gui.py         |  134 +++++++-----------
 src/gpodder/libgpodder.py  |  331 ++++++-----------------------[...]
 src/gpodder/libipodsync.py |    4 
 src/gpodder/libplayers.py  |   22 --
 src/gpodder/libpodcasts.py |   19 +-
 src/gpodder/services.py    |    8 -
 src/gpodder/util.py        |   24 +++
 10 files changed, 400 insertions(+), 406 deletions(-)


Thomas


Other related posts: