From 8d891bf168275b4185d933a61dce6951750fc293 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 22 Apr 2014 09:35:49 +0200 Subject: [PATCH] Hints style fixes --- qutebrowser/browser/hints.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qutebrowser/browser/hints.py b/qutebrowser/browser/hints.py index 051c00941..b12915d4e 100644 --- a/qutebrowser/browser/hints.py +++ b/qutebrowser/browser/hints.py @@ -255,11 +255,11 @@ class HintManager(QObject): The newly created label elment """ rect = elem.geometry() - css = HintManager.HINT_CSS.format(left=rect.x(), top=rect.y(), - config=config.instance) + css = self.HINT_CSS.format(left=rect.x(), top=rect.y(), + config=config.instance) doc = self._frame.documentElement() doc.appendInside('{}'.format( - css, string)) + css, string)) return doc.lastChild() def _click(self, elem, target):