From 062d6877b716625e56a2c9fd91737d15c896ab5b Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Wed, 11 Feb 2009 09:44:17 +0000 Subject: [PATCH] [brubru] fix glade dir. see #4770 --- src/gtkgui_helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gtkgui_helpers.py b/src/gtkgui_helpers.py index 2033b248e..fa54ff471 100644 --- a/src/gtkgui_helpers.py +++ b/src/gtkgui_helpers.py @@ -61,7 +61,7 @@ gtk.glade.textdomain(i18n.APP) screen_w = gtk.gdk.screen_width() screen_h = gtk.gdk.screen_height() -GLADE_DIR = os.path.join('..', 'data', 'glade') +GLADE_DIR = os.path.join(gajim.DATA_DIR, 'glade') def get_glade(file_name, root = None): file_path = os.path.join(GLADE_DIR, file_name) return gtk.glade.XML(file_path, root=root, domain=i18n.APP)