edje_cc: add short state handler for part.description.clip_to
authorSungtaek Hong <sth253.hong@samsung.com>
Tue, 18 Apr 2017 07:48:04 +0000 (16:48 +0900)
committerJeeyong Um <conr2d@gmail.com>
Tue, 18 Apr 2017 07:48:04 +0000 (16:48 +0900)
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

src/bin/edje/edje_cc_handlers.c

index 91c08c2..6c34035 100644 (file)
@@ -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,