| 4373 gtk_box_pack_start(GTK_BOX(vbox), gtkconv->lower_hbox, FALSE, FALSE, 0); |
4373 gtk_box_pack_start(GTK_BOX(vbox), gtkconv->lower_hbox, FALSE, FALSE, 0); |
| 4374 gtk_widget_show(gtkconv->lower_hbox); |
4374 gtk_widget_show(gtkconv->lower_hbox); |
| 4375 |
4375 |
| 4376 /* Setup the entry widget and all signals */ |
4376 /* Setup the entry widget and all signals */ |
| 4377 gtkconv->editor = talkatu_editor_new(); |
4377 gtkconv->editor = talkatu_editor_new(); |
| 4378 talkatu_editor_set_buffer(TALKATU_BUFFER(gtkconv->editor), talkatu_html_buffer_new()); |
4378 talkatu_editor_set_buffer(TALKATU_EDITOR(gtkconv->editor), talkatu_html_buffer_new()); |
| 4379 gtk_box_pack_start(GTK_BOX(gtkconv->lower_hbox), gtkconv->editor, TRUE, TRUE, 0); |
4379 gtk_box_pack_start(GTK_BOX(gtkconv->lower_hbox), gtkconv->editor, TRUE, TRUE, 0); |
| 4380 |
4380 |
| 4381 view = talkatu_editor_get_view(TALKATU_EDITOR(gtkconv->editor)); |
4381 view = talkatu_editor_get_view(TALKATU_EDITOR(gtkconv->editor)); |
| 4382 gtk_widget_set_name(view, "pidgin_conv_entry"); |
4382 gtk_widget_set_name(view, "pidgin_conv_entry"); |
| 4383 talkatu_view_set_send_binding(TALKATU_VIEW(view), TALKATU_VIEW_SEND_BINDING_RETURN | TALKATU_VIEW_SEND_BINDING_KP_ENTER); |
4383 talkatu_view_set_send_binding(TALKATU_VIEW(view), TALKATU_VIEW_SEND_BINDING_RETURN | TALKATU_VIEW_SEND_BINDING_KP_ENTER); |