Mercurial > pidgin.yaz
diff src/away.c @ 746:5a908dd5cfc4
[gaim-migrate @ 756]
i finally got pissed off enough at gnome_applet_mgr.c that i redid it
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Wed, 23 Aug 2000 04:14:47 +0000 |
parents | 4d3285caa191 |
children | c714def9cebb |
line wrap: on
line diff
--- a/src/away.c Wed Aug 23 02:43:34 2000 +0000 +++ b/src/away.c Wed Aug 23 04:14:47 2000 +0000 @@ -37,9 +37,6 @@ #include "pixmaps/join.xpm" GtkWidget *imaway=NULL; -#ifdef USE_APPLET -extern enum gaim_user_states MRI_user_status; -#endif GtkWidget *awaymenu = NULL; struct away_message *awaymessage = NULL; @@ -54,9 +51,9 @@ void do_im_back(GtkWidget *w, GtkWidget *x) { #ifdef USE_APPLET - applet_widget_unregister_callback(APPLET_WIDGET(applet),"away"); - MRI_user_status = online; - insert_applet_away(); + applet_widget_unregister_callback(APPLET_WIDGET(applet),"away"); + set_user_state(online); + insert_applet_away(); #endif /* USE_APPLET */ if (imaway) { gtk_widget_destroy(imaway); @@ -104,8 +101,8 @@ "away", _("Back"), (AppletCallbackFunc) do_im_back, - NULL); - MRI_user_status = away; + NULL); + set_user_state(away); #endif if (!imaway) {