diff options
author | mathieui <mathieui@mathieui.net> | 2016-06-30 23:57:12 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2016-06-30 23:57:12 +0200 |
commit | 8383f773413cee8529ad4fdc05f092286d6dd377 (patch) | |
tree | 1604936f9b10aa84b929e22c40751b020b8b348d /poezio/tabs/bookmarkstab.py | |
parent | 8f7be37a700aa78f1906e155f79356fcd7e4b260 (diff) | |
download | poezio-8383f773413cee8529ad4fdc05f092286d6dd377.tar.gz poezio-8383f773413cee8529ad4fdc05f092286d6dd377.tar.bz2 poezio-8383f773413cee8529ad4fdc05f092286d6dd377.tar.xz poezio-8383f773413cee8529ad4fdc05f092286d6dd377.zip |
Use a "core" parameter for each tab object instead of a singleton
fixes the circular import issue
Diffstat (limited to 'poezio/tabs/bookmarkstab.py')
-rw-r--r-- | poezio/tabs/bookmarkstab.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/poezio/tabs/bookmarkstab.py b/poezio/tabs/bookmarkstab.py index 2eb138b3..053e45dd 100644 --- a/poezio/tabs/bookmarkstab.py +++ b/poezio/tabs/bookmarkstab.py @@ -17,8 +17,8 @@ class BookmarksTab(Tab): a 4 widgets to set the jid/password/autojoin/storage method """ plugin_commands = {} - def __init__(self, bookmarks: BookmarkList): - Tab.__init__(self) + def __init__(self, core, bookmarks: BookmarkList): + Tab.__init__(self, core) self.name = "Bookmarks" self.bookmarks = bookmarks self.new_bookmarks = [] |