Mercurial > pidgin.yaz
comparison src/conversation.c @ 9614:c35c6b56a35f
[gaim-migrate @ 10458]
(22:21:59) datallah: "oops" ?
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Fri, 30 Jul 2004 02:20:49 +0000 |
parents | 1b13160bf5a4 |
children | c001be3c330e |
comparison
equal
deleted
inserted
replaced
9613:1b13160bf5a4 | 9614:c35c6b56a35f |
---|---|
811 { | 811 { |
812 GaimConvWindow *win; | 812 GaimConvWindow *win; |
813 | 813 |
814 win = gaim_conv_window_new(); | 814 win = gaim_conv_window_new(); |
815 | 815 |
816 gaim_conv_window_add_conversation(win, conv); | |
817 | |
816 /* Ensure the window is visible. */ | 818 /* Ensure the window is visible. */ |
817 gaim_conv_window_show(win); | 819 gaim_conv_window_show(win); |
818 | |
819 gaim_conv_window_add_conversation(win, conv); | |
820 } | 820 } |
821 else | 821 else |
822 { | 822 { |
823 if (place_conv == NULL) | 823 if (place_conv == NULL) |
824 { | 824 { |
2356 | 2356 |
2357 win = g_list_last(gaim_get_windows())->data; | 2357 win = g_list_last(gaim_get_windows())->data; |
2358 | 2358 |
2359 if (win == NULL) { | 2359 if (win == NULL) { |
2360 win = gaim_conv_window_new(); | 2360 win = gaim_conv_window_new(); |
2361 | |
2362 gaim_conv_window_add_conversation(win, conv); | |
2361 gaim_conv_window_show(win); | 2363 gaim_conv_window_show(win); |
2362 gaim_conv_window_add_conversation(win, conv); | |
2363 } | 2364 } |
2364 else | 2365 else |
2365 gaim_conv_window_add_conversation(win, conv); | 2366 gaim_conv_window_add_conversation(win, conv); |
2366 } | 2367 } |
2367 | 2368 |
2373 | 2374 |
2374 win = gaim_get_last_window_with_type(gaim_conversation_get_type(conv)); | 2375 win = gaim_get_last_window_with_type(gaim_conversation_get_type(conv)); |
2375 | 2376 |
2376 if (win == NULL) { | 2377 if (win == NULL) { |
2377 win = gaim_conv_window_new(); | 2378 win = gaim_conv_window_new(); |
2379 | |
2380 gaim_conv_window_add_conversation(win, conv); | |
2378 gaim_conv_window_show(win); | 2381 gaim_conv_window_show(win); |
2379 gaim_conv_window_add_conversation(win, conv); | |
2380 } | 2382 } |
2381 else | 2383 else |
2382 gaim_conv_window_add_conversation(win, conv); | 2384 gaim_conv_window_add_conversation(win, conv); |
2383 } | 2385 } |
2384 | 2386 |