Mercurial > pidgin.yaz
comparison src/gtkconv.c @ 7741:cbf4725c60aa
[gaim-migrate @ 8386]
overcast
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Thu, 04 Dec 2003 08:04:32 +0000 |
parents | ddc450689c05 |
children | 8165ab2a00e6 |
comparison
equal
deleted
inserted
replaced
7740:ddc450689c05 | 7741:cbf4725c60aa |
---|---|
3560 | 3560 |
3561 gtkconv->entry = gtk_imhtml_new(NULL, NULL); | 3561 gtkconv->entry = gtk_imhtml_new(NULL, NULL); |
3562 gtkconv->entry_buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(gtkconv->entry)); | 3562 gtkconv->entry_buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(gtkconv->entry)); |
3563 g_object_set_data(G_OBJECT(gtkconv->entry_buffer), "user_data", conv); | 3563 g_object_set_data(G_OBJECT(gtkconv->entry_buffer), "user_data", conv); |
3564 gtk_imhtml_set_editable(GTK_IMHTML(gtkconv->entry), TRUE); | 3564 gtk_imhtml_set_editable(GTK_IMHTML(gtkconv->entry), TRUE); |
3565 gaim_setup_imhtml(GTK_IMHTML(gtkconv->entry)); | 3565 gaim_setup_imhtml(gtkconv->entry); |
3566 | 3566 |
3567 gtk_text_view_set_wrap_mode(GTK_TEXT_VIEW(gtkconv->entry), GTK_WRAP_WORD_CHAR); | 3567 gtk_text_view_set_wrap_mode(GTK_TEXT_VIEW(gtkconv->entry), GTK_WRAP_WORD_CHAR); |
3568 gtk_widget_set_size_request(gtkconv->entry, -1, | 3568 gtk_widget_set_size_request(gtkconv->entry, -1, |
3569 MAX(gaim_prefs_get_int("/gaim/gtk/conversations/chat/entry_height"), | 3569 MAX(gaim_prefs_get_int("/gaim/gtk/conversations/chat/entry_height"), |
3570 25)); | 3570 25)); |
3571 | 3571 |
3659 gtk_box_pack_start(GTK_BOX(vbox2), frame, TRUE, TRUE, 0); | 3659 gtk_box_pack_start(GTK_BOX(vbox2), frame, TRUE, TRUE, 0); |
3660 gtk_widget_show(frame); | 3660 gtk_widget_show(frame); |
3661 | 3661 |
3662 gtkconv->entry = gtk_imhtml_new(NULL, NULL); | 3662 gtkconv->entry = gtk_imhtml_new(NULL, NULL); |
3663 gtk_imhtml_set_editable(GTK_IMHTML(gtkconv->entry), TRUE); | 3663 gtk_imhtml_set_editable(GTK_IMHTML(gtkconv->entry), TRUE); |
3664 gaim_setup_imhtml(GTK_IMHTML(gtkconv->entry)); | 3664 gaim_setup_imhtml(gtkconv->entry); |
3665 gtkconv->entry_buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(gtkconv->entry)); | 3665 gtkconv->entry_buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(gtkconv->entry)); |
3666 g_object_set_data(G_OBJECT(gtkconv->entry_buffer), "user_data", conv); | 3666 g_object_set_data(G_OBJECT(gtkconv->entry_buffer), "user_data", conv); |
3667 gtk_text_view_set_wrap_mode(GTK_TEXT_VIEW(gtkconv->entry), GTK_WRAP_WORD_CHAR); | 3667 gtk_text_view_set_wrap_mode(GTK_TEXT_VIEW(gtkconv->entry), GTK_WRAP_WORD_CHAR); |
3668 gtk_widget_set_size_request(gtkconv->entry, -1, | 3668 gtk_widget_set_size_request(gtkconv->entry, -1, |
3669 MAX(gaim_prefs_get_int("/gaim/gtk/conversations/im/entry_height"), | 3669 MAX(gaim_prefs_get_int("/gaim/gtk/conversations/im/entry_height"), |