hermet pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=7e7a1f02b7021565282d7a7c4f89fc331b082448

commit 7e7a1f02b7021565282d7a7c4f89fc331b082448
Author: Hermet Park <her...@hermet.pe.kr>
Date:   Tue Feb 23 20:06:51 2016 +0900

    rearrange a minimum size of window.
---
 data/themes/default/layout_common.edc | 2 +-
 src/bin/config_data.c                 | 2 ++
 src/include/common.h                  | 5 +++--
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/data/themes/default/layout_common.edc 
b/data/themes/default/layout_common.edc
index 245fae6..ec36568 100644
--- a/data/themes/default/layout_common.edc
+++ b/data/themes/default/layout_common.edc
@@ -2387,7 +2387,7 @@ group { name: "main_layout";
          type: SPACER;
          scale: 1;
          description {
-            min: 900 440;
+            min: 640 440;
          }
       }
       part { name: "tools_base";
diff --git a/src/bin/config_data.c b/src/bin/config_data.c
index 3af3325..08586c3 100644
--- a/src/bin/config_data.c
+++ b/src/bin/config_data.c
@@ -169,6 +169,8 @@ config_load(void)
         cd->view_scale = 1;
         cd->view_size_w = 300;
         cd->view_size_h = 300;
+        cd->win_size_w = WIN_DEFAULT_W;
+        cd->win_size_h = WIN_DEFAULT_H;
         cd->editor_size = DEFAULT_EDITOR_SIZE;
         cd->console_size = DEFAULT_CONSOLE_SIZE;
         cd->stats_bar = EINA_TRUE;
diff --git a/src/include/common.h b/src/include/common.h
index e0ddecb..fc319d7 100644
--- a/src/include/common.h
+++ b/src/include/common.h
@@ -57,13 +57,14 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n"
 
 #define ROUNDING(x, dig) (floor((x) * pow(10, dig) + 0.5) / pow(10, dig))
 
-#define ENVENTOR_CONFIG_VERSION 5
+#define ENVENTOR_CONFIG_VERSION 6
 
 #define EVENT_KEY_MODIFIER_CHECK(NAME, MASK) \
   ((MASK & ECORE_EVENT_MODIFIER_##NAME) && \
    !((0xFF ^ ECORE_EVENT_MODIFIER_##NAME) & (MASK & 0x0F)))
 
-
+#define WIN_DEFAULT_W 900
+#define WIN_DEFAULT_H 440
 
 #define ENVENTOR_BETA_API_SUPPORT 1
 #include <Enventor.h>

-- 


Reply via email to