From a8184adbb7a99087a0356c5e6879c06f019e32d9 Mon Sep 17 00:00:00 2001 From: "Francis Smit (Grizzly)" Date: Sat, 19 Nov 2011 22:04:29 +1100 Subject: [PATCH] have added a config for the homogeneous property to terminator, so u can set homogeneous to False in the config file to to this I added a line to config.py and changed a line in notebook.py --- terminatorlib/config.py | 1 + terminatorlib/notebook.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/terminatorlib/config.py b/terminatorlib/config.py index 53307641..98307b6a 100755 --- a/terminatorlib/config.py +++ b/terminatorlib/config.py @@ -86,6 +86,7 @@ DEFAULTS = { 'close_button_on_tab' : True, 'hide_tabbar' : False, 'scroll_tabbar' : False, + 'homogeneous_tabbar' : True, 'hide_from_taskbar' : False, 'always_on_top' : False, 'hide_on_lose_focus' : False, diff --git a/terminatorlib/notebook.py b/terminatorlib/notebook.py index bef0caf9..b2ef8f6f 100755 --- a/terminatorlib/notebook.py +++ b/terminatorlib/notebook.py @@ -45,7 +45,7 @@ class Notebook(Container, gtk.Notebook): # the new order of terminals. We probably need to preserve this for # navigation to next/prev terminals. #self.connect('page-reordered', self.on_page_reordered) - self.set_property('homogeneous', True) + self.set_property('homogeneous', self.config['homogeneous_tabbar']) self.set_scrollable(self.config['scroll_tabbar']) if self.config['tab_position'] == 'hidden' or self.config['hide_tabbar']: