elementary/ctxpopup - apply current ctxpopup style to the internal list.

This commit is contained in:
ChunEon Park 2013-06-23 02:23:23 +09:00
parent 4d1c98968a
commit 72f639543c
3 changed files with 13 additions and 0 deletions

View File

@ -1447,3 +1447,7 @@
2013-06-22 ChunEon Park (Hermet)
* Block mouse events when the ctxpopup on dismiss.
2013-06-23 ChunEon Park (Hermet)
* Apply current ctxpopup style to the list in the ctxpopup.

View File

@ -260,6 +260,7 @@ Removals:
* 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.
* 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:
-------------------------

View File

@ -1399,6 +1399,14 @@ _item_append(Eo *obj, void *_pd, va_list *list)
{
//The first item is appended.
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_horizontal_set(sd->list, sd->horizontal);
evas_object_event_callback_add