| Commit message (Collapse) | Author | Age |
... | |
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
this makes hiding tags possible simply by making their
'translated' value the empty string.
Note that this still sets the TagWidget.hidden property
because those may not be displayed with width 0 (as any other widget)
because it'd break urwid.
|
| | |
|
| |
| |
| |
| |
| |
| | |
this makes threadline.tags use the defaults from
[threadline]
[[tags]]
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
this makes sure that undefined values in highlight 'threadline-foo' sections
default to their corresponding parts in the 'threadlin' (default) section
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This can now be done in theme files by changing the width-value of
the authors threadline part. For example:
'''
[search]
[[threadline]]
[[[authors]]]
width = 'fit', 0, 30
'''
|
| |
| |
| |
| |
| |
| |
| | |
in search mode. These now work in all colourmodes
and moreover simulate cascading attributes so that
if fg/bg is undefined in the tagstring representation,
the attribute from the widget *below* is used instead of a global default
|
| |
| |
| |
| | |
according to the given attribudes read in the new format
|
| |
| |
| |
| |
| |
| |
| | |
the individual tag subsections define 'normal' and 'focus'
attributes to define how the tag is represented if unfocussed and focussed
respectively. These are urwid attribute sextuples
that define fg/bg for 1,16 and 256 coour modes
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This allows the user to specify alternate 'threadline.*'
sections for searchmode: They specify the difference to the default
threadline theming.
Each of those can contain fields 'query' and 'tagged_with' to determine
if they apply: We go through all those threadline sections top down,
for each of them check if the conditions query (thread matches querystring)
and 'tagged_with' (culmulative tags of messages in thread contain those listed).
The first section that matches wins, default is to section 'threadline'.
|
| | |
|
| |
| |
| |
| | |
make sure it always returns a tuple
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
This makes threadline build its parts according to
a "threadline theming structure" it reads of a Theme object.
This structure determines which subwidgets in which order are used
and for each of them provides normal/focussed attributes,
align and width
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
its constructor makes sure that 'threadline'
subsections of 'search' section actually have
subsections defined for all parts listed in its 'order' value (which lists all parts to be
displayed).
Moreover, this implements 'get_threadline_structure':
a method that will compile a dict with all threadline
theming infos for a given thread object.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
An AttrMap that can remember attributes to set
|
| | |
|
| |
| |
| |
| |
| | |
It just needs to store the already parsed AttrSpec objects:
requested attributes are simply looked up in the configobj object
|
| |
| |
| |
| | |
that checks if value is valid align mode string
|
| |
| |
| |
| |
| | |
This parses triples of attribute strings into urwid.AttrSpecs
see docstring for more info
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | | |
issue #480
|
| | |
| | |
| | |
| | |
| | |
| | | |
this uses a email.header.Header obj for
attachments-parts Content-Disposition header
to ensure their filename-parameters obey RFC2184
|
| | | |
|