Mercurial > pidgin.yaz
changeset 1590:b4e54a752676
[gaim-migrate @ 1600]
more fun stuff.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Fri, 16 Mar 2001 09:37:44 +0000 |
parents | 963f761c5511 |
children | 5c74d8b6cb57 |
files | src/buddy.c src/conversation.c |
diffstat | 2 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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;
--- 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)); +}