aboutsummaryrefslogtreecommitdiff
path: root/svte.c
diff options
context:
space:
mode:
authorVic Fryzel <vicfryzel@gmail.com>2010-07-23 23:16:39 -0400
committerVic Fryzel <vicfryzel@gmail.com>2010-07-23 23:16:39 -0400
commit8ff69d591f18692dbb6ec23b0e62e4cc20b9b78e (patch)
treeba12fb03024d1486aa3f6a572b2721296a1ee1e5 /svte.c
parentb584ef966d675763627dd71afe44a04144def800 (diff)
Making window height and width configurable.
Diffstat (limited to 'svte.c')
-rw-r--r--svte.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/svte.c b/svte.c
index 073420c..281a8c0 100644
--- a/svte.c
+++ b/svte.c
@@ -382,6 +382,10 @@ static void parse_config_file(gchar *config_file) {
keyfile, "ui", "url_regex", NULL);
config->visible_bell = g_key_file_get_boolean(
keyfile, "ui", "visible_bell", NULL);
+ config->window_height = g_key_file_get_integer(
+ keyfile, "ui", "window_height", NULL);
+ config->window_width = g_key_file_get_integer(
+ keyfile, "ui", "window_width", NULL);
config->word_chars = g_key_file_get_string(
keyfile, "ui", "word_chars", NULL);
if (NULL == config->font) {