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-spell-dialog.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-spell-dialog.c')
-rw-r--r-- | libempathy-gtk/empathy-spell-dialog.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-spell-dialog.c b/libempathy-gtk/empathy-spell-dialog.c index 7f4d75a13..59e5867b4 100644 --- a/libempathy-gtk/empathy-spell-dialog.c +++ b/libempathy-gtk/empathy-spell-dialog.c @@ -32,6 +32,8 @@ #include <gtk/gtksizegroup.h> #include <glade/glade.h> +#include <libempathy/empathy-utils.h> + #include "empathy-chat.h" #include "empathy-spell-dialog.h" #include "empathy-ui-utils.h" @@ -224,6 +226,7 @@ empathy_spell_dialog_show (EmpathyChat *chat, EmpathySpellDialog *dialog; GladeXML *gui; gchar *str; + gchar *filename; g_return_if_fail (chat != NULL); g_return_if_fail (word != NULL); @@ -237,7 +240,9 @@ empathy_spell_dialog_show (EmpathyChat *chat, dialog->start = start; dialog->end = end; - gui = empathy_glade_get_file ("empathy-spell-dialog.glade", + filename = empathy_file_lookup ("empathy-spell-dialog.glade", + "libempathy-gtk"); + gui = empathy_glade_get_file (filename, "spell_dialog", NULL, "spell_dialog", &dialog->window, @@ -245,6 +250,7 @@ empathy_spell_dialog_show (EmpathyChat *chat, "label_word", &dialog->label_word, "treeview_words", &dialog->treeview_words, NULL); + g_free (filename); empathy_glade_connect (gui, dialog, |