comparison gtk/gtkconv.c @ 14574:333989477bcd

[gaim-migrate @ 17298] On win32, ensure that conversation windows are initially put in a sane place (instead of just [0,0]). This can easily be extended to any other problematic windows. I should have done this a long time ago to prevent countless bug reports. committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Sun, 17 Sep 2006 23:13:55 +0000
parents 82b59abcaee4
children ac6120e2e27c
comparison
equal deleted inserted replaced
14573:9cbf4d3ef444 14574:333989477bcd
5548 gtk_widget_set_sensitive(win->menu.alias, 5548 gtk_widget_set_sensitive(win->menu.alias,
5549 (account != NULL) && 5549 (account != NULL) &&
5550 (gaim_blist_find_chat(account, gaim_conversation_get_name(conv)) != NULL)); 5550 (gaim_blist_find_chat(account, gaim_conversation_get_name(conv)) != NULL));
5551 } 5551 }
5552 5552
5553
5554 } else { 5553 } else {
5555 /* Account is offline */ 5554 /* Account is offline */
5556 /* Or it's a chat that we've left. */ 5555 /* Or it's a chat that we've left. */
5557 5556
5558 /* Then deal with menu items */ 5557 /* Then deal with menu items */
7501 7500
7502 gtk_container_add(GTK_CONTAINER(win->window), testidea); 7501 gtk_container_add(GTK_CONTAINER(win->window), testidea);
7503 7502
7504 gtk_widget_show(testidea); 7503 gtk_widget_show(testidea);
7505 7504
7505 #ifdef _WIN32
7506 g_signal_connect(G_OBJECT(win->window), "show",
7507 G_CALLBACK(gtkwgaim_ensure_onscreen), win->window);
7508 #endif
7509
7506 return win; 7510 return win;
7507 } 7511 }
7508 7512
7509 void 7513 void
7510 gaim_gtk_conv_window_destroy(GaimGtkWindow *win) 7514 gaim_gtk_conv_window_destroy(GaimGtkWindow *win)