# HG changeset patch # User Luke Schierer # Date 1125974126 0 # Node ID d446fcc2c63b25c7832a7fa729dc36845056c004 # Parent 7e671f619c3c57e23c212d989049c79ef2194422 [gaim-migrate @ 13692] nosnilmot is likely right. I should have done this more slowly. committer: Tailor Script diff -r 7e671f619c3c -r d446fcc2c63b src/gtkconv.c --- a/src/gtkconv.c Tue Sep 06 01:55:44 2005 +0000 +++ b/src/gtkconv.c Tue Sep 06 02:35:26 2005 +0000 @@ -269,15 +269,19 @@ /* I think that the above justification is not the majority, and that the new tab resizing should negate it anyway. --luke*/ if (gaim_conversation_get_type(conv) == GAIM_CONV_TYPE_IM) { - gaim_prefs_set_int("/gaim/gtk/conversations/im/default_width", allocation->width); - gaim_prefs_set_int("/gaim/gtk/conversations/im/default_height", allocation->height); + if (w == gtkconv->imhtml) { + gaim_prefs_set_int("/gaim/gtk/conversations/im/default_width", allocation->width); + gaim_prefs_set_int("/gaim/gtk/conversations/im/default_height", allocation->height); + } if (w == gtkconv->entry) gaim_prefs_set_int("/gaim/gtk/conversations/im/entry_height", allocation->height); } else if (gaim_conversation_get_type(conv) == GAIM_CONV_TYPE_CHAT) { - gaim_prefs_set_int("/gaim/gtk/conversations/chat/default_width", allocation->width); - gaim_prefs_set_int("/gaim/gtk/conversations/chat/default_height", allocation->height); + if (w == gtkconv->imhtml) { + gaim_prefs_set_int("/gaim/gtk/conversations/chat/default_width", allocation->width); + gaim_prefs_set_int("/gaim/gtk/conversations/chat/default_height", allocation->height); + } if (w == gtkconv->entry) gaim_prefs_set_int("/gaim/gtk/conversations/chat/entry_height", allocation->height); }