aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-09-26 21:55:40 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-09-26 21:55:54 +0800
commitb94efc724261560a27d879f4a8c6102a40d9a3d0 (patch)
treecce4805f14014b325e7a3362ab40831ad80d8cba
parent772c05a2b8704bf314b56887f98b3e7b67cb9b5b (diff)
downloadgsoc2013-empathy-b94efc724261560a27d879f4a8c6102a40d9a3d0.tar
gsoc2013-empathy-b94efc724261560a27d879f4a8c6102a40d9a3d0.tar.gz
gsoc2013-empathy-b94efc724261560a27d879f4a8c6102a40d9a3d0.tar.bz2
gsoc2013-empathy-b94efc724261560a27d879f4a8c6102a40d9a3d0.tar.lz
gsoc2013-empathy-b94efc724261560a27d879f4a8c6102a40d9a3d0.tar.xz
gsoc2013-empathy-b94efc724261560a27d879f4a8c6102a40d9a3d0.tar.zst
gsoc2013-empathy-b94efc724261560a27d879f4a8c6102a40d9a3d0.zip
always display the accounts dialog if we have to show a specific account
https://bugzilla.gnome.org/show_bug.cgi?id=660124
-rw-r--r--src/empathy-accounts-common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/empathy-accounts-common.c b/src/empathy-accounts-common.c
index 23ea5f508..a08a1ef77 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);
}