rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=96b7f049c28ef878349eb8c0082449f275e8231c

commit 96b7f049c28ef878349eb8c0082449f275e8231c
Author: Vitalii Vorobiov <vi.vorob...@samsung.com>
Date:   Wed Jan 27 16:27:09 2016 +0000

    property_color: delete not important flag
---
 src/bin/ui/colorclass_manager.c | 1 +
 src/bin/ui/property_color.c     | 5 +----
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/bin/ui/colorclass_manager.c b/src/bin/ui/colorclass_manager.c
index d7d7554..842e9f6 100644
--- a/src/bin/ui/colorclass_manager.c
+++ b/src/bin/ui/colorclass_manager.c
@@ -173,6 +173,7 @@ _on_button_delete_clicked_cb(void *data __UNUSED__,
      {
         edit->current_ccl = NULL;
         elm_object_disabled_set(edit->del_button, EINA_TRUE);
+        evas_object_smart_callback_call(ap.win, SIGNAL_COLOR_SELECTED, NULL);
      }
 
    editor_save(ap.project->global_object);
diff --git a/src/bin/ui/property_color.c b/src/bin/ui/property_color.c
index c81fc3e..a3bcd9a 100644
--- a/src/bin/ui/property_color.c
+++ b/src/bin/ui/property_color.c
@@ -38,8 +38,6 @@ struct _Color_Prop_Data
    ColorClassData color_data;
 };
 
-static Eina_Bool is_colorselector_create = EINA_FALSE;
-
 static void
 _colorclass_update(Color_Prop_Data *pd)
 {
@@ -164,12 +162,11 @@ _on_color_selected(void *data,
      {
         Colorclass_Item *ccl = current_color->current_ccl;
 
-        if (!is_colorselector_create)
+        if (!pd->colorsel1_layout)
           {
              ADD_COLORSEL(1, pd->box_object_color);
              ADD_COLORSEL(2, pd->box_outline_color);
              ADD_COLORSEL(3, pd->box_shadow_color);
-             is_colorselector_create = EINA_TRUE;
           }
         else
           {

-- 


Reply via email to