rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=7efa8b66c9b8459c8b01cbe377bc587db2910471

commit 7efa8b66c9b8459c8b01cbe377bc587db2910471
Author: Andrii Kroitor <an.kroi...@samsung.com>
Date:   Thu Jul 16 14:03:15 2015 +0300

    remove unused panes block
---
 src/bin/config/config.c | 4 ----
 src/bin/config/config.h | 1 -
 src/bin/eflete.h        | 1 -
 src/bin/ui/connector.c  | 3 ---
 4 files changed, 9 deletions(-)

diff --git a/src/bin/config/config.c b/src/bin/config/config.c
index 250d89a..a348144 100644
--- a/src/bin/config/config.c
+++ b/src/bin/config/config.c
@@ -85,7 +85,6 @@ config_init(App_Data *ap)
    EET_DATA_DESCRIPTOR_ADD_BASIC(edd_base, Config, "panes.left_hor",    
panes.left_hor, EET_T_DOUBLE);
    EET_DATA_DESCRIPTOR_ADD_BASIC(edd_base, Config, "panes.right_hor",   
panes.right_hor, EET_T_DOUBLE);
    EET_DATA_DESCRIPTOR_ADD_BASIC(edd_base, Config, "panes.center",      
panes.center, EET_T_DOUBLE);
-   EET_DATA_DESCRIPTOR_ADD_BASIC(edd_base, Config, "panes.center_down", 
panes.center_down, EET_T_DOUBLE);
 
    EET_DATA_DESCRIPTOR_ADD_BASIC(edd_base, Config, "profile", profile, 
EET_T_STRING);
 
@@ -344,7 +343,6 @@ _config_default_new(void)
    conf->panes.left_hor =     0.7;
    conf->panes.right_hor =    0.3;
    conf->panes.center =       0.65;
-   conf->panes.center_down =  0.2;
    conf->profile = strdup("default");
 
    return conf;
@@ -390,8 +388,6 @@ config_panes_sizes_data_update(App_Data *ap)
      elm_panes_content_left_size_get(ap->panes.right_hor);
    config->panes.center =
      elm_panes_content_left_size_get(ap->panes.center);
-   config->panes.center_down =
-     elm_panes_content_left_size_get(ap->panes.center_down);
 
    return true;
 }
diff --git a/src/bin/config/config.h b/src/bin/config/config.h
index d7982af..c7f6228 100644
--- a/src/bin/config/config.h
+++ b/src/bin/config/config.h
@@ -56,7 +56,6 @@ struct _Config
       double left_hor; /**< position of left_hor panes */
       double right_hor; /**< position of right_hor panes */
       double center; /**< position of center panes */
-      double center_down; /**< position of center_down panes */
    } panes;
    const char *profile; /**< profile name */
 };
diff --git a/src/bin/eflete.h b/src/bin/eflete.h
index 098bddd..6265207 100644
--- a/src/bin/eflete.h
+++ b/src/bin/eflete.h
@@ -92,7 +92,6 @@ struct _App_Data
       Evas_Object *left_hor;
       Evas_Object *right_hor;
       Evas_Object *center;
-      Evas_Object *center_down; /* delete it*/
    } panes;
 
    struct {
diff --git a/src/bin/ui/connector.c b/src/bin/ui/connector.c
index 643a1e7..16fc127 100644
--- a/src/bin/ui/connector.c
+++ b/src/bin/ui/connector.c
@@ -1824,7 +1824,6 @@ code_edit_mode_switch(App_Data *ap, Eina_Bool is_on)
 {
    Config *config;
    double center = 0.0,
-          center_down = 0.0,
           left = 0.0,
           right_hor = 0.0;
 
@@ -1838,13 +1837,11 @@ code_edit_mode_switch(App_Data *ap, Eina_Bool is_on)
          if (!config) return false;
 
          center = config->panes.center;
-         center_down = config->panes.center_down;
          left = config->panes.left;
          right_hor = config->panes.right_hor;
       }
 
    _panes_pos_setup(ap->panes.center, center, is_on);
-   _panes_pos_setup(ap->panes.center_down, center_down, is_on);
    _panes_pos_setup(ap->panes.left, left, is_on);
    _panes_pos_setup(ap->panes.right_hor, right_hor, is_on);
    ui_panes_left_panes_min_size_toggle(ap, !is_on);

-- 


Reply via email to