Skip to content
Snippets Groups Projects
Commit c28690de authored by nkour's avatar nkour
Browse files

logic fix

parent 5f0b3600
No related branches found
No related tags found
No related merge requests found
......@@ -33,10 +33,11 @@ def get_default_font():
try:
import gconf
# in try because daemon may not be there
client = gconf.client_get_default()
except:
pass
else:
client = gconf.client_get_default()
return client.get_string('/desktop/gnome/interface/font_name')
# try to get xfce default font
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment