like the fixme says, re-enable handling of systems without gconf

This commit is contained in:
Chris Jones 2008-04-08 10:08:51 +01:00
parent 660344a8b7
commit 61572e5531
1 changed files with 7 additions and 8 deletions

View File

@ -516,14 +516,13 @@ class Terminator:
stores = [] stores = []
stores.append (terminatorconfig.TerminatorConfValuestoreRC ()) stores.append (terminatorconfig.TerminatorConfValuestoreRC ())
# FIXME: enable this again, we should trap and discard broken gconf stuff try:
# try:
import gconf import gconf
store = terminatorconfig.TerminatorConfValuestoreGConf () store = terminatorconfig.TerminatorConfValuestoreGConf ()
store.set_reconfigure_callback (self.reconfigure_vtes) store.set_reconfigure_callback (self.reconfigure_vtes)
stores.append (store) stores.append (store)
# except: except:
# pass pass
self.conf = terminatorconfig.TerminatorConfig (stores) self.conf = terminatorconfig.TerminatorConfig (stores)