diff --git a/terminatorlib/config.py b/terminatorlib/config.py
index 260fe7e4..dfac9f4e 100644
--- a/terminatorlib/config.py
+++ b/terminatorlib/config.py
@@ -113,8 +113,8 @@ DEFAULTS = {
'disable_mouse_paste' : False,
'smart_copy' : True,
'clear_select_on_copy' : False,
- 'cell_height' : 1.0,
'cell_width' : 1.0,
+ 'cell_height' : 1.0,
'case_sensitive' : True,
'invert_search' : False,
'link_single_click' : False,
diff --git a/terminatorlib/preferences.glade b/terminatorlib/preferences.glade
index 6719c89d..26d46b81 100644
--- a/terminatorlib/preferences.glade
+++ b/terminatorlib/preferences.glade
@@ -953,117 +953,6 @@
1
-
-
-
- 0
- 4
-
-
-
-
-
- 2
- 4
-
-
-
-
-
- 1
- 4
-
-
-
-
-
- 2
- 1
-
-
-
-
-
- 0
- 5
-
-
-
-
-
- 2
- 5
-
-
-
-
-
- 1
- 5
-
-
+
+
+
+ 0
+ 5
+
+
+
+
+
+ 1
+ 5
+
+
+
+
+
+ 2
+ 5
+
+
+
+
+
+ 2
+ 4
+
+
+
+
+
+ 1
+ 4
+
+
+
+
+
+ 0
+ 4
+
+
True
diff --git a/terminatorlib/prefseditor.py b/terminatorlib/prefseditor.py
index 965473a6..5bfe6b23 100755
--- a/terminatorlib/prefseditor.py
+++ b/terminatorlib/prefseditor.py
@@ -257,9 +257,7 @@ class PrefsEditor:
widget = guiget('handlesize_value_label')
widget.set_text(str(termsepsize))
- #
# Cell Height
- #
cellheightsize = self.config['cell_height']
cellheightsize = round(float(cellheightsize),1)
widget = guiget('cellheight')
@@ -267,9 +265,7 @@ class PrefsEditor:
widget = guiget('cellheight_value_label')
widget.set_text(str(cellheightsize))
- #
# Cell Width
- #
cellwidthsize = self.config['cell_width']
cellwidthsize = round(float(cellwidthsize),1)
widget = guiget('cellwidth')
@@ -1278,7 +1274,7 @@ class PrefsEditor:
label_widget = guiget('cellheight_value_label')
label_widget.set_text(str(value))
- def on_handlewidth_value_changed(self, widget):
+ def on_cellwidth_value_changed(self, widget):
"""Handles cell width changed"""
value = widget.get_value()
value = round(float(value), 1)