1 |
|
import os |
2 |
|
|
3 |
import fraggleParserXML |
import fraggleParserXML |
4 |
|
from fraggleEngine import * |
5 |
|
|
6 |
def create(parent): |
def create(parent): |
7 |
return fraggleCtlPreferences(parent) |
return fraggleCtlPreferences(parent) |
26 |
return self.configList |
return self.configList |
27 |
|
|
28 |
def saveConfig(self): |
def saveConfig(self): |
|
self.fraggleXML.marshalXML(self.configList,"/home/xabbu/test.xml") |
|
29 |
|
#self.fraggleXML.marshalXML(self.configList,"/home/xabbu/test.xml") |
30 |
|
engine = FraggleEngine() |
31 |
|
prefsfile = os.path.join(engine.getDefaultDir(), 'prefs.xml') |
32 |
|
self.fraggleXML.marshalXML(self.configList, prefsfile) |
33 |
|
|