Mercurial > pidgin.yaz
changeset 4028:ab831dca298a
[gaim-migrate @ 4232]
this should fix the loss of focus when you are on the first tab and a new tab
is created. thanks to ldexter for pointing me to the right segment of code and
for bugging me untill i sat down and figured out what it should be testing,
and to chipx86 for helping me with the test itself and for helping test the
code.
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Sun, 01 Dec 2002 04:28:03 +0000 |
parents | 764b41bb1905 |
children | 31480901bf29 |
files | src/conversation.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/conversation.c Sun Dec 01 03:10:39 2002 +0000 +++ b/src/conversation.c Sun Dec 01 04:28:03 2002 +0000 @@ -3030,7 +3030,8 @@ gtk_widget_show(win); if (!(im_options & OPT_IM_ONE_WINDOW) - || gtk_notebook_get_current_page(GTK_NOTEBOOK(convo_notebook)) == 0) + || ((gtk_notebook_get_current_page(GTK_NOTEBOOK(convo_notebook)) == 0) + && (c == g_list_nth_data(conversations, 0)))) gtk_widget_grab_focus(c->entry); }