summaryrefslogtreecommitdiff
path: root/portato
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-02-20 01:15:30 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-02-20 01:15:30 +0100
commit5095e93dc4e65757f76f5f763db2dd60668e1c1f (patch)
tree1766e85592eaa0e267756287922a6fd6a6f6d677 /portato
parent2455dc6f3ac1b4187d33173eb3d5f061a53aac9f (diff)
downloadportato-5095e93dc4e65757f76f5f763db2dd60668e1c1f.tar.gz
portato-5095e93dc4e65757f76f5f763db2dd60668e1c1f.tar.bz2
portato-5095e93dc4e65757f76f5f763db2dd60668e1c1f.zip
Well - might be nice, if we actually save the db-type changes...
Diffstat (limited to 'portato')
-rw-r--r--portato/gui/windows/preference.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/portato/gui/windows/preference.py b/portato/gui/windows/preference.py
index 5b88b22..4bd7551 100644
--- a/portato/gui/windows/preference.py
+++ b/portato/gui/windows/preference.py
@@ -232,6 +232,11 @@ class PreferenceWindow (AbstractDialog):
c = self.prefColorBtn.get_color()
self.cfg.set("prefhint", str(c)[1:], section = "COLORS")
+ # DB type
+ m = self.databaseCombo.get_model()
+ a = self.databaseCombo.get_active()
+ self.cfg.set("type", m[a][2], section = "DATABASE")
+
def fill_setlist (self):
store = gtk.ListStore(bool, str, str, str)