diff options
author | Will Thompson <will.thompson@collabora.co.uk> | 2011-09-23 14:25:39 +0100 |
---|---|---|
committer | Will Thompson <will.thompson@collabora.co.uk> | 2011-09-23 15:23:53 +0100 |
commit | 4bb6ce89cbc9a0dcb429a2bd42ee2c42d0a5c368 (patch) | |
tree | 2460f518173b9f390f1ba99fd423af36ae6bca5a /util | |
parent | bce94d7b182c05bfde407a6f5cdbb2effdc119a7 (diff) |
mc-tool: always show *some* value for ConnectAutomatically
Previously, if an account had ConnectAutomatically: True, then mc-tool
show would say:
Connects: automatically
But if the property was False, mc-tool show would not mention it. This
patch makes the command produce:
Connects: only when requested
in the latter case.
Diffstat (limited to 'util')
-rw-r--r-- | util/mc-tool.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/util/mc-tool.c b/util/mc-tool.c index 68e787c1..e50aa082 100644 --- a/util/mc-tool.c +++ b/util/mc-tool.c @@ -635,7 +635,8 @@ command_show (TpAccount *account) show ("Valid", tp_account_is_valid (account) ? "" : "false"); show ("Icon", tp_account_get_icon_name (account)); show ("Connects", - tp_account_get_connect_automatically (account) ? "automatically" : NULL); + tp_account_get_connect_automatically (account) + ? "automatically" : "only when requested"); show ("Nickname", tp_account_get_nickname (account)); show ("Service", tp_account_get_service (account)); |