Mercurial > pidgin.yaz
diff src/buddy_chat.c @ 3683:e3583f15dfe0
[gaim-migrate @ 3813]
Does this work better?
committer: Tailor Script <tailor@pidgin.im>
author | Rob Flynn <gaim@robflynn.com> |
---|---|
date | Mon, 14 Oct 2002 04:52:31 +0000 |
parents | bdd0bebd2d04 |
children | 7ae5c5cf9b14 |
line wrap: on
line diff
--- a/src/buddy_chat.c Mon Oct 14 04:33:17 2002 +0000 +++ b/src/buddy_chat.c Mon Oct 14 04:52:31 2002 +0000 @@ -1175,6 +1175,8 @@ if (chat_options & OPT_CHAT_ONE_WINDOW) { if (!all_chats) { + GtkWidget *testidea; + win = all_chats = b->window = gtk_window_new(GTK_WINDOW_TOPLEVEL); if ((convo_options & OPT_CONVO_COMBINE) && (im_options & OPT_IM_ONE_WINDOW)) all_convos = all_chats; @@ -1206,9 +1208,14 @@ GTK_POS_TOP); } } + + testidea = gtk_vbox_new(FALSE, 0); + gtk_box_pack_start(GTK_BOX(testidea), chat_notebook, TRUE, TRUE, 0); + gtk_widget_show(testidea); + gtk_notebook_set_scrollable(GTK_NOTEBOOK(chat_notebook), TRUE); gtk_notebook_popup_enable(GTK_NOTEBOOK(chat_notebook)); - gtk_container_add(GTK_CONTAINER(win), chat_notebook); + gtk_container_add(GTK_CONTAINER(win), testidea); gtk_signal_connect(GTK_OBJECT(chat_notebook), "switch-page", GTK_SIGNAL_FUNC(convo_switch), NULL); gtk_widget_show(chat_notebook);