Minor fix to kees' gconf improvement
This commit is contained in:
parent
397bac42af
commit
6a5431e253
|
@ -78,7 +78,7 @@ class TerminatorTerm:
|
||||||
|
|
||||||
self.profile = None
|
self.profile = None
|
||||||
for dir in self.gconf_client.all_dirs(self.defaults['profile_dir']):
|
for dir in self.gconf_client.all_dirs(self.defaults['profile_dir']):
|
||||||
if self.gconf_client.get_string (dir + "/title") == profile:
|
if self.gconf_client.get_string (dir + "/visible_name") == profile:
|
||||||
self.profile = dir
|
self.profile = dir
|
||||||
break
|
break
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue