From 5095e93dc4e65757f76f5f763db2dd60668e1c1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Fri, 20 Feb 2009 01:15:30 +0100 Subject: Well - might be nice, if we actually save the db-type changes... --- portato/gui/windows/preference.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'portato/gui/windows/preference.py') 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) -- cgit v1.2.3