pass view to cb

This commit is contained in:
j 2010-11-06 22:00:40 +01:00
parent 32d2df0941
commit 6ddd7c65be

View file

@ -4,8 +4,6 @@
import sys, thread
import gtk
import webkit
import warnings
from time import sleep
class WebView(webkit.WebView):
@ -35,7 +33,7 @@ class Browser(gtk.Window):
def _finished_loading(self, view, frame):
if self.cb:
self.cb(view, frame)
self.cb(self, view, frame)
def quit(self):
gtk.main_quit()