aboutsummaryrefslogtreecommitdiffstats
path: root/smime/gui/ca-trust-dialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'smime/gui/ca-trust-dialog.c')
-rw-r--r--smime/gui/ca-trust-dialog.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/smime/gui/ca-trust-dialog.c b/smime/gui/ca-trust-dialog.c
index f5c2aba259..9278a13537 100644
--- a/smime/gui/ca-trust-dialog.c
+++ b/smime/gui/ca-trust-dialog.c
@@ -33,6 +33,8 @@
#include <libgnome/gnome-i18n.h>
#include <glade/glade.h>
+#include "e-util/e-util-private.h"
+
#define GLADE_FILE_NAME "smime-ui.glade"
typedef struct {
@@ -76,9 +78,15 @@ ca_trust_dialog_show (ECert *cert, gboolean importing)
CATrustDialogData *ctd_data;
GtkWidget *w;
char *txt;
+ char *gladefile;
ctd_data = g_new0 (CATrustDialogData, 1);
- ctd_data->gui = glade_xml_new (EVOLUTION_GLADEDIR "/" GLADE_FILE_NAME, NULL, NULL);
+
+ gladefile = g_build_filename (EVOLUTION_GLADEDIR,
+ GLADE_FILE_NAME,
+ NULL);
+ ctd_data->gui = glade_xml_new (gladefile, NULL, NULL);
+ g_free (gladefile);
ctd_data->dialog = glade_xml_get_widget (ctd_data->gui, "ca-trust-dialog");