6379: Can not get ancestry or relationship tabs to work
svn: r21337
This commit is contained in:
parent
8453ac9119
commit
8108adbef8
@ -150,7 +150,10 @@ class GrampletBar(Gtk.Notebook):
|
|||||||
filename = self.configfile
|
filename = self.configfile
|
||||||
if filename and os.path.exists(filename):
|
if filename and os.path.exists(filename):
|
||||||
cp = configparser.ConfigParser()
|
cp = configparser.ConfigParser()
|
||||||
cp.read(filename)
|
try:
|
||||||
|
cp.read(filename)
|
||||||
|
except:
|
||||||
|
pass
|
||||||
for sec in cp.sections():
|
for sec in cp.sections():
|
||||||
if sec == "Bar Options":
|
if sec == "Bar Options":
|
||||||
if "visible" in cp.options(sec):
|
if "visible" in cp.options(sec):
|
||||||
|
Loading…
Reference in New Issue
Block a user