rimmed pushed a commit to branch master.

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

commit bef8218185c619b0f63d7aa4f769028ce5287719
Author: Vitalii Vorobiov <vi.vorob...@samsung.com>
Date:   Fri Jan 29 14:20:53 2016 +0000

    property_style: able to save on property change
---
 src/bin/ui/property_style.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/bin/ui/property_style.c b/src/bin/ui/property_style.c
index df758c7..6eaf7f8 100644
--- a/src/bin/ui/property_style.c
+++ b/src/bin/ui/property_style.c
@@ -277,6 +277,9 @@ _on_##VALUE##_change(void *data, \
    _lines_colors_update(pd, TEXT); \
    _style_edit_update(pd); \
    eina_stringshare_del(value); \
+   editor_save(ap.project->global_object); \
+   TODO("Remove this line once edje_edit API would be added into Editor Module 
and saving would work properly") \
+   ap.project->changed = true; \
 }
 
 static void
@@ -647,6 +650,9 @@ _on_##VALUE##_change(void *data, \
    evas_object_color_set(color, r*a/255, g*a/255, b*a/255, a); \
    _style_edit_update(pd); \
    eina_stringshare_del(value); \
+   editor_save(ap.project->global_object); \
+   TODO("Remove this line once edje_edit API would be added into Editor Module 
and saving would work properly") \
+   ap.project->changed = true; \
 } \
 static void \
 _on_##VALUE##_dismissed(void *data, \

-- 


Reply via email to