query config for markup before processing prefix/suffix
This commit is contained in:
parent
333a1f9907
commit
ea1c0b7043
1 changed files with 2 additions and 2 deletions
|
@ -365,13 +365,13 @@ class WidgetDrawer(object):
|
||||||
separator = self._theme.separator(widget)
|
separator = self._theme.separator(widget)
|
||||||
self.add_separator(widget, separator)
|
self.add_separator(widget, separator)
|
||||||
|
|
||||||
|
markup = "none" if not self._config else self._config.markup()
|
||||||
|
|
||||||
padding = self._theme.padding(widget)
|
padding = self._theme.padding(widget)
|
||||||
|
|
||||||
self._prefix = self._theme.prefix(widget, padding)
|
self._prefix = self._theme.prefix(widget, padding)
|
||||||
self._suffix = self._theme.suffix(widget, padding)
|
self._suffix = self._theme.suffix(widget, padding)
|
||||||
|
|
||||||
markup = "none" if not self._config else self._config.markup()
|
|
||||||
|
|
||||||
if markup == "pango":
|
if markup == "pango":
|
||||||
# add prefix/suffix colors
|
# add prefix/suffix colors
|
||||||
fg = self._theme.prefix_fg(widget)
|
fg = self._theme.prefix_fg(widget)
|
||||||
|
|
Loading…
Reference in a new issue