diff src/conversation.c @ 4818:1c371e4244d6

[gaim-migrate @ 5142] brought to you by the letter T and the number 0, I give you tabless conversation windows. committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Tue, 18 Mar 2003 03:23:00 +0000
parents 677d3cb193a1
children 9567b13d0e98
line wrap: on
line diff
--- a/src/conversation.c	Tue Mar 18 03:03:58 2003 +0000
+++ b/src/conversation.c	Tue Mar 18 03:23:00 2003 +0000
@@ -904,7 +904,9 @@
 	 * Create a window if one does not exist. If it does, use the last
 	 * created window.
 	 */
-	if (windows == NULL) {
+	if (windows == NULL ||
+			(type == GAIM_CONV_IM && !(im_options & OPT_IM_ONE_WINDOW)) ||
+			(type == GAIM_CONV_CHAT && !(chat_options & OPT_CHAT_ONE_WINDOW))) {
 		struct gaim_window *win;
 
 		win = gaim_window_new();