comparison src/main.c @ 4880:9b51c090236a

[gaim-migrate @ 5210] removed wgaim_created_loginwin committer: Tailor Script <tailor@pidgin.im>
author Herman Bloggs <hermanator12002@yahoo.com>
date Mon, 24 Mar 2003 18:27:00 +0000
parents 4af15fbcb00a
children ec3830b344f2
comparison
equal deleted inserted replaced
4879:4f5bd9a2da37 4880:9b51c090236a
274 } 274 }
275 275
276 static void login_window_closed(GtkWidget *w, GdkEvent *ev, gpointer d) 276 static void login_window_closed(GtkWidget *w, GdkEvent *ev, gpointer d)
277 { 277 {
278 if(docklet_count) { 278 if(docklet_count) {
279 #if _WIN32 279 #ifdef _WIN32
280 wgaim_systray_minimize(mainwindow); 280 wgaim_systray_minimize(mainwindow);
281 #endif 281 #endif
282 gtk_widget_hide(mainwindow); 282 gtk_widget_hide(mainwindow);
283 } else 283 } else
284 do_quit(); 284 do_quit();
382 gtk_button_set_relief(GTK_BUTTON(button), GTK_RELIEF_NONE); 382 gtk_button_set_relief(GTK_BUTTON(button), GTK_RELIEF_NONE);
383 g_signal_connect(G_OBJECT(button), "clicked", 383 g_signal_connect(G_OBJECT(button), "clicked",
384 G_CALLBACK(dologin), mainwindow); 384 G_CALLBACK(dologin), mainwindow);
385 g_signal_connect(G_OBJECT(button), "button-press-event", G_CALLBACK(domiddleclick), NULL); 385 g_signal_connect(G_OBJECT(button), "button-press-event", G_CALLBACK(domiddleclick), NULL);
386 gtk_box_pack_start(GTK_BOX(hbox), button, FALSE, FALSE, 0); 386 gtk_box_pack_start(GTK_BOX(hbox), button, FALSE, FALSE, 0);
387
388 #ifdef _WIN32
389 /* Register newly created window with systray module */
390 wgaim_created_loginwin(GTK_WIDGET(mainwindow));
391 #endif
392 387
393 /* Now grab the focus that we need */ 388 /* Now grab the focus that we need */
394 if (gaim_accounts) { 389 if (gaim_accounts) {
395 struct gaim_account *account = gaim_accounts->data; 390 struct gaim_account *account = gaim_accounts->data;
396 if (account->options & OPT_ACCT_REM_PASS) { 391 if (account->options & OPT_ACCT_REM_PASS) {