[SCM] WebKit Debian packaging branch, webkit-1.1, updated. upstream/1.1.15.1-1414-gc69ee75

kevino at webkit.org kevino at webkit.org
Thu Oct 29 20:45:43 UTC 2009


The following commit has been merged in the webkit-1.1 branch:
commit 52dcfd399ef39cb81f59213c47531d7e97d36ad1
Author: kevino at webkit.org <kevino at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Thu Oct 15 21:37:54 2009 +0000

    Reviewed by Kevin Ollivier.
    
    Update the wxPython simple.py sample to match current wxWebKit API.
    
    https://bugs.webkit.org/show_bug.cgi?id=30406
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49657 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/wx/ChangeLog b/WebKit/wx/ChangeLog
index f46bac2..c7b79a9 100644
--- a/WebKit/wx/ChangeLog
+++ b/WebKit/wx/ChangeLog
@@ -1,3 +1,13 @@
+2009-10-15  Robin Dunn  <robin at alldunn.com>
+
+        Reviewed by Kevin Ollivier.
+
+        Update the wxPython simple.py sample to match current wxWebKit API.
+        
+        https://bugs.webkit.org/show_bug.cgi?id=30406
+
+        * bindings/python/samples/simple.py:
+
 2009-10-08  Adam Barth  <abarth at webkit.org>
 
         Reviewed by Eric Seidel.
diff --git a/WebKit/wx/bindings/python/samples/simple.py b/WebKit/wx/bindings/python/samples/simple.py
index 52d4e1b..2756760 100644
--- a/WebKit/wx/bindings/python/samples/simple.py
+++ b/WebKit/wx/bindings/python/samples/simple.py
@@ -92,11 +92,11 @@ class TestPanel(wx.Panel):
     def OnStateChanged(self, event):
         statusbar = self.GetParent().GetStatusBar() 
         if statusbar:
-            if event.GetState() == wx.webview.WEBVIEW_STATE_NEGOTIATING:
+            if event.GetState() == wx.webview.WEBVIEW_LOAD_NEGOTIATING:
                 statusbar.SetStatusText("Contacting " + event.GetURL())
-            elif event.GetState() == wx.webview.WEBVIEW_STATE_TRANSFERRING:
+            elif event.GetState() == wx.webview.WEBVIEW_LOAD_TRANSFERRING:
                 statusbar.SetStatusText("Loading " + event.GetURL())
-            elif event.GetState() == wx.webview.WEBVIEW_STATE_STOP:
+            elif event.GetState() == wx.webview.WEBVIEW_LOAD_DOC_COMPLETED:
                 statusbar.SetStatusText("")
                 self.location.SetValue(event.GetURL())
                 self.GetParent().SetTitle("wxWebView - " + self.webview.GetPageTitle())

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list