diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2008-03-17 06:10:34 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-03-17 06:10:34 +0800 |
commit | f369aa1633fd6d1c02680e97006bc53e4b8e44eb (patch) | |
tree | c78ac2dceb543b6d989f96f693c861c5a612ec41 /libempathy-gtk/empathy-group-chat.c | |
parent | 841b4512d41749ea2229f1ceb6ec7b77f9c78e81 (diff) | |
download | gsoc2013-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 'libempathy-gtk/empathy-group-chat.c')
-rw-r--r-- | libempathy-gtk/empathy-group-chat.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-group-chat.c b/libempathy-gtk/empathy-group-chat.c index 909e23162..5d10da68d 100644 --- a/libempathy-gtk/empathy-group-chat.c +++ b/libempathy-gtk/empathy-group-chat.c @@ -306,10 +306,13 @@ group_chat_create_ui (EmpathyGroupChat *chat) EmpathyGroupChatPriv *priv; GladeXML *glade; GList *list = NULL; + gchar *filename; priv = GET_PRIV (chat); - glade = empathy_glade_get_file ("empathy-group-chat.glade", + filename = empathy_file_lookup ("empathy-group-chat.glade", + "libempathy-gtk"); + glade = empathy_glade_get_file (filename, "group_chat_widget", NULL, "group_chat_widget", &priv->widget, @@ -321,6 +324,7 @@ group_chat_create_ui (EmpathyGroupChat *chat) "label_topic", &priv->label_topic, "scrolled_window_contacts", &priv->scrolled_window_contacts, NULL); + g_free (filename); empathy_glade_connect (glade, chat, |