aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-chat-window.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-03-17 06:10:34 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-03-17 06:10:34 +0800
commitf369aa1633fd6d1c02680e97006bc53e4b8e44eb (patch)
treec78ac2dceb543b6d989f96f693c861c5a612ec41 /src/empathy-chat-window.c
parent841b4512d41749ea2229f1ceb6ec7b77f9c78e81 (diff)
downloadgsoc2013-empathy-f369aa1633fd6d1c02680e97006bc53e4b8e44eb.tar
gsoc2013-empathy-f369aa1633fd6d1c02680e97006bc53e4b8e44eb.tar.gz
gsoc2013-empathy-f369aa1633fd6d1c02680e97006bc53e4b8e44eb.tar.bz2
gsoc2013-empathy-f369aa1633fd6d1c02680e97006bc53e4b8e44eb.tar.lz
gsoc2013-empathy-f369aa1633fd6d1c02680e97006bc53e4b8e44eb.tar.xz
gsoc2013-empathy-f369aa1633fd6d1c02680e97006bc53e4b8e44eb.tar.zst
gsoc2013-empathy-f369aa1633fd6d1c02680e97006bc53e4b8e44eb.zip
Use empathy_file_lookup for glade files since some are in libempathy-gtk/ and others in src/
svn path=/trunk/; revision=813
Diffstat (limited to 'src/empathy-chat-window.c')
-rw-r--r--src/empathy-chat-window.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c
index 33be0ea82..65a706c17 100644
--- a/src/empathy-chat-window.c
+++ b/src/empathy-chat-window.c
@@ -280,10 +280,12 @@ empathy_chat_window_init (EmpathyChatWindow *window)
GtkWidget *menu;
gint i;
GtkWidget *chat_vbox;
+ gchar *filename;
priv = GET_PRIV (window);
- glade = empathy_glade_get_file ("empathy-chat.glade",
+ filename = empathy_file_lookup ("empathy-chat.glade", "libempathy-gtk");
+ glade = empathy_glade_get_file (filename,
"chat_window",
NULL,
"chat_window", &priv->dialog,
@@ -315,6 +317,7 @@ empathy_chat_window_init (EmpathyChatWindow *window)
"menu_help_contents", &priv->menu_help_contents,
"menu_help_about", &priv->menu_help_about,
NULL);
+ g_free (filename);
empathy_glade_connect (glade,
window,