Mercurial > pidgin
diff src/multi.c @ 1114:c61f9c384413
[gaim-migrate @ 1124]
update to STATUS, pass -Wall, and fix some applet stupidity for failed signons.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Tue, 21 Nov 2000 01:00:45 +0000 |
parents | c73736fa0b7c |
children | 114cd406b022 |
line wrap: on
line diff
--- a/src/multi.c Tue Nov 21 00:16:44 2000 +0000 +++ b/src/multi.c Tue Nov 21 01:00:45 2000 +0000 @@ -851,4 +851,13 @@ if (gc->meter) gtk_widget_destroy(gc->meter); gc->meter = NULL; +#ifdef USE_APPLET + if (g_slist_length(connections) > 1) { + /* we still have connections left, we can still be online */ + set_user_state(online); + } else { + /* this connection is about to be destroyed, so let's go offline */ + set_user_state(offline); + } +#endif }