diff -up xiphos/wscript.gtkhtml3 xiphos/wscript
--- xiphos/wscript.gtkhtml3	2011-05-18 16:48:10.000000000 +0200
+++ xiphos/wscript	2011-06-14 12:01:24.215293983 +0200
@@ -1,7 +1,7 @@
 #! /usr/bin/env python
 # encoding: utf-8
 
-import os, os.path
+import os, os.path, sys
 import intltool
 import string
 import Utils
@@ -310,12 +310,12 @@ def configure(conf):
     define('PACKAGE_SOURCE_DIR', conf.escpath(os.path.abspath(srcdir))) # foder where was wscript executed
 
 
-    if conf.check_cfg(modversion='gtkhtml-editor-3.14',
+    if conf.check_cfg(modversion='gtkhtml-editor-4.0',
                       msg='Checking for GNOME3 gtkhtml-editor',
                       okmsg='Deffinatly',
                       errmsg='Probably, not'
                       ):
-            editor='"gtkhtml-editor-3.14"'
+            editor='"gtkhtml-editor-4.0"'
     else:
             editor='"gtkhtml-editor"'
 
@@ -327,7 +327,7 @@ def configure(conf):
     "glib-2.0"
     "libgsf-1 >= 1.14"
     "libxml-2.0"
-    "libgtkhtml-3.14 >= 3.23"
+    "libgtkhtml-4.0 >= 3.91.6"
     --cflags --libs'''
     .split()," ")
 
@@ -381,7 +381,7 @@ def configure(conf):
                                                     args='--modversion',
                                                      okmsg=waffles.misc.myokmsg,
                                                     msg="Checking for Gecko GREVersion").strip())
-            if not env['GECKO_VER'][3].isalpha():
+            if not env['GECKO_VER'][-1].isalpha():
                     conf.define('GECKO_MIN', env['GECKO_VER'][0:5]+'.0')
                     conf.define('GECKO_MAX', env['GECKO_VER'][0:5]+'.99')
             else:
