From a8b17436c94ec188857c4a06efa6ade64a0ef20b Mon Sep 17 00:00:00 2001 From: Lucian Branescu Mihaila Date: Thu, 17 Jun 2010 20:54:30 +0000 Subject: Browse stards and loads pages with pywebkitgtk. Several features are disabled for now, although it mostly has feature-parity with Surf. --- (limited to 'sessionhistory.py') diff --git a/sessionhistory.py b/sessionhistory.py index 2211551..c9c830d 100644 --- a/sessionhistory.py +++ b/sessionhistory.py @@ -22,8 +22,6 @@ from xpcom.components import interfaces class HistoryListener(gobject.GObject): - _com_interfaces_ = interfaces.nsISHistoryListener - __gsignals__ = { 'session-history-changed': (gobject.SIGNAL_RUN_FIRST, gobject.TYPE_NONE, @@ -35,10 +33,6 @@ class HistoryListener(gobject.GObject): def __init__(self): gobject.GObject.__init__(self) - self._wrapped_self = xpcom.server.WrapObject( \ - self, interfaces.nsISHistoryListener) - weak_ref = xpcom.client.WeakReference(self._wrapped_self) - def setup(self, web_navigation): self._session_history = web_navigation.sessionHistory self._session_history.addSHistoryListener(self._wrapped_self) -- cgit v0.9.1