[empathy] explain why the account has been disabled



commit e8dae499471d378eae7b0f1bff92b4b0788a0bc7
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Wed Nov 16 15:30:08 2011 +0100

    explain why the account has been disabled
    
    https://bugzilla.gnome.org/show_bug.cgi?id=663829

 src/empathy-accounts-dialog.c |   15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)
---
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index 1f07dc8..d25766c 100644
--- a/src/empathy-accounts-dialog.c
+++ b/src/empathy-accounts-dialog.c
@@ -433,8 +433,19 @@ accounts_dialog_update_status_infobar (EmpathyAccountsDialog *dialog,
     }
   else
     {
-      accounts_dialog_status_infobar_set_message (dialog,
-          _("Offline â Account Disabled"));
+      if (!tp_strdiff (tp_account_get_connection_manager (account),
+            "butterfly"))
+        {
+          accounts_dialog_status_infobar_set_message (dialog,
+              _("This account has been disabled because it relies on an old, "
+                "unsupported backend. Please install telepathy-haze and "
+                "restart your session to migrate the account."));
+        }
+      else
+        {
+          accounts_dialog_status_infobar_set_message (dialog,
+              _("Offline â Account Disabled"));
+        }
 
       gtk_info_bar_set_message_type (GTK_INFO_BAR (priv->infobar),
           GTK_MESSAGE_WARNING);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]