Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sessionhistory.py
diff options
context:
space:
mode:
Diffstat (limited to 'sessionhistory.py')
-rw-r--r--sessionhistory.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/sessionhistory.py b/sessionhistory.py
index f64a3fb..3f781bf 100644
--- a/sessionhistory.py
+++ b/sessionhistory.py
@@ -24,7 +24,8 @@ class HistoryListener(gobject.GObject):
_com_interfaces_ = interfaces.nsISHistoryListener
__gsignals__ = {
- 'session-history-changed': (gobject.SIGNAL_RUN_FIRST, gobject.TYPE_NONE,
+ 'session-history-changed': (gobject.SIGNAL_RUN_FIRST,
+ gobject.TYPE_NONE,
([int])),
'session-link-changed': (gobject.SIGNAL_RUN_FIRST, gobject.TYPE_NONE,
([str]))
@@ -33,7 +34,8 @@ class HistoryListener(gobject.GObject):
def __init__(self, browser):
gobject.GObject.__init__(self)
- self._wrapped_self = xpcom.server.WrapObject(self, interfaces.nsISHistoryListener)
+ self._wrapped_self = xpcom.server.WrapObject( \
+ self, interfaces.nsISHistoryListener)
weak_ref = xpcom.client.WeakReference(self._wrapped_self)
self._session_history = browser.web_navigation.sessionHistory