Mercurial > pidgin.yaz
comparison src/conversation.c @ 9155:e0c50af60837
[gaim-migrate @ 9939]
Change the conversation tab preferences a bit.
If tabs are disabled then Gaim will always put new convs in a new
window, regardless of what your placement option is.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 01 Jun 2004 01:39:18 +0000 |
parents | 05532ad61ed5 |
children | 1e51236d825e |
comparison
equal
deleted
inserted
replaced
9154:dcb290a0c970 | 9155:e0c50af60837 |
---|---|
845 | 845 |
846 /* Auto-set the title. */ | 846 /* Auto-set the title. */ |
847 gaim_conversation_autoset_title(conv); | 847 gaim_conversation_autoset_title(conv); |
848 | 848 |
849 /* | 849 /* |
850 * Create a window if one does not exist. If it does, use the last | 850 * Place the conversation somewhere. If there are no conversation |
851 * created window. | 851 * windows open, or if tabbed conversations are not enabled, then |
852 * place the conversation in a new window by itself. Otherwise use | |
853 * the chosen conversation placement function. | |
852 */ | 854 */ |
853 if (windows == NULL) | 855 if ((windows == NULL) || (!gaim_prefs_get_bool("/gaim/gtk/conversations/tabs"))) |
854 { | 856 { |
855 GaimConvWindow *win; | 857 GaimConvWindow *win; |
856 | 858 |
857 win = gaim_conv_window_new(); | 859 win = gaim_conv_window_new(); |
858 gaim_conv_window_add_conversation(win, conv); | 860 gaim_conv_window_add_conversation(win, conv); |
2406 | 2408 |
2407 /* Make a new window. */ | 2409 /* Make a new window. */ |
2408 conv_placement_new_window(conv); | 2410 conv_placement_new_window(conv); |
2409 } | 2411 } |
2410 | 2412 |
2411 #if 0 /* I don't like this */ | 2413 #if 0 /* PREFSLASH04 */ |
2412 | 2414 |
2413 static void | 2415 static void |
2414 conv_placement_by_number(GaimConversation *conv) | 2416 conv_placement_by_number(GaimConversation *conv) |
2415 { | 2417 { |
2416 GaimConvWindow *win = NULL; | 2418 GaimConvWindow *win = NULL; |