Mercurial > pidgin.yaz
comparison src/aim.c @ 3285:e71ade93b98f
[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 <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Fri, 31 May 2002 02:58:07 +0000 |
parents | 265a3c9d0557 |
children | f06c87748d91 |
comparison
equal
deleted
inserted
replaced
3284:7b867d79da96 | 3285:e71ade93b98f |
---|---|
146 logins_not_muted = 0; | 146 logins_not_muted = 0; |
147 snd_tmout = gtk_timeout_add(10000, (GtkFunction)sound_timeout, NULL); | 147 snd_tmout = gtk_timeout_add(10000, (GtkFunction)sound_timeout, NULL); |
148 } | 148 } |
149 #ifdef USE_APPLET | 149 #ifdef USE_APPLET |
150 set_user_state(online); | 150 set_user_state(online); |
151 applet_widget_unregister_callback(APPLET_WIDGET(applet), "autologin"); | |
151 applet_widget_register_callback(APPLET_WIDGET(applet), | 152 applet_widget_register_callback(APPLET_WIDGET(applet), |
152 "signoff", _("Signoff"), (AppletCallbackFunc)signoff_all, NULL); | 153 "signoff", _("Signoff"), (AppletCallbackFunc)signoff_all, NULL); |
153 #endif /* USE_APPLET */ | 154 #endif /* USE_APPLET */ |
154 } | 155 } |
155 | 156 |
831 #ifdef GAIM_PLUGINS | 832 #ifdef GAIM_PLUGINS |
832 applet_widget_register_callback(APPLET_WIDGET(applet), | 833 applet_widget_register_callback(APPLET_WIDGET(applet), |
833 "plugins", _("Plugins"), GTK_SIGNAL_FUNC(show_plugins), NULL); | 834 "plugins", _("Plugins"), GTK_SIGNAL_FUNC(show_plugins), NULL); |
834 #endif /* GAIM_PLUGINS */ | 835 #endif /* GAIM_PLUGINS */ |
835 | 836 |
837 applet_widget_register_callback(APPLET_WIDGET(applet), | |
838 "autologin", _("Auto-login"), (AppletCallbackFunc)auto_login, NULL); | |
839 | |
836 if (!opt_acct) | 840 if (!opt_acct) |
837 auto_login(); | 841 auto_login(); |
838 | 842 |
839 applet_widget_gtk_main(); | 843 applet_widget_gtk_main(); |
840 #else | 844 #else |