Fix N_SE-18672 : fix checking issue in Reset .
authoryigang.jing <yigang.jing@samsung.com>
Fri, 11 Jan 2013 02:19:25 +0000 (21:19 -0500)
committeryigang.jing <yigang.jing@samsung.com>
Fri, 11 Jan 2013 02:19:25 +0000 (21:19 -0500)
Change-Id: I3a993f8d686c91627f5040e803dd0b81dc11d0d6

setting-common/src/setting-common-draw-genlist.c
setting-storage/src/setting-storage-miscellaneous-files.c

index cc64992..1f86462 100755 (executable)
@@ -1432,12 +1432,8 @@ bool setting_done_list_is_some_item_selected(Setting_Done_List_Data *list_data)
        SETTING_TRACE_BEGIN;
        bool isFound = FALSE;   /* wether can found some item checked */
        int idx = 0;
-       int state = 0;
        for (; idx < list_data->cur_item_num; idx++) {
-               state =
-                   elm_check_state_get(list_data->chk_items[idx].
-                                       data_GenItem->eo_check);
-               if (state) {
+               if (list_data->chk_items[idx].data_GenItem->chk_status) {
                        isFound = TRUE;
                        break;
                }
index 4e89385..675d36c 100755 (executable)
@@ -128,9 +128,7 @@ static bool __setting_done_list_is_some_item_selected(Setting_Done_List_Data *li
                if (node) {
                        item_data = (Setting_GenGroupItem_Data *)node->data;
 
-                       state = elm_check_state_get(item_data->eo_check);
-
-                       if (state) {
+                       if (item_data->chk_status) {
                                isFound = TRUE;
                                break;
                        }