From 177cdfb73f7880b5728d62b427effdd1ccd80e64 Mon Sep 17 00:00:00 2001 From: sebastid Date: Sat, 18 Jun 2005 04:30:35 +0000 Subject: [PATCH] rename smart_maximize to maximize_policy. SVN revision: 15415 --- src/bin/e_config.c | 5 +++-- src/bin/e_config.h | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/bin/e_config.c b/src/bin/e_config.c index 0d80922eb..8b2a3cf8e 100644 --- a/src/bin/e_config.c +++ b/src/bin/e_config.c @@ -168,7 +168,7 @@ e_config_init(void) E_CONFIG_VAL(D, T, winlist_pos_min_h, INT); E_CONFIG_VAL(D, T, winlist_pos_max_w, INT); E_CONFIG_VAL(D, T, winlist_pos_max_h, INT); - E_CONFIG_VAL(D, T, smart_maximize, INT); + E_CONFIG_VAL(D, T, maximize_policy, INT); e_config = e_config_domain_load("e", _e_config_edd); if (e_config) @@ -259,7 +259,7 @@ e_config_init(void) e_config->winlist_pos_min_h = 0; e_config->winlist_pos_max_w = 320; e_config->winlist_pos_max_h = 320; - e_config->smart_maximize = 1; + e_config->maximize_policy = E_MAXIMIZE_FULLSCREEN; { E_Config_Module *em; @@ -790,6 +790,7 @@ e_config_init(void) E_CONFIG_LIMIT(e_config->winlist_pos_min_h, 0, 4000); E_CONFIG_LIMIT(e_config->winlist_pos_max_w, 8, 4000); E_CONFIG_LIMIT(e_config->winlist_pos_max_h, 8, 4000); + E_CONFIG_LIMIT(e_config->maximize_policy, E_MAXIMIZE_ZOOM, E_MAXIMIZE_FILL); ; /* apply lang config - exception because config is loaded after intl setup */ diff --git a/src/bin/e_config.h b/src/bin/e_config.h index 9ea48baa5..81be035bd 100644 --- a/src/bin/e_config.h +++ b/src/bin/e_config.h @@ -46,7 +46,7 @@ typedef Eet_Data_Descriptor E_Config_DD; * defaults for e to work - started at 100 when we introduced this config * versioning feature */ -#define E_CONFIG_FILE_VERSION 112 +#define E_CONFIG_FILE_VERSION 113 #define E_EVAS_ENGINE_DEFAULT 0 #define E_EVAS_ENGINE_SOFTWARE_X11 1 @@ -122,7 +122,7 @@ struct _E_Config int winlist_pos_min_h; int winlist_pos_max_w; int winlist_pos_max_h; - int smart_maximize; + int maximize_policy; }; /* FIXME: all of thsie needs to become eet lumps for enmcode/decode */