X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fw-input-emoticon.cpp;h=8ffd747d06d31c88e04c1b7643ad883f6b369142;hb=74f2cf16e8e8591f7ecee1e854e6a94a17442921;hp=d94c5536d55c80062e7129eeb91357e9d7df8cc0;hpb=f7fc0aa295fc1e0a8c51c7f54e7b44b30a4c2dbe;p=platform%2Fcore%2Fuifw%2Finputdelegator.git diff --git a/src/w-input-emoticon.cpp b/src/w-input-emoticon.cpp index d94c553..8ffd747 100755 --- a/src/w-input-emoticon.cpp +++ b/src/w-input-emoticon.cpp @@ -280,7 +280,7 @@ static Eina_Bool _custom_back_cb2(void *data, Elm_Object_Item *it) lazy_loading_timer_for_contents = NULL; } - if(emoticon_drawing_pool.used == 0){ + if (emoticon_drawing_pool.used == 0){ evas_object_del(emoticon_drawing_pool.content); } emoticon_drawing_pool.content = NULL; @@ -368,7 +368,6 @@ void set_recent_emoticons(vector &emoticon_list, int val) if (PREFERENCE_ERROR_NONE != ret) { PRINTFUNC(DLOG_ERROR, "preference_set_string error!(%d)", ret); } - } static void _drawing_app_control_reply_cb(app_control_h request, app_control_h reply, app_control_result_e result, void *user_data) @@ -376,7 +375,7 @@ static void _drawing_app_control_reply_cb(app_control_h request, app_control_h r char* path = NULL; app_control_get_extra_data(reply, APP_CONTROL_DATA_PATH, &path); - if(path){ + if (path){ PRINTFUNC(DLOG_DEBUG, "path=%s", path); char *pathes[] = {path, }; reply_to_sender_by_callback(NULL, "image", (const char **)pathes, NULL); @@ -566,7 +565,7 @@ static Evas_Object * __emoticon_gl_1_content_get(void *data, Evas_Object *obj, c emoticon_drawing_pool.content = btn; emoticon_drawing_pool.used = 0; return btn; - } else if(!strcmp(part, "base")){ + } else if (!strcmp(part, "base")){ Evas_Object* btn = elm_button_add(obj); elm_object_style_set(btn, "ime/transparent"); return btn; @@ -919,7 +918,7 @@ void _update_emoticon_items(void *data) // Drawing if (app_data->mime_type == MIME_TYPE_ALL) { - it_drawing = elm_genlist_item_append(gl, itc_1text_1icon, "Doodle", NULL, ELM_GENLIST_ITEM_NONE, _drawing_item_clicked_cb, (void *)app_data); + it_drawing = elm_genlist_item_append(gl, itc_1text_1icon, (void*)"WDS_IME_MBODY_DRAWING_M_EMOTICON_ABB", NULL, ELM_GENLIST_ITEM_NONE, _drawing_item_clicked_cb, (void *)app_data); first_it = it_drawing; } @@ -929,7 +928,7 @@ void _update_emoticon_items(void *data) } // Group Recents - it_emoticon_recent_group = elm_genlist_item_append(gl, itc_group, (void*)"IDS_IME_HEADER_RECENT_M_RECETLY_SENT_EMOJIS_ABB", NULL, ELM_GENLIST_ITEM_NONE, NULL, (void *)2); + it_emoticon_recent_group = elm_genlist_item_append(gl, itc_group, (void*)"WDS_IME_HEADER_RECENT_M_RECETLY_SENT_EMOJIS_ABB", NULL, ELM_GENLIST_ITEM_NONE, NULL, (void *)2); elm_genlist_item_select_mode_set(it, ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY); if (first_it == NULL) first_it = it_emoticon_recent_group; @@ -943,7 +942,7 @@ void _update_emoticon_items(void *data) } // Group Emoticons - it_emoticon_emoji_group = elm_genlist_item_append(gl, itc_group, (void*)"IDS_IME_HEADER_EMOJIS_ABB", NULL, ELM_GENLIST_ITEM_NONE, NULL, (void *)2); + it_emoticon_emoji_group = elm_genlist_item_append(gl, itc_group, (void*)"WDS_IME_HEADER_EMOJIS_ABB", NULL, ELM_GENLIST_ITEM_NONE, NULL, (void *)2); elm_genlist_item_select_mode_set(it, ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY); if (first_it == NULL) first_it = it_emoticon_emoji_group;