diff --git a/terminatorlib/preferences.glade b/terminatorlib/preferences.glade
index 4ed38cc0..8d73bb32 100644
--- a/terminatorlib/preferences.glade
+++ b/terminatorlib/preferences.glade
@@ -382,7 +382,7 @@
- 7
- 8
+ 9
+ 10
@@ -610,8 +610,8 @@
1
2
- 7
- 8
+ 9
+ 10
GTK_EXPAND
@@ -623,8 +623,8 @@
Always on top
- 8
- 9
+ 10
+ 11
@@ -636,8 +636,8 @@
Hide on lose focus
- 9
- 10
+ 11
+ 12
@@ -655,8 +655,8 @@
1
2
- 8
- 9
+ 10
+ 11
GTK_EXPAND
@@ -674,8 +674,8 @@
1
2
- 9
- 10
+ 11
+ 12
GTK_EXPAND
@@ -687,8 +687,8 @@
Show on all workspaces
- 10
- 11
+ 12
+ 13
@@ -706,8 +706,8 @@
1
2
- 10
- 11
+ 12
+ 13
GTK_EXPAND
@@ -719,8 +719,8 @@
DBus server
- 6
- 7
+ 8
+ 9
@@ -736,8 +736,8 @@
1
2
- 6
- 7
+ 8
+ 9
GTK_EXPAND
GTK_EXPAND
@@ -750,8 +750,8 @@
Hide size from title
- 11
- 12
+ 13
+ 14
@@ -769,8 +769,8 @@
1
2
- 11
- 12
+ 13
+ 14
GTK_EXPAND
@@ -782,8 +782,8 @@
Unfocused terminal font brightness
- 12
- 13
+ 14
+ 15
@@ -799,8 +799,70 @@
1
2
- 12
- 13
+ 14
+ 15
+
+
+
+
+
+ 6
+ 7
+
+
+
+
+
+ 1
+ 2
+ 6
+ 7
+ GTK_EXPAND
+ GTK_EXPAND
+
+
+
+
+
+ 7
+ 8
+
+
+
+
+
+ 1
+ 2
+ 7
+ 8
+ GTK_EXPAND
+ GTK_EXPAND
diff --git a/terminatorlib/prefseditor.py b/terminatorlib/prefseditor.py
index e1e48510..b0843a9e 100755
--- a/terminatorlib/prefseditor.py
+++ b/terminatorlib/prefseditor.py
@@ -215,6 +215,12 @@ class PrefsEditor:
else:
active = 0
widget.set_active(active)
+ # scroll_tabbar
+ widget = guiget('scrolltabbarcheck')
+ widget.set_active(self.config['scroll_tabbar'])
+ # homogeneous_tabbar
+ widget = guiget('homogeneouscheck')
+ widget.set_active(self.config['homogeneous_tabbar'])
# DBus Server
widget = guiget('dbuscheck')
widget.set_active(self.config['dbus'])
@@ -559,6 +565,16 @@ class PrefsEditor:
self.config['geometry_hinting'] = widget.get_active()
self.config.save()
+ def on_homogeneous_toggled(self, widget):
+ """homogeneous_tabbar setting changed"""
+ self.config['homogeneous_tabbar'] = widget.get_active()
+ self.config.save()
+
+ def on_scroll_toggled(self, widget):
+ """scroll_tabbar setting changed"""
+ self.config['scroll_tabbar'] = widget.get_active()
+ self.config.save()
+
def on_dbuscheck_toggled(self, widget):
"""DBus server setting changed"""
self.config['dbus'] = widget.get_active()