Mercurial > pidgin
changeset 16926:7e4a22162bb6
Show an error message when trying to add a buddy from an offline account.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Mon, 07 May 2007 18:10:39 +0000 |
parents | 9a568611fa4a |
children | 43abb4942a6d |
files | finch/gntblist.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/finch/gntblist.c Sun May 06 21:55:07 2007 +0000 +++ b/finch/gntblist.c Mon May 07 18:10:39 2007 +0000 @@ -280,6 +280,8 @@ error = _("You must provide a group."); else if (!account) error = _("You must select an account."); + else if (!purple_account_is_connected(account)) + error = _("The selected account is not online."); if (error) {