# HG changeset patch # User Sean Egan # Date 1022813887 0 # Node ID e71ade93b98fb21ae6199e790ee26081b7f5bf6b # Parent 7b867d79da96ad3e9c15e055a1290c955ef23d67 [gaim-migrate @ 3303] typo-fix and Chris Boyle's patch to add an "auto-login" item to the applet menu. Thanks, Chris. committer: Tailor Script diff -r 7b867d79da96 -r e71ade93b98f configure.in --- a/configure.in Fri May 31 02:26:53 2002 +0000 +++ b/configure.in Fri May 31 02:58:07 2002 +0000 @@ -234,6 +234,7 @@ dnl Check for XScreenSaver if test "x$enable_xss" = "xyes" ; then + AC_PATH_X old_LIBS="$LIBS" LIBS="$LIBS $UI_LIBS -L$x_libraries" XSS_LIBS="no" diff -r 7b867d79da96 -r e71ade93b98f src/aim.c --- a/src/aim.c Fri May 31 02:26:53 2002 +0000 +++ b/src/aim.c Fri May 31 02:58:07 2002 +0000 @@ -148,6 +148,7 @@ } #ifdef USE_APPLET set_user_state(online); + applet_widget_unregister_callback(APPLET_WIDGET(applet), "autologin"); applet_widget_register_callback(APPLET_WIDGET(applet), "signoff", _("Signoff"), (AppletCallbackFunc)signoff_all, NULL); #endif /* USE_APPLET */ @@ -833,6 +834,9 @@ "plugins", _("Plugins"), GTK_SIGNAL_FUNC(show_plugins), NULL); #endif /* GAIM_PLUGINS */ + applet_widget_register_callback(APPLET_WIDGET(applet), + "autologin", _("Auto-login"), (AppletCallbackFunc)auto_login, NULL); + if (!opt_acct) auto_login(); diff -r 7b867d79da96 -r e71ade93b98f src/multi.c --- a/src/multi.c Fri May 31 02:26:53 2002 +0000 +++ b/src/multi.c Fri May 31 02:58:07 2002 +0000 @@ -1468,6 +1468,8 @@ if (applet) { /* These don't have any purpose if the applet is gone :-P */ applet_widget_unregister_callback(APPLET_WIDGET(applet), "signoff"); + applet_widget_register_callback(APPLET_WIDGET(applet), + "autologin", _("Auto-login"), (AppletCallbackFunc)auto_login, NULL); remove_applet_away(); } #else