summaryrefslogtreecommitdiff
path: root/poezio/windows/info_bar.py
AgeCommit message (Collapse)Author
2022-04-06Add option to use XEP-0392 for tab names/numbers in the infobarJonas Schäfer
This will autocolour the tabs based on their name (typically the JID) if a new message or highlight occured. If it was a normal new message, the colouring will be subtle (foreground instead of background), otherwise (on a highlight or 1:1 message), the colouring will affect the background and thus stand out much more.
2021-04-16fix: composing indicators not showing (fix #3527)mathieui
the fact this even worked in vertical mode was only due to a theming edge case.
2021-04-02fix: tons of type errorsmathieui
2021-04-02refactor: rewrite config.get() to getbool, getstr, getint…mathieui
2020-07-24windows/info_bar: Prevent UnboundLocalError. Thanks genofireMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-12Add option to show only the unique prefix of tab namesJonas Schäfer
When the set of tabs used fluctuate, the memory of which number belongs to which chat becomes difficult to work with. Non-numbers can be used to navigate tabs with `/win`, however, it is difficult to know which letters are required to select a certain tab. This option introduces a display mode for tab names where only the unique prefix of the tab name is shown, saving space and providing with a minimal string which can be used with `/win`.
2019-01-22Store get_theme() in a variable in each function, to avoid redundant calls.Emmanuel Gil Peyrot
2018-10-24Add __slots__ in most of the poezio.windows classes, to be more explicit ↵Emmanuel Gil Peyrot
about their data.
2018-08-18Remove some circular type imports.Emmanuel Gil Peyrot
2018-08-17windows.info_bar: Type everything in this module.Emmanuel Gil Peyrot
2018-08-17Add typing information and reformat stuffmathieui
2018-07-21Update poezio for the new tabs modulemathieui
2017-11-12yapf -irmathieui
2016-07-06Always import Win from base_wins.Emmanuel Gil Peyrot
2016-06-30Absolute imports everywheremathieui
2016-06-30Use absolute imports instead of relative onesmathieui
All this crap is very brittle due to circular deps and python handling them badly. This appears to be fixing some stuff, at the very least. This is sed, so cleanup of imports (which can now be grouped together) is not done yet.
2016-06-27Make all relative imports explicit.Emmanuel Gil Peyrot
2016-06-12Remove the global Win._win_core, instead pass core to the two *GlobalInfoBar.Emmanuel Gil Peyrot
2016-06-11Move the src directory to poezio, for better cython compatibility.Emmanuel Gil Peyrot