From 335f72a93f9e7a1d26dabc5690312e4f3cc7b71a Mon Sep 17 00:00:00 2001 From: ZDarian Date: Wed, 21 Jan 2015 07:27:08 -0700 Subject: [PATCH] perm-hide -> always-hide --- qutebrowser/config/configdata.py | 4 ++-- qutebrowser/mainwindow/tabwidget.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/qutebrowser/config/configdata.py b/qutebrowser/config/configdata.py index e15e6c8d2..aff20586a 100644 --- a/qutebrowser/config/configdata.py +++ b/qutebrowser/config/configdata.py @@ -360,9 +360,9 @@ DATA = collections.OrderedDict([ SettingValue(typ.Bool(), 'false'), "Hide the tabbar if only one tab is open."), - ('perm-hide', + ('always-hide', SettingValue(typ.Bool(), 'false'), - "Hide permanently."), + "Always hide the tabbar."), ('wrap', SettingValue(typ.Bool(), 'true'), diff --git a/qutebrowser/mainwindow/tabwidget.py b/qutebrowser/mainwindow/tabwidget.py index 94fe57c21..c110eb7bb 100644 --- a/qutebrowser/mainwindow/tabwidget.py +++ b/qutebrowser/mainwindow/tabwidget.py @@ -106,8 +106,8 @@ class TabBar(QTabBar): def autohide(self): """Auto-hide the tabbar if needed.""" auto_hide = config.get('tabs', 'auto-hide') - perm_hide = config.get('tabs', 'perm-hide') - if perm_hide or auto_hide and self.count() == 1: + always_hide = config.get('tabs', 'always-hide') + if always_hide or auto_hide and self.count() == 1: self.hide() else: self.show()