diff src/gnome_applet_mgr.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 8a98f129c849
children 55faf2e3a134
line wrap: on
line diff
--- a/src/gnome_applet_mgr.c	Wed Apr 05 09:20:25 2000 +0000
+++ b/src/gnome_applet_mgr.c	Wed Apr 05 21:46:07 2000 +0000
@@ -268,6 +268,7 @@
 
 void applet_show_login(AppletWidget *widget, gpointer data) {
         show_login();
+	/*
         applet_widget_unregister_callback(APPLET_WIDGET(applet),"signon");
         applet_widget_register_callback(APPLET_WIDGET(applet),
                 "signoff",
@@ -280,6 +281,7 @@
                 _("Buddy List"),
                 (AppletCallbackFunc)make_buddy,
                 NULL);
+	*/
 }
 
 void insert_applet_away() {
@@ -312,8 +314,6 @@
 		awy = awy->next;
 		free(awayname);
 	}
-
-	MRI_user_status = online;
 }
 
 void remove_applet_away() {
@@ -337,8 +337,6 @@
 	}
 	applet_widget_unregister_callback_dir(APPLET_WIDGET(applet), "away/");
 	applet_widget_unregister_callback(APPLET_WIDGET(applet), "away");
-
-	MRI_user_status = away;
 }
 
 /***************************************************************