forked from enlightenment/efl
elm_colorselector: fix improperly named API theme parts
Summary: API parts require namespacing, these parts have been namespaced with compatibility code added to handle legacy naming Reviewers: cedric, Hermet, devilhorns, stephenmhouston Subscribers: segfaultxavi, Hermet, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D6213
This commit is contained in:
parent
ff8c383649
commit
4a2b411287
|
@ -660,7 +660,8 @@ group { name: "elm/colorselector/item/default";
|
|||
color: 255 255 255 64;
|
||||
}
|
||||
}
|
||||
part { name: "color_obj"; type: SWALLOW;
|
||||
alias: "color_obj" "elm.swallow.color_obj";
|
||||
part { name: "elm.swallow.color_obj"; type: SWALLOW;
|
||||
clip_to: "clipper";
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: 3 3;
|
||||
|
|
|
@ -1796,7 +1796,8 @@ _elm_color_item_efl_object_constructor(Eo *eo_item, Elm_Color_Item_Data *item)
|
|||
(item->color_obj, EVAS_CALLBACK_MOUSE_MOVE, _on_color_moved, item);
|
||||
evas_object_event_callback_add
|
||||
(item->color_obj, EVAS_CALLBACK_MOUSE_UP, _on_color_released, item);
|
||||
elm_object_part_content_set(VIEW(item), "color_obj", item->color_obj);
|
||||
if (!elm_layout_content_set(VIEW(item), "elm.swallow.color_obj", item->color_obj))
|
||||
elm_layout_content_set(VIEW(item), "color_obj", item->color_obj);
|
||||
|
||||
_item_sizing_eval(item);
|
||||
evas_object_show(VIEW(item));
|
||||
|
|
Loading…
Reference in New Issue