diff options
Diffstat (limited to 'bookmarklets.py')
-rw-r--r-- | bookmarklets.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/bookmarklets.py b/bookmarklets.py index c6d007a..e4178f4 100644 --- a/bookmarklets.py +++ b/bookmarklets.py @@ -28,7 +28,8 @@ def get_store(): if _store is None: _store = BookmarkletStore() return _store - + + class BookmarkletStore(gobject.GObject): __gsignals__ = { 'add_bookmarklet': (gobject.SIGNAL_RUN_FIRST, @@ -81,6 +82,4 @@ class BookmarkletStore(gobject.GObject): # we don't care if the bookmarklet was added just now if self._config.has_section(name) and self.get(name) == url: - self.emit('add_bookmarklet', name) - - + self.emit('add_bookmarklet', name)
\ No newline at end of file |