summary refs log tree commit diff stats
path: root/src/common
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2012-11-30 17:22:12 -0500
committerTingPing <tingping@tingping.se>2012-11-30 17:22:12 -0500
commit1c224894a290ae6901c982c9f3f271d76cfc069b (patch)
tree08350629ec96c8fd386e502d4421e4981969817f /src/common
parent7424c0c68bf4f4152544a051453ef950b19c5c96 (diff)
Save pane height and restore on start
closes #154
Diffstat (limited to 'src/common')
-rw-r--r--src/common/cfgfiles.c1
-rw-r--r--src/common/hexchat.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/common/cfgfiles.c b/src/common/cfgfiles.c
index 68bad7a9..d32c7687 100644
--- a/src/common/cfgfiles.c
+++ b/src/common/cfgfiles.c
@@ -435,6 +435,7 @@ const struct prefs vars[] =
 	{"gui_lagometer", P_OFFINT (hex_gui_lagometer), TYPE_INT},
 	{"gui_lang", P_OFFINT (hex_gui_lang), TYPE_INT},
 	{"gui_mode_buttons", P_OFFINT (hex_gui_mode_buttons), TYPE_BOOL},
+	{"gui_pane_height", P_OFFINT (hex_gui_pane_height), TYPE_INT},
 	{"gui_pane_left_size", P_OFFINT (hex_gui_pane_left_size), TYPE_INT},
 	{"gui_pane_right_size", P_OFFINT (hex_gui_pane_right_size), TYPE_INT},
 	{"gui_pane_right_size_min", P_OFFINT (hex_gui_pane_right_size_min), TYPE_INT},
diff --git a/src/common/hexchat.h b/src/common/hexchat.h
index 43597617..5045b4bd 100644
--- a/src/common/hexchat.h
+++ b/src/common/hexchat.h
@@ -252,6 +252,7 @@ struct hexchatprefs
 	int hex_gui_dialog_width;
 	int hex_gui_lagometer;
 	int hex_gui_lang;
+	int hex_gui_pane_height;
 	int hex_gui_pane_left_size;
 	int hex_gui_pane_right_size;
 	int hex_gui_pane_right_size_min;