diff options
author | Lucian Branescu Mihaila <lucian.branescu@gmail.com> | 2009-07-17 13:51:11 (GMT) |
---|---|---|
committer | Lucian Branescu Mihaila <lucian.branescu@gmail.com> | 2009-07-17 13:51:11 (GMT) |
commit | ceb80786cdfbe373d12a77f3a747793bba4d6002 (patch) | |
tree | 80ab699b6ea25a4c4ff1945708392fd99a7410ee /bookmarklets.py | |
parent | b61db27740ddb51d0f60ec3715400b5ee265e70c (diff) |
Switch to using a local copy of viewsource.py
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 |