forked from enlightenment/efl
elementary/ctxpopup - apply current ctxpopup style to the internal list.
This commit is contained in:
parent
4d1c98968a
commit
72f639543c
|
@ -1447,3 +1447,7 @@
|
||||||
2013-06-22 ChunEon Park (Hermet)
|
2013-06-22 ChunEon Park (Hermet)
|
||||||
|
|
||||||
* Block mouse events when the ctxpopup on dismiss.
|
* Block mouse events when the ctxpopup on dismiss.
|
||||||
|
|
||||||
|
2013-06-23 ChunEon Park (Hermet)
|
||||||
|
|
||||||
|
* Apply current ctxpopup style to the list in the ctxpopup.
|
||||||
|
|
|
@ -260,6 +260,7 @@ Removals:
|
||||||
* Deprecate elm_object_domain_translatable_text_part_set(), elm_object_translatable_text_part_get().
|
* Deprecate elm_object_domain_translatable_text_part_set(), elm_object_translatable_text_part_get().
|
||||||
* Deprecate elm_web_uri_set(), elm_web_uri_get() and "uri,changed" signal for web, web2.
|
* Deprecate elm_web_uri_set(), elm_web_uri_get() and "uri,changed" signal for web, web2.
|
||||||
* Naviframe: Dont' be popped if the event is freezed and popping is going on.
|
* Naviframe: Dont' be popped if the event is freezed and popping is going on.
|
||||||
|
* Ctxpopup: Apply current ctxpopup style to the list.
|
||||||
|
|
||||||
Changes since Elementary 1.0.0:
|
Changes since Elementary 1.0.0:
|
||||||
-------------------------
|
-------------------------
|
||||||
|
|
|
@ -1399,6 +1399,14 @@ _item_append(Eo *obj, void *_pd, va_list *list)
|
||||||
{
|
{
|
||||||
//The first item is appended.
|
//The first item is appended.
|
||||||
sd->list = elm_list_add(obj);
|
sd->list = elm_list_add(obj);
|
||||||
|
if (sd->list)
|
||||||
|
{
|
||||||
|
if (!strncmp(elm_object_style_get(obj), "default",
|
||||||
|
strlen("default")))
|
||||||
|
elm_object_style_set(sd->list, "ctxpopup");
|
||||||
|
else
|
||||||
|
elm_object_style_set(sd->list, elm_object_style_get(obj));
|
||||||
|
}
|
||||||
elm_list_mode_set(sd->list, ELM_LIST_EXPAND);
|
elm_list_mode_set(sd->list, ELM_LIST_EXPAND);
|
||||||
elm_list_horizontal_set(sd->list, sd->horizontal);
|
elm_list_horizontal_set(sd->list, sd->horizontal);
|
||||||
evas_object_event_callback_add
|
evas_object_event_callback_add
|
||||||
|
|
Loading…
Reference in New Issue