Merge pull request #734 from Vulcalien/remove-deprecated-settings

Remove settings 'hide_tabbar' and 'disable_real_transparency'
This commit is contained in:
Matt Rose 2023-03-31 14:40:01 -04:00 committed by GitHub
commit 0df00c49e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions

View File

@ -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',

View File

@ -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)