From 23215303ca11c35fa78a521234ceabfc8d174941 Mon Sep 17 00:00:00 2001 From: tobi-wan-kenobi Date: Sun, 5 Apr 2020 14:57:52 +0200 Subject: [PATCH] [core] Add "merged" pango support With this commit, it is possible to add pango directives inside every piece that supports direct output (e.g. defaults/prefix or /prefix) and those will be merged - i.e. it is possible to specify defaults inside "defaults" and override/specify in the particular modules. --- core/output.py | 1 - core/theme.py | 23 +++++++++++++++++++---- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/core/output.py b/core/output.py index 064cc36..556d0c4 100644 --- a/core/output.py +++ b/core/output.py @@ -52,7 +52,6 @@ class block(object): text = attr.get('full_text', '') if 'full_text' in attr: del attr['full_text'] - result = '