Mercurial > pidgin.yaz
comparison src/conversation.c @ 9606:03be9d653123
[gaim-migrate @ 10449]
(20:04:37) LSchiere: datallah: commit message?
(20:06:13) nosnilmot: LSchiere: "datallah removed some stuff and doesn't
know how to prevent extra tabs on blank lines" ;-)
(20:06:58) datallah: nosnilmot: i know.. i'm going to hell
(20:07:12) nosnilmot: datallah: save me a place :)
(20:07:21) datallah: "this should make multi-monitor people happier"
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Wed, 28 Jul 2004 00:07:02 +0000 |
parents | 5e1c76f3d232 |
children | 293de2970493 |
comparison
equal
deleted
inserted
replaced
9605:b5dd5cb72f56 | 9606:03be9d653123 |
---|---|
810 if ((windows == NULL) || (!gaim_prefs_get_bool("/gaim/gtk/conversations/tabs"))) | 810 if ((windows == NULL) || (!gaim_prefs_get_bool("/gaim/gtk/conversations/tabs"))) |
811 { | 811 { |
812 GaimConvWindow *win; | 812 GaimConvWindow *win; |
813 | 813 |
814 win = gaim_conv_window_new(); | 814 win = gaim_conv_window_new(); |
815 gaim_conv_window_add_conversation(win, conv); | 815 |
816 | |
817 /* Ensure the window is visible. */ | 816 /* Ensure the window is visible. */ |
818 gaim_conv_window_show(win); | 817 gaim_conv_window_show(win); |
818 | |
819 gaim_conv_window_add_conversation(win, conv); | |
819 } | 820 } |
820 else | 821 else |
821 { | 822 { |
822 if (place_conv == NULL) | 823 if (place_conv == NULL) |
823 { | 824 { |
2083 GaimConversation *conv; | 2084 GaimConversation *conv; |
2084 GaimConversationUiOps *ops; | 2085 GaimConversationUiOps *ops; |
2085 GaimConvChatBuddy *cb; | 2086 GaimConvChatBuddy *cb; |
2086 char tmp[BUF_LONG]; | 2087 char tmp[BUF_LONG]; |
2087 GList *l; | 2088 GList *l; |
2088 gboolean quiet; | 2089 gboolean quiet = FALSE; |
2089 | 2090 |
2090 g_return_if_fail(chat != NULL); | 2091 g_return_if_fail(chat != NULL); |
2091 g_return_if_fail(users != NULL); | 2092 g_return_if_fail(users != NULL); |
2092 | 2093 |
2093 conv = gaim_conv_chat_get_conversation(chat); | 2094 conv = gaim_conv_chat_get_conversation(chat); |
2355 | 2356 |
2356 win = g_list_last(gaim_get_windows())->data; | 2357 win = g_list_last(gaim_get_windows())->data; |
2357 | 2358 |
2358 if (win == NULL) { | 2359 if (win == NULL) { |
2359 win = gaim_conv_window_new(); | 2360 win = gaim_conv_window_new(); |
2360 | 2361 gaim_conv_window_show(win); |
2361 gaim_conv_window_add_conversation(win, conv); | 2362 gaim_conv_window_add_conversation(win, conv); |
2362 gaim_conv_window_show(win); | |
2363 } | 2363 } |
2364 else | 2364 else |
2365 gaim_conv_window_add_conversation(win, conv); | 2365 gaim_conv_window_add_conversation(win, conv); |
2366 } | 2366 } |
2367 | 2367 |
2373 | 2373 |
2374 win = gaim_get_last_window_with_type(gaim_conversation_get_type(conv)); | 2374 win = gaim_get_last_window_with_type(gaim_conversation_get_type(conv)); |
2375 | 2375 |
2376 if (win == NULL) { | 2376 if (win == NULL) { |
2377 win = gaim_conv_window_new(); | 2377 win = gaim_conv_window_new(); |
2378 | 2378 gaim_conv_window_show(win); |
2379 gaim_conv_window_add_conversation(win, conv); | 2379 gaim_conv_window_add_conversation(win, conv); |
2380 gaim_conv_window_show(win); | |
2381 } | 2380 } |
2382 else | 2381 else |
2383 gaim_conv_window_add_conversation(win, conv); | 2382 gaim_conv_window_add_conversation(win, conv); |
2384 } | 2383 } |
2385 | 2384 |