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.
This commit is contained in:
Vulcalien 2023-03-31 17:14:27 +02:00
parent 10e9d04e78
commit 3f30aa58f7
2 changed files with 1 additions and 3 deletions

View File

@ -92,7 +92,6 @@ DEFAULTS = {
'tab_position' : 'top', 'tab_position' : 'top',
'broadcast_default' : 'group', 'broadcast_default' : 'group',
'close_button_on_tab' : True, 'close_button_on_tab' : True,
'hide_tabbar' : False,
'scroll_tabbar' : False, 'scroll_tabbar' : False,
'homogeneous_tabbar' : True, 'homogeneous_tabbar' : True,
'hide_from_taskbar' : False, 'hide_from_taskbar' : False,
@ -101,7 +100,6 @@ DEFAULTS = {
'sticky' : False, 'sticky' : False,
'use_custom_url_handler': False, 'use_custom_url_handler': False,
'custom_url_handler' : '', 'custom_url_handler' : '',
'disable_real_transparency' : False,
'inactive_color_offset': 0.8, 'inactive_color_offset': 0.8,
'inactive_bg_color_offset': 1.0, 'inactive_bg_color_offset': 1.0,
'enabled_plugins' : ['LaunchpadBugURLHandler', 'enabled_plugins' : ['LaunchpadBugURLHandler',

View File

@ -61,7 +61,7 @@ class Notebook(Container, Gtk.Notebook):
#self.connect('page-reordered', self.on_page_reordered) #self.connect('page-reordered', self.on_page_reordered)
self.set_scrollable(self.config['scroll_tabbar']) 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) self.set_show_tabs(False)
else: else:
self.set_show_tabs(True) self.set_show_tabs(True)