nikawhite pushed a commit to branch master.

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

commit 055b244005c71ffdda7aecd9e3707fb874445929
Author: Vyacheslav Reutskiy <v.reuts...@samsung.com>
Date:   Fri Apr 22 10:26:27 2016 +0300

    tabs: mark the code is changed for all workpsace on project change
    
    Change-Id: I179208d1fc69c8b55037c79ac811107bdd160bc5
---
 src/bin/ui/tabs.c | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/src/bin/ui/tabs.c b/src/bin/ui/tabs.c
index b8d0c84..23d2e55 100644
--- a/src/bin/ui/tabs.c
+++ b/src/bin/ui/tabs.c
@@ -336,9 +336,13 @@ _on_project_changed(void *data __UNUSED__,
                     Evas_Object *obj __UNUSED__,
                     void *event_info __UNUSED__)
 {
-   assert(tabs.current_group != NULL);
-   assert(tabs.current_workspace != NULL);
-   workspace_code_changed(tabs.current_workspace);
+   Eina_List *l;
+   Tabs_Item *item;
+
+   EINA_LIST_FOREACH(tabs.items, l, item)
+     {
+        workspace_code_changed(item->content);
+     }
 }
 
 static void

-- 


Reply via email to