summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2011-11-03 09:46:28 +0000
committerWill Thompson <will.thompson@collabora.co.uk>2011-11-03 10:27:30 +0000
commit33ec45d180708ec8c0be8309e91a29f313f4d2f3 (patch)
tree65585698b57539aa3684a3e38d15a5012f5d1ef4
parentcc746edd95fdc1802cd656eca664a7089de61745 (diff)
mc-tool: show ChangingPresence
-rw-r--r--util/mc-tool.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/util/mc-tool.c b/util/mc-tool.c
index 86635d1d..f55d4bb9 100644
--- a/util/mc-tool.c
+++ b/util/mc-tool.c
@@ -640,6 +640,8 @@ command_show (TpAccount *account)
show ("Nickname", tp_account_get_nickname (account));
show ("Service", tp_account_get_service (account));
+ puts ("");
+ puts ("Presences:");
automatic.type = tp_account_get_automatic_presence (account,
&automatic.status,
&automatic.message);
@@ -658,6 +660,9 @@ command_show (TpAccount *account)
show_presence ("Requested", &requested);
free_presence (&requested);
+ show ("Changing",
+ tp_account_get_changing_presence (account) ? "yes" : "no");
+
puts ("");
parameters = tp_account_get_parameters (account);