From: Sungtaek Hong Date: Tue, 18 Apr 2017 07:48:04 +0000 (+0900) Subject: edje_cc: add short state handler for part.description.clip_to X-Git-Tag: upstream/1.20.0~1478 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=aaefd66d0c6425bea182a2549075b8de7376782d;p=platform%2Fupstream%2Fefl.git edje_cc: add short state handler for part.description.clip_to Summary: part.clip_to statement has short handler named "part.clip" while part.description.clip_to does not. Its short handler name should be "part.description.clip" in order to have same experience with "part.clip". Reviewers: cedric, Hermet, jpeg, conr2d Reviewed By: conr2d Subscribers: conr2d Differential Revision: https://phab.enlightenment.org/D4789 --- diff --git a/src/bin/edje/edje_cc_handlers.c b/src/bin/edje/edje_cc_handlers.c index 91c08c2..6c34035 100644 --- a/src/bin/edje/edje_cc_handlers.c +++ b/src/bin/edje/edje_cc_handlers.c @@ -1078,6 +1078,9 @@ New_Statement_Handler statement_handlers[] = pointer -> pointer_mode alt_font -> use_alternate_font_metrics clip -> clip_to + desc { + clip -> clip_to + } } } } @@ -1102,6 +1105,7 @@ New_Statement_Handler statement_handlers_short[] = {"collections.group.parts.part.pointer", st_collections_group_parts_part_pointer_mode}, {"collections.group.parts.part.alt_font", st_collections_group_parts_part_use_alternate_font_metrics}, {"collections.group.parts.part.clip", st_collections_group_parts_part_clip_to_id}, + {"collections.group.parts.part.description.clip", st_collections_group_parts_part_description_clip_to_id}, }; /** @edcsubsection{lazedc_shorthand,