yakov pushed a commit to branch master.

http://git.enlightenment.org/tools/erigo.git/commit/?id=e967115b05244affe98cb4c4620f91a318e0be6c

commit e967115b05244affe98cb4c4620f91a318e0be6c
Author: Yakov Goldberg <yako...@samsung.com>
Date:   Wed May 20 17:26:54 2015 +0300

    Add Elm.Win.type property to default values
---
 data/config/func_names.json | 1 +
 src/bin/gui/editor.c        | 6 ------
 src/lib/database.h          | 1 -
 3 files changed, 1 insertion(+), 7 deletions(-)

diff --git a/data/config/func_names.json b/data/config/func_names.json
index 7d8cfab..fe83098 100644
--- a/data/config/func_names.json
+++ b/data/config/func_names.json
@@ -3,6 +3,7 @@
       {
         "Elm.Win":
           {
+             "Elm.Win.type":["ELM_WIN_BASIC"],
              "Efl.Gfx.Base.size":[150, 100]
           },
         "Elm.Button":
diff --git a/src/bin/gui/editor.c b/src/bin/gui/editor.c
index 278b94a..daa138e 100644
--- a/src/bin/gui/editor.c
+++ b/src/bin/gui/editor.c
@@ -3207,12 +3207,6 @@ _editor_factory_wdg_create(const char *class_name, const 
Gui_Widget *focused_wdg
 
    if (IS_WIN(wdg))
      {
-        op = db_mro_op_desc_get(class_name, DB_DEF_WIN_CLASS, 
ELM_OBJ_WIN_TYPE);
-        prop = prop_create_for_op(op);
-        val = prop_value_nth_get(prop, 0);
-        gui_value_string_set(val, "ELM_WIN_BASIC");
-        wdg_prop_add(wdg, prop);
-
         op = db_mro_op_desc_get(class_name, DB_DEF_WIN_CLASS, TITLE_SET);
         prop = prop_create_for_op(op);
         val = prop_value_nth_get(prop, 0);
diff --git a/src/lib/database.h b/src/lib/database.h
index d16081a..1c4eb14 100644
--- a/src/lib/database.h
+++ b/src/lib/database.h
@@ -139,7 +139,6 @@ typedef struct _Container_Desc Container_Desc;
 #define SIZE_HINT_WEIGHT_SET "size_hint_weight"
 #define SIZE_HINT_ALIGN_SET "size_hint_align"
 #define POSITION_SET "position"
-#define ELM_OBJ_WIN_TYPE "type"
 #define FILE_SET "file"
 #define CONTENT_SET "content_set"
 #define ITEM_PUSH "item_push"

-- 


Reply via email to