diff options
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-account-widget-irc.c | 4 | ||||
-rw-r--r-- | libempathy-gtk/empathy-ui-utils.c | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/libempathy-gtk/empathy-account-widget-irc.c b/libempathy-gtk/empathy-account-widget-irc.c index 35fa7697f..5c74e0958 100644 --- a/libempathy-gtk/empathy-account-widget-irc.c +++ b/libempathy-gtk/empathy-account-widget-irc.c @@ -442,8 +442,8 @@ empathy_account_widget_irc_new (McAccount *account) user_file_with_path = g_build_filename (dir, IRC_NETWORKS_FILENAME, NULL); g_free (dir); - global_file_with_path = g_build_filename (UNINSTALLED_IRC_DIR, - IRC_NETWORKS_FILENAME, NULL); + global_file_with_path = g_build_filename (g_getenv ("EMPATHY_SRCDIR"), + "libempathy-gtk", IRC_NETWORKS_FILENAME, NULL); if (!g_file_test (global_file_with_path, G_FILE_TEST_EXISTS)) { g_free (global_file_with_path); diff --git a/libempathy-gtk/empathy-ui-utils.c b/libempathy-gtk/empathy-ui-utils.c index d5747a0ee..80dcd4227 100644 --- a/libempathy-gtk/empathy-ui-utils.c +++ b/libempathy-gtk/empathy-ui-utils.c @@ -65,7 +65,8 @@ get_glade_file (const gchar *filename, const char *name; GtkWidget **widget_ptr; - path = g_build_filename (UNINSTALLED_GLADE_DIR, filename, NULL); + path = g_build_filename (g_getenv ("EMPATHY_SRCDIR"), "libempathy-gtk", + filename, NULL); if (!g_file_test (path, G_FILE_TEST_EXISTS)) { g_free (path); path = g_build_filename (DATADIR, "empathy", filename, NULL); |