From 4f2dbb3a72514249dcf55db50b0db4fb85638eb3 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sat, 10 Oct 2015 12:47:02 +0200 Subject: [PATCH] Don't show icons when cloning tabs if turned off. Fixes #1007. --- CHANGELOG.asciidoc | 1 + qutebrowser/browser/commands.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc index 93d3117d4..54e5dcc1f 100644 --- a/CHANGELOG.asciidoc +++ b/CHANGELOG.asciidoc @@ -48,6 +48,7 @@ Fixed ~~~~~ - Fixed displaying of web history if `web-history-max-items` is set to -1. +- Cloned tabs now don't display favicons anymore if show-favicons is False. v0.4.1 ------ diff --git a/qutebrowser/browser/commands.py b/qutebrowser/browser/commands.py index 17c40c8b1..c745efd57 100644 --- a/qutebrowser/browser/commands.py +++ b/qutebrowser/browser/commands.py @@ -394,7 +394,8 @@ class CommandDispatcher: window=newtab.win_id) idx = new_tabbed_browser.indexOf(newtab) new_tabbed_browser.set_page_title(idx, cur_title) - new_tabbed_browser.setTabIcon(idx, curtab.icon()) + if config.get('tabs', 'show-favicons'): + new_tabbed_browser.setTabIcon(idx, curtab.icon()) newtab.keep_icon = True newtab.setZoomFactor(curtab.zoomFactor()) history = qtutils.serialize(curtab.history())