Introduce preferences file
authorPhilip Chimento <philip.chimento@gmail.com>
Sat, 26 Feb 2011 16:15:35 +0000 (17:15 +0100)
committerPhilip Chimento <philip.chimento@gmail.com>
Sat, 26 Feb 2011 16:15:35 +0000 (17:15 +0100)
commit06f2cc3823e21032a016dfdfd3e53ba558cea69f
tree65d2c9171224345bd56075d45c895886af0d0c17
parentb892a848c444238c5379621fcd0209410742e5e2
Introduce preferences file

We now use a GSettings object with a custom backend that writes to a
configuration file, ~/.chimara. Right now there is only one example
setting, "flep". It's easy to bind the setting to a property of another
GObject, like the "active" property of a checkbox.

Still need to check how other GLib applications install the settings
file properly in their Makefile.am, and how to work with a default
configuration file such as /etc/chimara if the one in the home directory
is not present.
player/Makefile.am
player/chimara.ui
player/main.c
player/org.chimara-if.gschema.xml [new file with mode: 0644]
player/preferences.c