aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-contact-widget.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2007-08-25 05:24:01 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2007-08-25 05:24:01 +0800
commitfac0f3d315c75175abd27f348bf8ce04c3bb9a58 (patch)
tree0c31a04bcda69115e49db252c27b58f3e2dd0376 /libempathy-gtk/empathy-contact-widget.c
parent8cbc5f2429a0160c79c55efac222b51982b50640 (diff)
downloadgsoc2013-empathy-fac0f3d315c75175abd27f348bf8ce04c3bb9a58.tar
gsoc2013-empathy-fac0f3d315c75175abd27f348bf8ce04c3bb9a58.tar.gz
gsoc2013-empathy-fac0f3d315c75175abd27f348bf8ce04c3bb9a58.tar.bz2
gsoc2013-empathy-fac0f3d315c75175abd27f348bf8ce04c3bb9a58.tar.lz
gsoc2013-empathy-fac0f3d315c75175abd27f348bf8ce04c3bb9a58.tar.xz
gsoc2013-empathy-fac0f3d315c75175abd27f348bf8ce04c3bb9a58.tar.zst
gsoc2013-empathy-fac0f3d315c75175abd27f348bf8ce04c3bb9a58.zip
Salut's protocol name is going to change to local-xmpp. Fixes bug #469638
2007-08-24 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-new-chatroom-dialog.c: * libempathy-gtk/empathy-contact-widget.c: * libempathy-gtk/empathy-accounts-dialog.c: * libempathy/empathy-tp-contact-list.c: * data/salut.profile: Salut's protocol name is going to change to local-xmpp. Fixes bug #469638 (Sjoerd Simons) svn path=/trunk/; revision=270
Diffstat (limited to 'libempathy-gtk/empathy-contact-widget.c')
-rw-r--r--libempathy-gtk/empathy-contact-widget.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libempathy-gtk/empathy-contact-widget.c b/libempathy-gtk/empathy-contact-widget.c
index df780b84c..5c8f6d3d8 100644
--- a/libempathy-gtk/empathy-contact-widget.c
+++ b/libempathy-gtk/empathy-contact-widget.c
@@ -293,10 +293,9 @@ contact_widget_can_add_contact_to_account (McAccount *account,
profile = mc_account_get_profile (account);
protocol_name = mc_profile_get_protocol_name (profile);
- if (strcmp (protocol_name, "salut") == 0) {
+ if (strcmp (protocol_name, "local-xmpp") == 0) {
/* We can't add accounts to a XMPP LL connection
- * FIXME: We should take that information from the profile
- * to not hardcode the protocol name
+ * FIXME: We should inspect the flags of the contact list group interface
*/
g_object_unref (profile);
return FALSE;