From: Wootak Jung Date: Mon, 16 May 2016 00:19:45 +0000 (+0900) Subject: Fix SIM selection popup not invoke issue X-Git-Tag: accepted/tizen/common/20160516.143225^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F41%2F69541%2F2;p=platform%2Fcore%2Ftelephony%2Fcall-manager.git Fix SIM selection popup not invoke issue Change-Id: I6030debcbaec17ad42c7cd5b3c496e525ebf4dd8 --- diff --git a/callmgr-popup/src/callmgr-popup-widget.c b/callmgr-popup/src/callmgr-popup-widget.c index 4e9ca2e..9153cd9 100755 --- a/callmgr-popup/src/callmgr-popup-widget.c +++ b/callmgr-popup/src/callmgr-popup-widget.c @@ -385,12 +385,11 @@ static char *__callmgr_popup_sim_list_gl_label_get(void *data, Evas_Object *obj, { int idx = GPOINTER_TO_INT(data); char *sim_name = NULL; - if (strcmp(part, "elm.text.main.left") == 0) { - if (idx == 0) { + if (strcmp(part, "elm.text") == 0) { + if (idx == 0) sim_name = vconf_get_str(VCONFKEY_SETAPPL_SIM1_NAME); - } else { + else sim_name = vconf_get_str(VCONFKEY_SETAPPL_SIM2_NAME); - } if (NULL == sim_name) { ERR("vconf_get_str failed returning NULL"); @@ -414,16 +413,13 @@ static Evas_Object *__callmgr_popup_sim_list_gl_icon_get(void *data, Evas_Object return NULL; } - if (strcmp(part, "elm.icon.1") == 0) { - if (idx == 0) { - if (vconf_get_int(VCONFKEY_SETAPPL_SIM1_ICON, &sim_icon_index)) { + if (strcmp(part, "elm.swallow.icon") == 0) { + if (idx == 0) + if (vconf_get_int(VCONFKEY_SETAPPL_SIM1_ICON, &sim_icon_index)) ERR("Vconf get error : VCONFKEY_SETAPPL_SIM1_ICON"); - } - } else { - if (vconf_get_int(VCONFKEY_SETAPPL_SIM2_ICON, &sim_icon_index)) { + else + if (vconf_get_int(VCONFKEY_SETAPPL_SIM2_ICON, &sim_icon_index)) ERR("Vconf get error : VCONFKEY_SETAPPL_SIM2_ICON"); - } - } DBG("sim_icon_index: %d", idx); if (sim_icon_index >= 0 && sim_icon_index < SIM_ICON_MAX) { @@ -503,7 +499,7 @@ void _callmgr_popup_create_sim_selection(void *data) Elm_Genlist_Item_Class* itc = elm_genlist_item_class_new(); ret_if(NULL == itc); - itc->item_style = "1line"; + itc->item_style = "type1"; itc->func.text_get = __callmgr_popup_sim_list_gl_label_get; itc->func.content_get = __callmgr_popup_sim_list_gl_icon_get; itc->func.state_get = NULL; diff --git a/packaging/call-manager.spec b/packaging/call-manager.spec index 81b544d..1020b38 100755 --- a/packaging/call-manager.spec +++ b/packaging/call-manager.spec @@ -1,6 +1,6 @@ %define major 0 %define minor 1 -%define patchlevel 63 +%define patchlevel 64 %define ext_feature 0 Name: call-manager