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-status-icon.c | |
parent | 841b4512d41749ea2229f1ceb6ec7b77f9c78e81 (diff) | |
download | gsoc2013-empathy-f369aa1633fd6d1c02680e97006bc53e4b8e44eb.tar.gz 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-status-icon.c')
-rw-r--r-- | src/empathy-status-icon.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/empathy-status-icon.c b/src/empathy-status-icon.c index 07224b06c..7cd623b45 100644 --- a/src/empathy-status-icon.c +++ b/src/empathy-status-icon.c @@ -651,10 +651,12 @@ status_icon_create_menu (EmpathyStatusIcon *icon) { EmpathyStatusIconPriv *priv; GladeXML *glade; + gchar *filename; priv = GET_PRIV (icon); - glade = empathy_glade_get_file ("empathy-status-icon.glade", + filename = empathy_file_lookup ("empathy-status-icon.glade", "src"); + glade = empathy_glade_get_file (filename, "tray_menu", NULL, "tray_menu", &priv->popup_menu, @@ -662,6 +664,7 @@ status_icon_create_menu (EmpathyStatusIcon *icon) "tray_new_message", &priv->message_item, "tray_status", &priv->status_item, NULL); + g_free (filename); empathy_glade_connect (glade, icon, |