diff options
author | Simon Schampijer <simon@schampijer.de> | 2008-05-21 17:50:41 (GMT) |
---|---|---|
committer | Simon Schampijer <simon@schampijer.de> | 2008-05-21 17:50:41 (GMT) |
commit | ed24f85ead3b9299aea56d853fc58c542d3207f4 (patch) | |
tree | c535d382cc58a70fad7513a38bb9c29d30af93ca /sessionhistory.py | |
parent | f535de7394b9d7279e59b62b0f0ede82106036ff (diff) |
First round of pylint fixes.
Diffstat (limited to 'sessionhistory.py')
-rw-r--r-- | sessionhistory.py | 6 |
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 |