pidgin: c961bcf5: Fix log viewer by calling pidgin_create_...

qulogic at pidgin.im qulogic at pidgin.im
Thu Sep 8 22:01:04 EDT 2011


----------------------------------------------------------------------
Revision: c961bcf584968f59bf40a53c054956f94c878c76
Parent:   2dddad6679a194837063250ef0b9c159e255313f
Author:   qulogic at pidgin.im
Date:     09/08/11 21:58:59
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/c961bcf584968f59bf40a53c054956f94c878c76

Changelog: 

Fix log viewer by calling pidgin_create_webview.

Changes against parent 2dddad6679a194837063250ef0b9c159e255313f

  patched  pidgin/gtklog.c

-------------- next part --------------
============================================================
--- pidgin/gtklog.c	e20f9c033ba6f67054aa522a25ebb4d02b2f9fbb
+++ pidgin/gtklog.c	17a0b41148c50957bd4c16490c0eb0490041f642
@@ -649,18 +649,11 @@ static PidginLogViewer *display_log_view
 	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);


More information about the Commits mailing list