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 /src/empathy-main-window.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 'src/empathy-main-window.c')
-rw-r--r-- | src/empathy-main-window.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c index 6f3ad5481..79fb1d392 100644 --- a/src/empathy-main-window.c +++ b/src/empathy-main-window.c @@ -186,6 +186,7 @@ empathy_main_window_show (void) gboolean show_avatars; gboolean compact_contact_list; gint x, y, w, h; + gchar *filename; if (window) { empathy_window_present (GTK_WINDOW (window->window), TRUE); @@ -195,7 +196,8 @@ empathy_main_window_show (void) window = g_new0 (EmpathyMainWindow, 1); /* Set up interface */ - glade = empathy_glade_get_file ("empathy-main-window.glade", + filename = empathy_file_lookup ("empathy-main-window.glade", "src"); + glade = empathy_glade_get_file (filename, "main_window", NULL, "main_window", &window->window, @@ -210,6 +212,7 @@ empathy_main_window_show (void) "presence_toolbar", &window->presence_toolbar, "roster_scrolledwindow", &sw, NULL); + g_free (filename); empathy_glade_connect (glade, window, |