From c28690de544c17fd82ed89d30b8d688f5d797e55 Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Sun, 14 Aug 2005 22:30:28 +0000 Subject: [PATCH] logic fix --- src/gtkgui_helpers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gtkgui_helpers.py b/src/gtkgui_helpers.py index 20e3cc5ca..861134c0b 100644 --- a/src/gtkgui_helpers.py +++ b/src/gtkgui_helpers.py @@ -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