diff src/aim.c @ 3948:40258b6b5ecf

[gaim-migrate @ 4127] systray functionality change committer: Tailor Script <tailor@pidgin.im>
author Herman Bloggs <hermanator12002@yahoo.com>
date Mon, 11 Nov 2002 21:54:53 +0000
parents 41e7544a9c67
children b188b93ebf48
line wrap: on
line diff
--- a/src/aim.c	Mon Nov 11 21:51:45 2002 +0000
+++ b/src/aim.c	Mon Nov 11 21:54:53 2002 +0000
@@ -339,6 +339,11 @@
 	gtk_signal_connect(GTK_OBJECT(button), "clicked", GTK_SIGNAL_FUNC(dologin), mainwindow);
 	gtk_box_pack_start(GTK_BOX(hbox), button, FALSE, FALSE, 0);
 
+#ifdef _WIN32
+	/* Register newly created window with systray module */
+	wgaim_created_loginwin(GTK_WIDGET(mainwindow));
+#endif
+
 	/* Now grab the focus that we need */
 	if (aim_users) {
 		struct aim_user *c = (struct aim_user *)aim_users->data;