Added !important to hint styles

Prevents websites from overriding hint styles
This commit is contained in:
Error 800 2015-01-06 16:23:45 +01:00
parent c4619874e6
commit 82ee78b3db

View File

@ -281,8 +281,8 @@ class HintManager(QObject):
('position', 'absolute !important'),
('color', config.get('colors', 'hints.fg') + ' !important'),
('background', config.get('colors', 'hints.bg') + ' !important'),
('font', config.get('fonts', 'hints')) + ' !important',
('border', config.get('hints', 'border')) + ' !important',
('font', config.get('fonts', 'hints') + ' !important'),
('border', config.get('hints', 'border') + ' !important'),
('opacity', str(config.get('hints', 'opacity')) + ' !important'),
]