]> git.0d.be Git - empathy.git/commitdiff
accounts-dialog: update the status info when account when account is enabled
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Fri, 26 Feb 2010 13:35:53 +0000 (13:35 +0000)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Sat, 27 Feb 2010 17:52:59 +0000 (17:52 +0000)
If we are offline and we enable a disabled account, the info bar message
should be updated from "Acconut Disabled" to "Status is set to Offline"
(#610847).

src/empathy-accounts-dialog.c

index e34903f12b4401326a5c9adda19ddb292f962739..1256a1758bfce3af50aaff3f3338d7e08d93eaf9 100644 (file)
@@ -1685,9 +1685,8 @@ enable_or_disable_account (EmpathyAccountsDialog *dialog,
   /* Update the status in the model */
   model = gtk_tree_view_get_model (GTK_TREE_VIEW (priv->treeview));
 
-  /* Update the status-infobar in the details view when disabling */
-  if (!enabled)
-    accounts_dialog_update_status_infobar (dialog, account);
+  /* Update the status-infobar in the details view */
+  accounts_dialog_update_status_infobar (dialog, account);
 
   DEBUG ("Account %s is now %s",
       tp_account_get_display_name (account),