diff options
author | Soonmin Jung <sm0415.jung@samsung.com> | 2013-02-07 16:51:43 +0900 |
---|---|---|
committer | Soonmin Jung <sm0415.jung@samsung.com> | 2013-02-07 17:03:33 +0900 |
commit | 77545f43fa9466d389fd2efae5dc883fae0f877e (patch) | |
tree | 863d1b963ebbfb8694b2668fe99acc67ca265f4d | |
parent | 435e74ee537cb8f1ee0ee26f8dc8b431d372388a (diff) | |
download | message-app-77545f43fa9466d389fd2efae5dc883fae0f877e.tar.gz message-app-77545f43fa9466d389fd2efae5dc883fae0f877e.tar.bz2 message-app-77545f43fa9466d389fd2efae5dc883fae0f877e.zip |
Fix disabled more button issue on bubble view
Change-Id: I09cf0a06ab6757c7afc8c0433048d11df4478f8e
-rwxr-xr-x | composer/src/ui-composer/msg-ui-composer-common.c | 3 | ||||
-rwxr-xr-x | composer/src/ui-composer/msg-ui-composer-main.c | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/composer/src/ui-composer/msg-ui-composer-common.c b/composer/src/ui-composer/msg-ui-composer-common.c index 596ac90..30c2197 100755 --- a/composer/src/ui-composer/msg-ui-composer-common.c +++ b/composer/src/ui-composer/msg-ui-composer-common.c @@ -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); diff --git a/composer/src/ui-composer/msg-ui-composer-main.c b/composer/src/ui-composer/msg-ui-composer-main.c index 72f415f..a9a99ef 100755 --- a/composer/src/ui-composer/msg-ui-composer-main.c +++ b/composer/src/ui-composer/msg-ui-composer-main.c @@ -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*/ |