diff options
author | jinwang.an <jinwang.an@samsung.com> | 2020-01-31 13:22:54 +0900 |
---|---|---|
committer | jinwang.an <jinwang.an@samsung.com> | 2020-01-31 13:22:54 +0900 |
commit | 0b26b1e6b2f115da253e0c5b05131fabbba8db63 (patch) | |
tree | 6767f000c53ffac3d61f921fa7e258549f3ec76f | |
parent | 32153b681b4604d9cc0a80e383d5c070aac2dbcf (diff) | |
download | watch-setting-0b26b1e6b2f115da253e0c5b05131fabbba8db63.tar.gz watch-setting-0b26b1e6b2f115da253e0c5b05131fabbba8db63.tar.bz2 watch-setting-0b26b1e6b2f115da253e0c5b05131fabbba8db63.zip |
Remove FEATURE_SETTING_SDK, Not used source code
Change-Id: I65e00470ce9153a9194cc13321e7ca8bee94cabf
Signed-off-by: jinwang.an <jinwang.an@samsung.com>
-rwxr-xr-x | CMakeLists.txt | 19 | ||||
-rw-r--r-- | include/setting-language.h | 2 | ||||
-rw-r--r-- | packaging/org.tizen.watch-setting.spec | 11 | ||||
-rw-r--r-- | src/setting-clock.c | 5 | ||||
-rw-r--r-- | src/setting-display.c | 198 | ||||
-rw-r--r-- | src/setting-info.c | 30 |
6 files changed, 1 insertions, 264 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 7d08035..441dbc8 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -41,12 +41,6 @@ SET(FAKE_IMG_PATH "${TZ_SYS_RO_APP}/${PKGNAME}/shared/res") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC -Werror=pointer-to-int-cast -Werror=int-to-pointer-cast") -IF(FEATURE_SETTING_SDK) - MESSAGE("tiznew2 sdk build!!!!!!!!!") - ADD_DEFINITIONS("-DFEATURE_SETTING_SDK") -ELSE(FEATURE_SETTING_SDK) - MESSAGE("tiznew2 build!!!!!!!!!") -ENDIF(FEATURE_SETTING_SDK) IF(FEATURE_EMUL) SET(FEATURE_SETTING_EMUL "1") MESSAGE("emul build!!!!!!!!!") @@ -83,11 +77,8 @@ pkg_check_modules(pkgs REQUIRED elementary ecore-imf appcore-common appcore-efl capi-network-stc ) -#?? FIND_LIBRARY(LIB_M m) -#INSTALL(TARGETS ${PROJECT_NAME} DESTINATION ${BINDIR}) - #Icon - app INSTALL(FILES ${CMAKE_SOURCE_DIR}/org.tizen.watch-setting.png DESTINATION ${ICONDIR}) @@ -100,14 +91,10 @@ INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/data/images/ DESTINATION ${TZ_SYS_ IF(FEATURE_EMUL) INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/data/langlist_emul.xml DESTINATION ${DATADIR} RENAME langlist.xml) INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/data/langlist_emul.xml DESTINATION ${TZ_SYS_GLOBALUSER_DATA}/setting RENAME langlist.xml) -ELSEIF(FEATURE_SETTING_SDK) - INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/data/langlist_emul.xml DESTINATION ${DATADIR} RENAME langlist.xml) - INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/data/langlist_emul.xml DESTINATION ${TZ_SYS_GLOBALUSER_DATA}/setting RENAME langlist.xml) ELSE(FEATURE_EMUL) INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/data/langlist.xml DESTINATION ${DATADIR}) INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/data/langlist.xml DESTINATION ${TZ_SYS_GLOBALUSER_DATA}/setting) ENDIF(FEATURE_EMUL) -#INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/data/langlist_all.xml DESTINATION ${DATADIR}) # install clocklist xml file INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/data/clocklist.xml DESTINATION ${DATADIR}) @@ -135,7 +122,6 @@ ADD_DEFINITIONS("-DINSTALL_DIR_APPS=\"${INSTALL_DIR_APPS}\"") ADD_DEFINITIONS("-DBINDIR=\"${BINDIR}\"") ADD_DEFINITIONS("-DLOCALEDIR=\"${LOCALEDIR}\"") ADD_DEFINITIONS("-DICON_DIR=\"${ICONDIR}\"") -#ADD_DEFINITIONS("-DEDJDIR=\"${EDJDIR}\"") ADD_DEFINITIONS("-DELM_DEMO_EDJ=\"${EDJ_PATH}/${PROJECT_NAME}.edj\"") ADD_DEFINITIONS("-DTZ_SYS_RO_APP_D=\"${TZ_SYS_RO_APP}\"") ADD_DEFINITIONS("-DTZ_SYS_DATA_D=\"${TZ_SYS_DATA}\"") @@ -167,7 +153,6 @@ INSTALL(FILES ${CMAKE_BINARY_DIR}/${PROJECT_NAME}.edj DESTINATION ${EDJ_PATH}) # install application HOME directory INSTALL(DIRECTORY DESTINATION ${DATADIR}) -#ADD_SUBDIRECTORY(po) # desktop icon SET(PREFIX ${CMAKE_INSTALL_PREFIX}) @@ -175,9 +160,5 @@ CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/org.tizen.watch-setting.xml.in ${CMAKE_SOURCE INSTALL(FILES ${CMAKE_SOURCE_DIR}/org.tizen.watch-setting.xml DESTINATION /usr/share/packages) INSTALL(FILES ${CMAKE_SOURCE_DIR}/org.tizen.watch-setting.png DESTINATION /usr/share/icons/default/small) INSTALL(FILES ${CMAKE_SOURCE_DIR}/org.tizen.watch-setting_small.png DESTINATION /usr/share/icons/default/small) -#INSTALL(FILES ${CMAKE_SOURCE_DIR}/history DESTINATION /opt/usr/apps/org.tizen.watch-setting/data) - -#INSTALL fake image -#INSTALL(FILES ${CMAKE_SOURCE_DIR}/images/fake/calc_por.jpg DESTINATION /${TZ_SYS_RO_APP}/org.tizen.watch-setting/res/images) ADD_SUBDIRECTORY(po) diff --git a/include/setting-language.h b/include/setting-language.h index 0d7a17b..554442d 100644 --- a/include/setting-language.h +++ b/include/setting-language.h @@ -33,7 +33,7 @@ #define ITEM_COUNT 2 -#if defined(FEATURE_SETTING_SDK) || defined(FEATURE_SETTING_EMUL) +#if defined(FEATURE_SETTING_EMUL) #define LANGUAGE_ITEM_COUNT 49 #else #define LANGUAGE_ITEM_COUNT 84 diff --git a/packaging/org.tizen.watch-setting.spec b/packaging/org.tizen.watch-setting.spec index f4b4872..25840ea 100644 --- a/packaging/org.tizen.watch-setting.spec +++ b/packaging/org.tizen.watch-setting.spec @@ -104,9 +104,6 @@ cmake . -DCMAKE_INSTALL_PREFIX=%{PREFIX} \ -DTZ_SYS_SHARE=%{TZ_SYS_SHARE} \ -DTZ_SYS_GLOBALUSER_DATA=%{TZ_SYS_GLOBALUSER_DATA} \ -DTZ_USER_CONTENT=%{TZ_USER_CONTENT} \ -%if 0%{?sec_build_binary_sdk} - -DFEATURE_SETTING_SDK=YES \ -%endif %ifarch %{ix86} -DFEATURE_EMUL=YES \ %endif @@ -154,10 +151,6 @@ mkdir -p %{buildroot}/%{TZ_SYS_RW_APPS}/org.tizen.watch-setting/res/images #resetSecurity rm -rf %{TZ_SYS_DATA}/setting/set_info - -#ln -s /opt/usr/share/settings /opt/share/settings -#+ln -s %{TZ_SYS_SHARE}/settings %{TZ_SYS_SHARE}/settings - # shared dir mkdir -p %{TZ_SYS_RO_APP}/org.tizen.watch-setting/shared mkdir -p %{TZ_SYS_RO_APP}/org.tizen.watch-setting/shared/res @@ -169,13 +162,9 @@ mkdir -p %{TZ_SYS_GLOBALUSER_DATA}/settings %manifest %{name}.manifest %defattr(-,root,root,-) %dir %{PREFIX}/data -#%{PREFIX}/bin/* -#%{PREFIX}/res/* /usr/share/packages/* /usr/share/icons/default/small/* -#/usr/share/packages/%{name}.xml %{TZ_SYS_RO_APP}/org.tizen.watch-setting/* -#%{TZ_SYS_RO_APP}/org.tizen.watch-setting/data/images/* %{TZ_SYS_GLOBALUSER_DATA}/* /usr/share/Safety.zip /opt/usr/data/setting/* diff --git a/src/setting-clock.c b/src/setting-clock.c index 65cbf87..24f82b6 100644 --- a/src/setting-clock.c +++ b/src/setting-clock.c @@ -96,11 +96,6 @@ static struct _clock_menu_item clock_menu_its[] = { #if FEATURE_SETTING_EMUL { "WDS_CLOCK_MBODY_WATCH_ALWAYS_ON_ABB", SETTING_CLOCK_WATCH_ALWAYS_ON, _clock_gl_watch_always_on_cb }, #endif -#ifndef FEATURE_SETTING_SDK -// { "IDS_ST_BODY_DATE_AND_TIME_ABB", 0, _dt_cb }, -// { "IDS_ST_BODY_HOURLY_ALERT_ABB", 0, _hourly_alert_cb }, -#endif -// { "WDS_ST_MBODY_BACKGROUND_STYLE", SETTING_CLOCK_BACKGROUND_STYLE, _clock_bg_cb }, { "IDS_ST_BODY_FONT", SETTING_CLOCK_FONT, _clock_gl_font_cb }, }; diff --git a/src/setting-display.c b/src/setting-display.c index 944cddf..85bcbe2 100644 --- a/src/setting-display.c +++ b/src/setting-display.c @@ -62,11 +62,6 @@ static void change_screen_time_cb(keynode_t *key, void *data); static struct _display_menu_item display_menu_its[] = { { "IDS_ST_BUTTON_BRIGHTNESS", SETTING_DISPLAY_BRIGTHNESS, _display_brightness_cb }, { "IDS_ST_MBODY_SCREEN_TIMEOUT_ABB", SETTING_DISPLAY_SCREEN_TIME, _display_gl_screen_timeout_cb }, - /* { "IDS_ST_BUTTON_LANGUAGE", SETTING_DISPLAY_LANG, _display_gl_language_cb }, - #if !defined(FEATURE_SETTING_SDK) && !(FEATURE_SETTING_EMUL) - { "IDS_ST_MBODY_MANAGE_APPS_ABB", SETTING_DISPLAY_EDIT_APPS, _homescreen_gl_edit_apps_cb }, - #endif - */ }; @@ -151,30 +146,6 @@ void _init_display() register_vconf_changing(VCONFKEY_WMS_WMANAGER_CONNECTED, change_language_enabling, NULL); register_vconf_changing(VCONFKEY_SETAPPL_LCD_TIMEOUT_NORMAL, change_screen_time_cb, NULL); register_vconf_changing(VCONFKEY_LANGSET, change_language_cb, NULL); - - /*_init_screen_rotate(); */ -} - -void _init_screen_rotate() -{ - int rotate; - rotate = _get_rotate_screen(); - rotate_screen_rot = rotate; - - if (rotate == SETTING_SCREENROTATION_90_DEGREE) { - /*90R */ - rotate_screen_index = 1; - } else if (rotate == SETTING_SCREENROTATION_270_DEGREE) { - /*90L */ - rotate_screen_index = 2; - } else if (rotate == SETTING_SCREENROTATION_180_DEGREE) { - /*180 */ - rotate_screen_index = 3; - } - - if (rotate == -1) { - rotate_screen_rot = SETTING_SCREENROTATION_0_DEGREE; - } } void _update_menu_text_when_lang_changed() @@ -237,15 +208,6 @@ void _display_gl_font_size_cb(void *data, Evas_Object *obj, void *event_info) } } -void _display_gl_rotate_screen_cb(void *data, Evas_Object *obj, void *event_info) -{ - elm_genlist_item_selected_set((Elm_Object_Item *)event_info, EINA_FALSE); - - if (data != NULL) { - _show_rotate_screen_list(data); - } -} - void _display_gl_screen_timeout_cb(void *data, Evas_Object *obj, void *event_info) { elm_genlist_item_selected_set((Elm_Object_Item *)event_info, EINA_FALSE); @@ -661,166 +623,6 @@ void _show_screen_timeout_list(void *data) elm_object_item_domain_text_translatable_set(nf_it, SETTING_PACKAGE, EINA_TRUE); } -static char *_gl_roatate_screen_title_get(void *data, Evas_Object *obj, const char *part) -{ - char buf[__SETTING_BUF_SIZE__] = {0,}; - Item_Data *id = data; - - if (!strcmp(part, "elm.text")) { - snprintf(buf, sizeof(buf) - 1, "%s", _(rotate_screen_str[id->index])); - - } - return strdup(buf); -} - -static Evas_Object *_gl_rotate_screen_radio_get(void *data, Evas_Object *obj, const char *part) -{ - Evas_Object *radio = NULL; - Evas_Object *radio_main = evas_object_data_get(obj, "radio_main"); - Item_Data *id = data; - static int rotate = -1; - - if (!strcmp(part, "elm.icon")) { - radio = elm_radio_add(obj); - elm_radio_state_value_set(radio, id->index); - evas_object_size_hint_align_set(radio, EVAS_HINT_FILL, EVAS_HINT_FILL); - evas_object_size_hint_weight_set(radio, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); - elm_radio_group_add(radio, radio_main); - - /*get_int rotate */ - rotate = _get_rotate_screen(); - rotate_screen_rot = rotate; - - if (rotate == SETTING_SCREENROTATION_90_DEGREE) { - /*90R */ - rotate_screen_index = 1; - } else if (rotate == SETTING_SCREENROTATION_270_DEGREE) { - /*90L */ - rotate_screen_index = 2; - } else if (rotate == SETTING_SCREENROTATION_180_DEGREE) { - /*180 */ - rotate_screen_index = 3; - } - - if (rotate == -1) { - rotate_screen_rot = SETTING_SCREENROTATION_0_DEGREE; - } - } - return radio; -} - -static void _rotate_screen_gl_del(void *data, Evas_Object *obj) -{ - Item_Data *id = data; - FREE(id); -} - -static void _rotate_screen_gl_cb(void *data, Evas_Object *obj, void *event_info) -{ - elm_genlist_item_selected_set((Elm_Object_Item *)event_info, EINA_FALSE); - - rotate_screen_index = (uintptr_t)data; - - if (rotate_screen_index == 1) { - /*90R */ - rotate_screen_rot = SETTING_SCREENROTATION_90_DEGREE; - } else if (rotate_screen_index == 2) { - /*90L */ - rotate_screen_rot = SETTING_SCREENROTATION_270_DEGREE; - } else if (rotate_screen_index == 3) { - /*180 */ - rotate_screen_rot = SETTING_SCREENROTATION_180_DEGREE; - } else { - rotate_screen_rot = SETTING_SCREENROTATION_0_DEGREE; - } - - /*set int */ - _set_rotate_screen(rotate_screen_rot); - - elm_genlist_realized_items_update(g_rotate_screen_genlist); - - elm_naviframe_item_pop(g_app_context->nf); - if (!g_app_context->rotate_screen_rdg) { - evas_object_del(g_app_context->rotate_screen_rdg); - g_app_context->rotate_screen_rdg = NULL; - } -} - -void _show_rotate_screen_list(void *data) -{ - appdata *ad = data; - if (ad == NULL) { - DBG("%s", "_show_screen_timeout_list - appdata is null"); - return; - } - Evas_Object *genlist = NULL; - Elm_Object_Item *nf_it = NULL; - int idx; - - g_app_context = ad; - - Elm_Genlist_Item_Class *itc = elm_genlist_item_class_new(); - itc->item_style = "1text.1icon.1"; - itc->func.text_get = _gl_roatate_screen_title_get; - itc->func.content_get = _gl_rotate_screen_radio_get; - itc->func.del = _rotate_screen_gl_del; - - genlist = elm_genlist_add(ad->nf); - elm_genlist_block_count_set(genlist, 14); - evas_object_size_hint_weight_set(genlist, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); - connect_to_wheel_with_genlist(genlist, ad); - - Elm_Genlist_Item_Class *title_item = elm_genlist_item_class_new(); - title_item->func.text_get = _gl_menu_title_text_get; - title_item->item_style = "title"; - title_item->func.del = NULL; - - elm_genlist_item_append(genlist, title_item, (void *)DISPLAY_TITLE_ROTATE, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL); - - elm_genlist_item_class_free(title_item); - - for (idx = 0; idx < ROTATE_SCREEN_COUNT; idx++) { - Item_Data *id = calloc(sizeof(Item_Data), 1); - if (id) { - id->index = idx; - id->item = elm_genlist_item_append(genlist, itc, id, NULL, ELM_GENLIST_ITEM_NONE, _rotate_screen_gl_cb, (void *)(uintptr_t)idx); - } - } - - ad->rotate_screen_rdg = elm_radio_add(genlist); - elm_radio_state_value_set(ad->rotate_screen_rdg, -1); - elm_radio_value_set(ad->rotate_screen_rdg, rotate_screen_index); - - evas_object_data_set(genlist, "radio_main", ad->rotate_screen_rdg); - - Elm_Genlist_Item_Class *padding = elm_genlist_item_class_new(); - padding->item_style = "padding"; - padding->func.del = _rotate_screen_gl_del; - - Elm_Object_Item *padding_item; - padding_item = elm_genlist_item_append(genlist, padding, NULL, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL); - elm_atspi_accessible_role_set(padding_item, ELM_ATSPI_ROLE_REDUNDANT_OBJECT); - elm_genlist_item_class_free(padding); - g_screen_time_genlist = genlist; - - elm_genlist_item_class_free(itc); - - nf_it = elm_naviframe_item_push(ad->nf, NULL, NULL, NULL, genlist, "empty"); - elm_naviframe_item_title_enabled_set(nf_it, EINA_FALSE, EINA_FALSE); -} - -static void _set_rotate_screen(const int rotation) -{ - vconf_set_int(VCONFKEY_SETAPPL_SCREENROTATION_DEG_INT, rotation); -} - -static int _get_rotate_screen() -{ - int rot; - vconf_get_int(VCONFKEY_SETAPPL_SCREENROTATION_DEG_INT, &rot); - return rot; -} - static void change_language_enabling(keynode_t *key, void *data) { if (lang_item == NULL) { diff --git a/src/setting-info.c b/src/setting-info.c index 9053a7a..1332820 100644 --- a/src/setting-info.c +++ b/src/setting-info.c @@ -27,9 +27,7 @@ static struct _info_menu_item info_menu_its[] = { { "IDS_ST_BODY_ABOUT_GEAR_ABB", 0, _gl_info_cb }, - /*#ifndef FEATURE_SETTING_SDK */ { "IDS_ST_HEADER_USB_DEBUGGING_ABB", 0, _gl_usb_debug_cb }, - /*#endif */ }; static Evas_Object *g_usb_debugging_check = NULL; @@ -40,20 +38,14 @@ static struct _info_menu_item developer_options_menu_its[] = { }; static struct _info_menu_item _info_detail_menu_list[] = { - /*#ifndef FEATURE_SETTING_SDK */ { "IDS_ST_BODY_MODEL_NUMBER_ABB", ABOUT_DEVICE_MODEL_NUMBER, NULL }, - /*#endif */ { "IDS_ST_BODY_WI_FI_MAC_ADDRESS", ABOUT_DEVICE_WIFI_ADDRESS, NULL }, { "IDS_ST_BODY_BLUETOOTH_MAC_ADDRESS", ABOUT_DEVICE_BLUETOOTH_ADDRESS, NULL }, { "IDS_ST_MBODY_TIZEN_VERSION", ABOUT_DEVICE_TIZEN_VERSION, NULL }, { "IDS_SM_TAB4_SOFTWARE_VERSION", ABOUT_DEVICE_SOFTWARE_VERSION, NULL }, - /*#ifndef FEATURE_SETTING_SDK */ { "IDS_ST_BODY_SERIAL_NUMBER", ABOUT_DEVICE_SERIAL_NUMBER, NULL }, { "IDS_ST_BODY_STORAGE", ABOUT_DEVICE_STORAGE, NULL }, { "IDS_ST_HEADER_OPEN_SOURCE_LICENCES_ABB", ABOUT_DEVICE_OPEN_SOURCE_LICENSES, _info_open_src_gl_cb }, - /* { "Barcode Number", 4, NULL }, */ - /* { "IDS_ST_OPT_SAFETY_INFORMATION", 4, _info_safety_inform_gl_cb } */ - /*#endif */ }; static void _usb_debug_cancel_cb(void *data, Evas_Object *obj, void *event_info); @@ -470,9 +462,7 @@ Evas_Object *_create_info_list(void *data) Elm_Genlist_Item_Class *itc = elm_genlist_item_class_new(); itc->item_style = "1text.1icon.1"; itc->func.text_get = _gl_info_title_get; - /*#ifndef FEATURE_SETTING_SDK */ itc->func.content_get = _gl_info_check_get; - /*#endif */ itc->func.del = _info_gl_del; Evas_Object *layout = elm_layout_add(ad->nf); @@ -557,7 +547,6 @@ char *_gl_info__detail_title_get(void *data, Evas_Object *obj, const char *part) } else if (!strcmp(part, "elm.text.1")) { switch (index) { case ABOUT_DEVICE_MODEL_NUMBER: - /*#ifndef FEATURE_SETTING_SDK */ if (system_info_get_platform_string("http://tizen.org/system/model_name", &device_info) != SYSTEM_INFO_ERROR_NONE) { DBG("Setting - Model number do not get!! error!!"); @@ -568,7 +557,6 @@ char *_gl_info__detail_title_get(void *data, Evas_Object *obj, const char *part) FREE(device_info); break; case ABOUT_DEVICE_SOFTWARE_VERSION: - /*#endif */ if (system_info_get_platform_string("http://tizen.org/system/build.string", &device_info) != SYSTEM_INFO_ERROR_NONE) { DBG("Setting - Version name do not get!! error!!"); @@ -597,7 +585,6 @@ char *_gl_info__detail_title_get(void *data, Evas_Object *obj, const char *part) } FREE(device_info); break; - /*#ifndef FEATURE_SETTING_SDK */ case ABOUT_DEVICE_SERIAL_NUMBER: memset(buf, '\0', sizeof(buf)); if (_get_imei_serial_info(szSerialNum, sizeof(szSerialNum)) == EINA_TRUE) { @@ -618,7 +605,6 @@ char *_gl_info__detail_title_get(void *data, Evas_Object *obj, const char *part) } break; - /*#endif */ default: break; } @@ -830,17 +816,11 @@ void _gl_info_cb(void *data, Evas_Object *obj, void *event_info) for (idx = 0; idx < sizeof(_info_detail_menu_list) / sizeof(struct _info_menu_item); idx++) { ERR("idx : %d name: %s", idx, _info_detail_menu_list[idx].name); - /*#ifndef FEATURE_SETTING_SDK */ if (menu_its[idx].type == ABOUT_DEVICE_OPEN_SOURCE_LICENSES) { itc_tmp = itc_open_src_info; } else { itc_tmp = itc; } - /*#else */ - /* itc_tmp = itc; */ - /*#endif */ - - /* if (!(kor == 0 && menu_its[idx].type == 3)) { */ Item_Data *id = calloc(sizeof(Item_Data), 1); if (id) { @@ -853,17 +833,7 @@ void _gl_info_cb(void *data, Evas_Object *obj, void *event_info) ELM_GENLIST_ITEM_NONE, menu_its[idx].func, /* call back */ ad); - /*#ifndef FEATURE_SETTING_SDK */ - /* if (itc_tmp && (itc_tmp == itc)) { */ - /* elm_genlist_item_select_mode_set(id->item, ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY); */ - /* } */ - /*#else */ - /* if (menu_its[idx].type != ABOUT_DEVICE_OPEN_SOURCE_LICENSES) { */ - /* elm_genlist_item_select_mode_set(id->item, ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY); */ - /* } */ - /*#endif */ } - /* } */ } elm_genlist_item_class_free(itc); elm_genlist_item_class_free(itc_open_src_info); |