aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-contact-dialogs.c
diff options
context:
space:
mode:
authorxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2008-03-17 06:10:34 +0800
committerxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2008-03-17 06:10:34 +0800
commitc94e72f743ef680db93c62c44bc28c76a522bd9c (patch)
treec78ac2dceb543b6d989f96f693c861c5a612ec41 /libempathy-gtk/empathy-contact-dialogs.c
parentf81f32ba04373720879d9d2ec4f81386cafa3ce0 (diff)
downloadgsoc2013-empathy-c94e72f743ef680db93c62c44bc28c76a522bd9c.tar
gsoc2013-empathy-c94e72f743ef680db93c62c44bc28c76a522bd9c.tar.gz
gsoc2013-empathy-c94e72f743ef680db93c62c44bc28c76a522bd9c.tar.bz2
gsoc2013-empathy-c94e72f743ef680db93c62c44bc28c76a522bd9c.tar.lz
gsoc2013-empathy-c94e72f743ef680db93c62c44bc28c76a522bd9c.tar.xz
gsoc2013-empathy-c94e72f743ef680db93c62c44bc28c76a522bd9c.tar.zst
gsoc2013-empathy-c94e72f743ef680db93c62c44bc28c76a522bd9c.zip
Use empathy_file_lookup for glade files since some are in libempathy-gtk/ and others in src/
git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@813 4ee84921-47dd-4033-b63a-18d7a039a3e4
Diffstat (limited to 'libempathy-gtk/empathy-contact-dialogs.c')
-rw-r--r--libempathy-gtk/empathy-contact-dialogs.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-contact-dialogs.c b/libempathy-gtk/empathy-contact-dialogs.c
index 1805213a6..fd4ad9635 100644
--- a/libempathy-gtk/empathy-contact-dialogs.c
+++ b/libempathy-gtk/empathy-contact-dialogs.c
@@ -93,6 +93,7 @@ empathy_subscription_dialog_show (EmpathyContact *contact,
GtkWidget *hbox_subscription;
GtkWidget *contact_widget;
GList *l;
+ gchar *filename;
g_return_if_fail (EMPATHY_IS_CONTACT (contact));
@@ -104,12 +105,15 @@ empathy_subscription_dialog_show (EmpathyContact *contact,
return;
}
- empathy_glade_get_file_simple ("empathy-contact-dialogs.glade",
+ filename = empathy_file_lookup ("empathy-contact-dialogs.glade",
+ "libempathy-gtk");
+ empathy_glade_get_file_simple (filename,
"subscription_request_dialog",
NULL,
"subscription_request_dialog", &dialog,
"hbox_subscription", &hbox_subscription,
NULL);
+ g_free (filename);
contact_widget = empathy_contact_widget_new (contact,
EMPATHY_CONTACT_WIDGET_EDIT_ALIAS |