Remove unused style definition 89/68989/1
authorkiso.chang <kiso.chang@samsung.com>
Wed, 11 May 2016 02:37:50 +0000 (11:37 +0900)
committerkiso.chang <kiso.chang@samsung.com>
Wed, 11 May 2016 02:39:28 +0000 (11:39 +0900)
 - itc_bottom_seperator

Change-Id: Ia26c8ea2efee13b817873de3d40e2894e850c29c
Signed-off-by: kiso.chang <kiso.chang@samsung.com>
setting-common/include/setting-common-draw-widget.h
setting-common/src/setting-common-draw-genlist.c
setting-connectivity/src/setting-connectivity-usb.c
setting-phone/src/setting-phone-region-format.c

index 2f0fdcf30b2f49995ff3de39e230ce38a35b68e0..3029e754acef74abb51b11a76a1063da1a962041 100644 (file)
 #define SETTING_COMMON_DRAW_WIDGET_CONTROLBAR_ITEM_LEN 3
 #define POPUP_INTERVAL 2.0
 
-/*extern const Elm_Genlist_Item_Class itc_seperator;*/
+/*
+extern const Elm_Genlist_Item_Class itc_seperator;
 extern const Elm_Genlist_Item_Class itc_bottom_seperator;
+*/
 
 extern const Elm_Genlist_Item_Class itc_1text;
 extern const Elm_Genlist_Item_Class itc_1text_1icon_2;
@@ -78,11 +80,11 @@ extern const Elm_Genlist_Item_Class itc_editfield;
 extern const Elm_Genlist_Item_Class itc_multiline_2text;
 extern const Elm_Genlist_Item_Class itc_1text_1icon_divider;
 
+
+
 #define ADD_GL_LABLE(scroller, str) \
        {\
                if (str) {\
-                       Elm_Object_Item *item = elm_genlist_item_append(scroller, &(itc_bottom_seperator), NULL, NULL,ELM_GENLIST_ITEM_NONE, NULL, NULL);\
-                       elm_genlist_item_select_mode_set(item, ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY);\
                        Setting_GenGroupItem_Data *item_data = setting_create_Gendial_field_def(scroller, &itc_multiline_text,\
                                        NULL,\
                                        NULL,\
@@ -92,6 +94,7 @@ extern const Elm_Genlist_Item_Class itc_1text_1icon_divider;
                        elm_genlist_item_select_mode_set(item_data->item, ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY);\
                }\
        }
+
 /*//TODO: Remove this */
 #define ADD_GL_HELP(scroller, str) \
        {\
index 15995445d722f22f966b41e9abe44fe71eff541a..4cb96575800d016c2b7dca23d7cb72176729212e 100644 (file)
@@ -50,6 +50,7 @@ const Elm_Genlist_Item_Class itc_seperator = {
 };
 */
 
+/*
 EXPORT_PUBLIC
 const Elm_Genlist_Item_Class itc_bottom_seperator = {
        .item_style = NULL,
@@ -58,6 +59,7 @@ const Elm_Genlist_Item_Class itc_bottom_seperator = {
        .func.state_get = NULL,
        .func.del = NULL,
 };
+*/
 
 #define DEFINE_ITC1(style, name) \
        EXPORT_PUBLIC const Elm_Genlist_Item_Class name = {\
@@ -106,7 +108,7 @@ DEFINE_ITC1(SETTING_GENLIST_2LINE_STYLE, itc_2text_3_parent);
 DEFINE_ITC1(SETTING_GENLIST_MULTILINE_STYLE, itc_multiline_text);
 
 DEFINE_ITC1(SETTING_GENLIST_GROUP_INDEX_STYLE, itc_group_item);
-DEFINE_ITC1("entry.main", itc_editfield);
+DEFINE_ITC1("elm/genlist/item/entry.main/default", itc_editfield);
 
 typedef struct _tagParamData {
        Setting_GenGroupItem_Data *item_data;
@@ -1008,6 +1010,8 @@ static Evas_Object *__add_entry_without_layout(Setting_GenGroupItem_Data *item_d
 
 static Evas_Object *__add_entry_padding(Setting_GenGroupItem_Data *item_data, Evas_Object *parent)
 {
+       SETTING_TRACE_BEGIN;
+
        retv_if(!item_data || !parent, NULL);
        Evas_Object *layout = elm_layout_add(parent);
        elm_layout_file_set(layout, SETTING_THEME_EDJ_NAME, "entry_layout");
index ce17a955559282e010d33d9ff4fd500ce4caf82a..b43c33800ca4d110b80325f5a80c03843c9ffebb 100644 (file)
@@ -624,9 +624,11 @@ static int setting_connectivity_usb_create(void *cb)
                                                                                 NULL, NULL);
        }
 
+/*
        item = elm_genlist_item_append(scroller, &itc_bottom_seperator, NULL, NULL,
                                                                   ELM_GENLIST_ITEM_NONE, NULL, NULL);
        elm_genlist_item_select_mode_set(item, ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY);
+*/
 
        /*---------------------------------------------------------------------------------------------- */
        /* Registering callback function for VCONFKEY_SETAPPL_USB_MODE_INT */
index 79e78cffd552963a6b96c98276fa6e67b6fc764f..2c7d4866f3ffb6a22f3a776a74ffd0099f0e7f66 100644 (file)
@@ -763,10 +763,12 @@ static Eina_Bool __region_animator_cb(void *data)
                elm_radio_value_set(ad->chk_region, ad->selected_region_idx);
                ad->prev_region = ad->selected_region_idx;
 
+/*
                Elm_Object_Item *item = NULL;
                item = elm_genlist_item_append(ad->gl_region, &itc_bottom_seperator, NULL, NULL,
                                                                           ELM_GENLIST_ITEM_NONE, NULL, NULL);
                elm_genlist_item_select_mode_set(item, ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY);
+*/
                return ECORE_CALLBACK_CANCEL;
        }