Fix disabled more button issue on bubble view
authorSoonmin Jung <sm0415.jung@samsung.com>
Thu, 7 Feb 2013 07:51:43 +0000 (16:51 +0900)
committerSoonmin Jung <sm0415.jung@samsung.com>
Thu, 7 Feb 2013 08:03:33 +0000 (17:03 +0900)
Change-Id: I09cf0a06ab6757c7afc8c0433048d11df4478f8e

composer/src/ui-composer/msg-ui-composer-common.c
composer/src/ui-composer/msg-ui-composer-main.c

index 596ac90..30c2197 100755 (executable)
@@ -473,7 +473,6 @@ static void __msg_ui_composer_change_to_sms(MSG_COMPOSER_VIEW_DATA_S *cd)
 static void __msg_ui_composer_change_to_mms(MSG_COMPOSER_VIEW_DATA_S *cd)
 {
        D_ENTER;
-
        if (!cd) {
                MSG_UI_DEBUG(MSG_UI_LEVEL_ASSERT, "[ASSERT] composer data is NULL");
                return;
@@ -520,7 +519,7 @@ COMPOSER_RETURN_TYPE_E msg_ui_composer_change_message_type(MSG_COMPOSER_VIEW_DAT
        bool ret = msg_ui_composer_common_is_send_possible(cd);
        msg_ui_composer_body_update_send_btn_icon(cd, !ret);
 
-       if (cd->msg_type == COMPOSER_MSG_TYPE_SMS)
+       if (cd->msg_type == COMPOSER_MSG_TYPE_SMS && cd->msg_ug_mode != MSG_UG_MODE_BUBBLE_COMPOSER)
                elm_object_disabled_set(cd->more_btn, EINA_TRUE);
        else if (cd->msg_type == COMPOSER_MSG_TYPE_MMS)
                elm_object_disabled_set(cd->more_btn, EINA_FALSE);
index 72f415f..a9a99ef 100755 (executable)
@@ -1628,7 +1628,7 @@ COMPOSER_RETURN_TYPE_E msg_ui_composer_create(MSG_COMPOSER_VIEW_DATA_S *cd)
 
        cd->more_btn = more_button;
 
-       if (cd->msg_type == COMPOSER_MSG_TYPE_SMS)
+       if (cd->msg_type == COMPOSER_MSG_TYPE_SMS && cd->msg_ug_mode != MSG_UG_MODE_BUBBLE_COMPOSER)
                elm_object_disabled_set(cd->more_btn, EINA_TRUE);
 
        /*Create compose button*/