--- nfo/projects/netfraggle/bin/fraggleCtlPreferences.py 2004/08/25 16:56:59 1.2 +++ nfo/projects/netfraggle/bin/fraggleCtlPreferences.py 2004/08/25 18:18:50 1.3 @@ -1,4 +1,7 @@ +import os + import fraggleParserXML +from fraggleEngine import * def create(parent): return fraggleCtlPreferences(parent) @@ -23,4 +26,8 @@ return self.configList def saveConfig(self): - self.fraggleXML.marshalXML(self.configList,"/home/xabbu/test.xml") \ No newline at end of file + #self.fraggleXML.marshalXML(self.configList,"/home/xabbu/test.xml") + engine = FraggleEngine() + prefsfile = os.path.join(engine.getDefaultDir(), 'prefs.xml') + self.fraggleXML.marshalXML(self.configList, prefsfile) +