[kazehakase-svn] [3201] forgot to set settings.

Back to archive index

svnno****@sourc***** svnno****@sourc*****
Tue Apr 17 10:55:17 JST 2007


Revision: 3201
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=kazehakase&view=rev&rev=3201
Author:   ikezoe
Date:     2007-04-17 10:55:17 +0900 (Tue, 17 Apr 2007)

Log Message:
-----------
forgot to set settings.

Modified Paths:
--------------
    kazehakase/trunk/module/embed/gtk-webcore/kz-gtk-webcore.cpp

Modified: kazehakase/trunk/module/embed/gtk-webcore/kz-gtk-webcore.cpp
===================================================================
--- kazehakase/trunk/module/embed/gtk-webcore/kz-gtk-webcore.cpp	2007-04-17 01:30:12 UTC (rev 3200)
+++ kazehakase/trunk/module/embed/gtk-webcore/kz-gtk-webcore.cpp	2007-04-17 01:55:17 UTC (rev 3201)
@@ -598,8 +598,7 @@
 static void
 set_default_preferences (KzGtkWebcore *gtk_webcore)
 {
-	KzGtkWebcorePrivate *priv = KZ_GTK_WEBCORE_GET_PRIVATE (gtk_webcore);
-	WebiSettings *settings = priv->settings;
+	WebiSettings *settings = KZ_GTK_WEBCORE_GET_PRIVATE(gtk_webcore)->settings;
 	KzProfile *profile = KZ_GET_GLOBAL_PROFILE;
 
 	gchar value[1024];
@@ -615,6 +614,9 @@
 	set_proxy(profile, gtk_webcore);
 	
 	settings->plugins_enabled = TRUE;
+	settings->java_enabled = TRUE;
+
+	webi_set_settings(WEBI(gtk_webcore), settings);
 #if 0
 	OSB::Features *features = get_osb_features(WEBI(gtk_webcore));
 	features->setToolbarsVisible(FALSE);




More information about the Kazehakase-cvs mailing list
Back to archive index