Mercurial > pidgin
changeset 32140:def5b2a97fee
Fix log viewer by calling pidgin_create_webview.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Fri, 09 Sep 2011 01:58:59 +0000 |
parents | e28be6277234 |
children | 3b4c865dc2ce e7eba7a6a989 |
files | pidgin/gtklog.c |
diffstat | 1 files changed, 2 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/gtklog.c Fri Sep 09 01:56:54 2011 +0000 +++ b/pidgin/gtklog.c Fri Sep 09 01:58:59 2011 +0000 @@ -649,18 +649,11 @@ gtk_paned_add2(GTK_PANED(pane), vbox); /* Viewer ************/ - /* FIXME: - sw = gtk_scrolled_window_new (NULL, NULL); - gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (sw), GTK_SHADOW_IN); - gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(sw), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS); - - lv->web_view = gtk_webview_new (); - gtk_container_add (GTK_CONTAINER (sw), lv->web_view); - */ - frame = pidgin_create_imhtml(FALSE, &lv->web_view, NULL, NULL); + frame = pidgin_create_webview(FALSE, &lv->web_view, NULL, NULL); gtk_widget_set_name(lv->web_view, "pidgin_log_web_view"); gtk_widget_set_size_request(lv->web_view, 320, 200); gtk_box_pack_start(GTK_BOX(vbox), frame, TRUE, TRUE, 0); + gtk_widget_show(frame); /* Search box **********/ hbox = gtk_hbox_new(FALSE, PIDGIN_HIG_BOX_SPACE);