diff options
author | Jaeyun Jeong <jyjeong@samsung.com> | 2013-01-28 09:49:41 +0900 |
---|---|---|
committer | Jaeyun Jeong <jyjeong@samsung.com> | 2013-01-28 09:49:41 +0900 |
commit | bc57f537c13f6730f1a5f00745849a1a7fcbbff1 (patch) | |
tree | 808d152e7f96156bd33f9d728ceb04c151869aff /viewer | |
parent | 88e931896bc217f55a0698ea155bd94342f3ae1b (diff) | |
download | message-app-bc57f537c13f6730f1a5f00745849a1a7fcbbff1.tar.gz message-app-bc57f537c13f6730f1a5f00745849a1a7fcbbff1.tar.bz2 message-app-bc57f537c13f6730f1a5f00745849a1a7fcbbff1.zip |
Fix N_SE-23264, Remove elm_win_resize_object_add() when adding layout to main window.
Change-Id: I471e347a79151709a92e097a3301fd3cfe9a051d
Diffstat (limited to 'viewer')
-rwxr-xr-x | viewer/src/msg-ui-viewer-callback.c | 1 | ||||
-rwxr-xr-x | viewer/src/msg-ui-viewer-main.c | 7 |
2 files changed, 3 insertions, 5 deletions
diff --git a/viewer/src/msg-ui-viewer-callback.c b/viewer/src/msg-ui-viewer-callback.c index 8e613e9..2121301 100755 --- a/viewer/src/msg-ui-viewer-callback.c +++ b/viewer/src/msg-ui-viewer-callback.c @@ -43,7 +43,6 @@ void msg_ui_viewer_layout_cb(ui_gadget_h ug, enum ug_mode mode, void *priv) switch (mode) { case UG_MODE_FULLVIEW: evas_object_size_hint_weight_set(base, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); - elm_win_resize_object_add(win, base); evas_object_show(base); break; diff --git a/viewer/src/msg-ui-viewer-main.c b/viewer/src/msg-ui-viewer-main.c index 16abf9f..f5b9cbc 100755 --- a/viewer/src/msg-ui-viewer-main.c +++ b/viewer/src/msg-ui-viewer-main.c @@ -317,8 +317,8 @@ Evas_Object *msg_ui_viewer_create_bg(void *data, Evas_Object *parent) if (viewer_main_data->bg == NULL) { bg = elm_bg_add(parent); MSG_UI_RETV_IF(MSG_UI_LEVEL_ERR, bg == NULL, NULL); - evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); - elm_win_resize_object_add(parent, bg); + evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); + elm_win_resize_object_add(parent, bg); evas_object_show(bg); viewer_main_data->bg = bg; } else { @@ -343,7 +343,6 @@ Evas_Object *msg_ui_viewer_create_layout_main(Evas_Object *parent, bool indicato elm_layout_theme_set(layout, "layout", "application", "noindicator"); evas_object_size_hint_weight_set(layout, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); - elm_win_resize_object_add(parent, layout); evas_object_show(layout); return layout; @@ -602,4 +601,4 @@ void msg_ui_viewer_change_language(void *data) elm_entry_entry_set(viewer_play_data->render_entry, buf_helptext); } } -}
\ No newline at end of file +} |