fix issue : Nabi_SE N_SE-24103 - bubble edit view crash issue
authorLee jaeyoung <jy4710.lee@samsung.com>
Mon, 4 Feb 2013 09:18:40 +0000 (18:18 +0900)
committerLee jaeyoung <jy4710.lee@samsung.com>
Mon, 4 Feb 2013 09:18:40 +0000 (18:18 +0900)
composer/src/bubble/msg-ui-composer-bubble-callback.c
composer/src/bubble/msg-ui-composer-bubble-list.c

index 958929d..28e26b9 100755 (executable)
@@ -1094,6 +1094,7 @@ void msg_ui_bubble_more_delete_clicked_cb(void *data, Evas_Object *obj, void *ev
                                evas_object_propagate_events_set(check, EINA_FALSE);
                                item_data->chk = check;
                        }
+                       evas_object_data_set(item_data->ly, "bubble_data", bubble_data);
                        evas_object_event_callback_add(item_data->ly, EVAS_CALLBACK_MOUSE_DOWN, msg_ui_bubble_item_mouse_down_cb, (const void*)item_data);
                        elm_object_style_set(check, "default/genlist_edit");
                        elm_object_part_content_set(item_data->ly, "elm.swallow.select_icon", item_data->chk);
index de93ffd..acf3f81 100755 (executable)
@@ -1603,6 +1603,8 @@ static void __msg_send_failed_btn_clicked_cb(void *data, Evas_Object *obj, void
        MSG_UI_RET_IF(MSG_UI_LEVEL_ERR, !data || !obj);
 
        PMSG_BUBBLE_DATA bubble_data = (PMSG_BUBBLE_DATA)data;
+       MSG_UI_RET_IF(MSG_UI_LEVEL_ERR, bubble_data->viewmode != BUBBLE_NORMAL_VIEW);
+
        PMSG_APP_CONV_DATA_S conv_data = (PMSG_APP_CONV_DATA_S)evas_object_data_get(obj, "conv_data");
        MSG_COMPOSER_VIEW_DATA_S *cd = (MSG_COMPOSER_VIEW_DATA_S *)bubble_data->callback_data;