diff options
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-accounts-dialog.c | 2 | ||||
-rw-r--r-- | libempathy-gtk/empathy-contact-widget.c | 5 | ||||
-rw-r--r-- | libempathy-gtk/empathy-new-chatroom-dialog.c | 2 |
3 files changed, 4 insertions, 5 deletions
diff --git a/libempathy-gtk/empathy-accounts-dialog.c b/libempathy-gtk/empathy-accounts-dialog.c index 3f2911972..e8a87d173 100644 --- a/libempathy-gtk/empathy-accounts-dialog.c +++ b/libempathy-gtk/empathy-accounts-dialog.c @@ -288,7 +288,7 @@ accounts_dialog_update_account (EmpathyAccountsDialog *dialog, dialog ->settings_widget = empathy_account_widget_msn_new (account); } - else if (!empathy_strdiff (config_ui, "salut")) { + else if (!empathy_strdiff (config_ui, "local-xmpp")) { dialog->settings_widget = empathy_account_widget_salut_new (account); } 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; diff --git a/libempathy-gtk/empathy-new-chatroom-dialog.c b/libempathy-gtk/empathy-new-chatroom-dialog.c index 7b5adc011..75a52fa6f 100644 --- a/libempathy-gtk/empathy-new-chatroom-dialog.c +++ b/libempathy-gtk/empathy-new-chatroom-dialog.c @@ -314,7 +314,7 @@ new_chatroom_dialog_update_widgets (EmpathyNewChatroomDialog *dialog) gtk_widget_show (dialog->vbox_browse); } - else if (strcmp (protocol, "salut") == 0) { + else if (strcmp (protocol, "local-xmpp") == 0) { gtk_widget_set_sensitive (dialog->entry_server, FALSE); gtk_widget_show (dialog->vbox_browse); } |