Mercurial > pidgin
diff src/away.c @ 84:51943f1a97a0
[gaim-migrate @ 94]
Changed how some of the applet away and callbacks work so that you can't
open the buddy list or be away without signing on first. Also made it so
you can't try to sign on *while* signing on, by clicking "signon" while
already signing on. Apparently, this had caused segfaults and other bad
things to happen to some people.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Wed, 05 Apr 2000 21:46:07 +0000 |
parents | bfdc427b936d |
children | 55faf2e3a134 |
line wrap: on
line diff
--- a/src/away.c Wed Apr 05 09:20:25 2000 +0000 +++ b/src/away.c Wed Apr 05 21:46:07 2000 +0000 @@ -33,6 +33,9 @@ #include "gaim.h" static GtkWidget *imaway=NULL; +#ifdef USE_APPLET +extern enum gaim_user_states MRI_user_status; +#endif GtkWidget *awaymenu; struct away_message *awaymessage = NULL; @@ -56,6 +59,7 @@ (AppletCallbackFunc)make_buddy, NULL); } + MRI_user_status = online; insert_applet_away(); #endif /* USE_APPLET */ if (imaway) { @@ -93,6 +97,7 @@ _("Back"), (AppletCallbackFunc) do_im_back, NULL); + MRI_user_status = away; #endif if (!imaway) {