[empathy] always display the accounts dialog if we have to show a specific account
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] always display the accounts dialog if we have to show a specific account
- Date: Mon, 26 Sep 2011 14:00:19 +0000 (UTC)
commit b94efc724261560a27d879f4a8c6102a40d9a3d0
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Mon Sep 26 15:55:40 2011 +0200
always display the accounts dialog if we have to show a specific account
https://bugzilla.gnome.org/show_bug.cgi?id=660124
src/empathy-accounts-common.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/empathy-accounts-common.c b/src/empathy-accounts-common.c
index 23ea5f5..a08a1ef 100644
--- a/src/empathy-accounts-common.c
+++ b/src/empathy-accounts-common.c
@@ -138,7 +138,8 @@ empathy_accounts_show_accounts_ui (TpAccountManager *manager,
g_return_if_fail (TP_IS_ACCOUNT_MANAGER (manager));
g_return_if_fail (!account || TP_IS_ACCOUNT (account));
- if (empathy_accounts_has_non_salut_accounts (manager) && !assistant)
+ if ((empathy_accounts_has_non_salut_accounts (manager) && !assistant) ||
+ account != NULL)
{
do_show_accounts_ui (manager, account, window_destroyed_cb);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]