Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sessionhistory.py
diff options
context:
space:
mode:
authorLucian Branescu Mihaila <lucian.branescu@gmail.com>2010-06-17 20:54:30 (GMT)
committer Lucian Branescu Mihaila <lucian.branescu@gmail.com>2010-06-17 20:54:30 (GMT)
commita8b17436c94ec188857c4a06efa6ade64a0ef20b (patch)
tree4093124cf4163003b4a9c43bad12076d0930fe4b /sessionhistory.py
parent3ec9f9dca7f8a696ec90b934771436d70063880a (diff)
Browse stards and loads pages with pywebkitgtk. Several features are disabled for now, although it mostly has feature-parity with Surf.
Diffstat (limited to 'sessionhistory.py')
-rw-r--r--sessionhistory.py6
1 files changed, 0 insertions, 6 deletions
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)