Merge branch 'master' of https://github.com/nanjekyejoannah/qutebrowser into nanjekyejoannah-master

This commit is contained in:
Florian Bruhin 2016-08-01 14:35:06 +02:00
commit 3d1f28ac9c
3 changed files with 6 additions and 1 deletions

View File

@ -206,7 +206,7 @@ class CompletionItemDelegate(QStyledItemDelegate):
else:
self._doc.setPlainText(self._opt.text)
else:
self._doc.setHtml('<b>{}</b>'.format(html.escape(self._opt.text)))
self._doc.setHtml(html.escape(self._opt.text))
def _draw_focus_rect(self):
"""Draw the focus rectangle of an ItemViewItem."""

View File

@ -69,6 +69,7 @@ class CompletionView(QTreeView):
{{ color['completion.category.border.top'] }};
border-bottom: 1px solid
{{ color['completion.category.border.bottom'] }};
font: {{ font['completion.category'] }};
}
QTreeView::item:selected, QTreeView::item:selected:hover {

View File

@ -1244,6 +1244,10 @@ def data(readonly=False):
SettingValue(typ.Font(), DEFAULT_FONT_SIZE + ' ${_monospace}'),
"Font used in the completion widget."),
('completion.category',
SettingValue(typ.Font(), 'bold ${completion}'),
"Font used in the completion categories."),
('tabbar',
SettingValue(typ.QtFont(), DEFAULT_FONT_SIZE + ' ${_monospace}'),
"Font used in the tab bar."),