# HG changeset patch # User Eric Warmenhoven # Date 984735464 0 # Node ID b4e54a7526767e4172d7b8d0931d048cbb08f331 # Parent 963f761c5511803e482891596b52862323af7a72 [gaim-migrate @ 1600] more fun stuff. committer: Tailor Script diff -r 963f761c5511 -r b4e54a752676 src/buddy.c --- a/src/buddy.c Fri Mar 16 09:29:03 2001 +0000 +++ b/src/buddy.c Fri Mar 16 09:37:44 2001 +0000 @@ -420,6 +420,7 @@ update_buttons_by_protocol(c); } + raise_convo_tab(c); } else if (event->type == GDK_BUTTON_PRESS && event->button == 3) { GtkWidget *menu; GtkWidget *button; diff -r 963f761c5511 -r b4e54a752676 src/conversation.c --- a/src/conversation.c Fri Mar 16 09:29:03 2001 +0000 +++ b/src/conversation.c Fri Mar 16 09:37:44 2001 +0000 @@ -2199,3 +2199,8 @@ gtk_notebook_get_nth_page(GTK_NOTEBOOK(convo_notebook), g_list_index(conversations, c)))), text); } + +void raise_convo_tab(struct conversation *c) +{ + gtk_notebook_set_page(GTK_NOTEBOOK(convo_notebook), g_list_index(conversations, c)); +}