From 3f30aa58f76ad075cec624450eee3ce103c0c332 Mon Sep 17 00:00:00 2001 From: Vulcalien Date: Fri, 31 Mar 2023 17:14:27 +0200 Subject: [PATCH] Remove settings 'hide_tabbar' and 'disable_real_transparency' 'disable_real_transparency' is already completely unused, 'hide_tabbar' was replaced by 'tab_position' = 'hidden' and marked as deprecated in 2010. --- terminatorlib/config.py | 2 -- terminatorlib/notebook.py | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/terminatorlib/config.py b/terminatorlib/config.py index 0d239024..fbca71af 100644 --- a/terminatorlib/config.py +++ b/terminatorlib/config.py @@ -92,7 +92,6 @@ DEFAULTS = { 'tab_position' : 'top', 'broadcast_default' : 'group', 'close_button_on_tab' : True, - 'hide_tabbar' : False, 'scroll_tabbar' : False, 'homogeneous_tabbar' : True, 'hide_from_taskbar' : False, @@ -101,7 +100,6 @@ DEFAULTS = { 'sticky' : False, 'use_custom_url_handler': False, 'custom_url_handler' : '', - 'disable_real_transparency' : False, 'inactive_color_offset': 0.8, 'inactive_bg_color_offset': 1.0, 'enabled_plugins' : ['LaunchpadBugURLHandler', diff --git a/terminatorlib/notebook.py b/terminatorlib/notebook.py index f43b88f4..dc0ff555 100644 --- a/terminatorlib/notebook.py +++ b/terminatorlib/notebook.py @@ -61,7 +61,7 @@ class Notebook(Container, Gtk.Notebook): #self.connect('page-reordered', self.on_page_reordered) self.set_scrollable(self.config['scroll_tabbar']) - if self.config['tab_position'] == 'hidden' or self.config['hide_tabbar']: + if self.config['tab_position'] == 'hidden': self.set_show_tabs(False) else: self.set_show_tabs(True)