edje: fix group inherit with script
authorMichael BOUCHAUD <michael.bouchaud@gmail.com>
Mon, 17 Sep 2012 16:37:50 +0000 (16:37 +0000)
committerMichael BOUCHAUD <michael.bouchaud@gmail.com>
Mon, 17 Sep 2012 16:37:50 +0000 (16:37 +0000)
SVN revision: 76769

legacy/edje/src/bin/edje_cc_handlers.c

index 6e10cce..185eb12 100644 (file)
@@ -1098,6 +1098,8 @@ _edje_program_copy(Edje_Program *ep, Edje_Program *ep2)
           data_queue_copied_part_lookup(pc, &(et2->id), &(et->id));
         else if (ep2->action == EDJE_ACTION_TYPE_ACTION_STOP)
           data_queue_copied_program_lookup(pc, &(et2->id), &(et->id));
+        else if (ep2->action == EDJE_ACTION_TYPE_SCRIPT)
+          data_queue_copied_program_lookup(pc, &(et2->id), &(et->id));
         else if (ep2->action == EDJE_ACTION_TYPE_DRAG_VAL_SET)
           data_queue_copied_part_lookup(pc, &(et2->id), &(et->id));
         else if (ep2->action == EDJE_ACTION_TYPE_DRAG_VAL_STEP)
@@ -2557,6 +2559,7 @@ st_collections_group_inherit(void)
         cp->l2 = cp2->l2;
         cp->script = STRDUP(cp2->script);
         cd->is_lua = cd2->is_lua;
+        cd->shared = cd2->shared;
         cd->programs = eina_list_append(cd->programs, cp);
         data_queue_copied_anonymous_lookup(pc, &(cp2->id), &(cp->id));
      }