devhelp r1237 - in trunk: . src
- From: rhult svn gnome org
- To: svn-commits-list gnome org
- Subject: devhelp r1237 - in trunk: . src
- Date: Fri, 28 Nov 2008 15:40:42 +0000 (UTC)
Author: rhult
Date: Fri Nov 28 15:40:42 2008
New Revision: 1237
URL: http://svn.gnome.org/viewvc/devhelp?rev=1237&view=rev
Log:
2008-11-28 Richard Hult <richard imendio com>
* src/dh-window.c (window_open_new_tab): Add commented out code
snippet to make it easier to tweak the CSS.
Modified:
trunk/ChangeLog
trunk/src/dh-window.c
Modified: trunk/src/dh-window.c
==============================================================================
--- trunk/src/dh-window.c (original)
+++ trunk/src/dh-window.c Fri Nov 28 15:40:42 2008
@@ -1038,6 +1038,20 @@
view = webkit_web_view_new ();
gtk_widget_show (view);
+ dh_util_font_add_web_view (WEBKIT_WEB_VIEW (view));
+
+#if 0
+ /* Leave this in for now to make it easier to experiment. */
+ {
+ WebKitWebSettings *settings;
+ settings = webkit_web_view_get_settings (WEBKIT_WEB_VIEW (view));
+
+ g_object_set (settings,
+ "user-stylesheet-uri", "file://" DATADIR "/devhelp/devhelp.css",
+ NULL);
+ }
+#endif
+
scrolled_window = gtk_scrolled_window_new (NULL, NULL);
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled_window),
GTK_POLICY_AUTOMATIC,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]