diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2016-04-02 01:23:51 +0100 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2016-06-12 15:31:15 +0100 |
commit | ed5f7b18bd5c92269300e63706adae77a3bbe966 (patch) | |
tree | 1218b63c9bc6eae66c0c7b97deffe19f75f95f89 /poezio/core/core.py | |
parent | b08688c7014d9e68ac26fe604dc5a48372c67167 (diff) | |
download | poezio-ed5f7b18bd5c92269300e63706adae77a3bbe966.tar.gz poezio-ed5f7b18bd5c92269300e63706adae77a3bbe966.tar.bz2 poezio-ed5f7b18bd5c92269300e63706adae77a3bbe966.tar.xz poezio-ed5f7b18bd5c92269300e63706adae77a3bbe966.zip |
Remove the global Win._win_core, instead pass core to the two *GlobalInfoBar.
Diffstat (limited to 'poezio/core/core.py')
-rw-r--r-- | poezio/core/core.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/poezio/core/core.py b/poezio/core/core.py index 5e78020a..f5539d59 100644 --- a/poezio/core/core.py +++ b/poezio/core/core.py @@ -86,7 +86,7 @@ class Core(object): self.information_buffer.add_window(self.information_win) self.left_tab_win = None - self.tab_win = windows.GlobalInfoBar() + self.tab_win = windows.GlobalInfoBar(self) # Whether the XML tab is opened self.xml_tab = None self.xml_buffer = TextBuffer() @@ -1641,7 +1641,7 @@ class Core(object): except: log.error('Curses error on infobar resize', exc_info=True) return - self.left_tab_win = windows.VerticalGlobalInfoBar(truncated_win) + self.left_tab_win = windows.VerticalGlobalInfoBar(self, truncated_win) elif not self.size.core_degrade_y: self.tab_win.resize(1, tabs.Tab.width, tabs.Tab.height - 2, 0) |