summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInBum Chang <ibchang@samsung.com>2012-09-06 15:12:51 +0900
committerGerrit Code Review <gerrit2@localhost>2012-09-06 15:12:51 +0900
commitaee2371d21d1eed6b2b956399edeb9b7eed264e6 (patch)
tree12af6001aa7771d8f48e69db7cf07cab21a4b4b7
parent446a5f44ca44f285ae814d98f82b56b622a60eb4 (diff)
parent94cff4ae951c4ebb950da645d0bb761612bfce8e (diff)
downloadorg.tizen.browser-aee2371d21d1eed6b2b956399edeb9b7eed264e6.tar.gz
org.tizen.browser-aee2371d21d1eed6b2b956399edeb9b7eed264e6.tar.bz2
org.tizen.browser-aee2371d21d1eed6b2b956399edeb9b7eed264e6.zip
Merge "[Title] Fix crash issue when delete multi window rapidly on emulator." into 2.0_beta
-rw-r--r--[-rwxr-xr-x]edc/browser-multi-window.edc1
-rwxr-xr-xsrc/browser-multi-window/browser-multi-window-view.cpp8
2 files changed, 7 insertions, 2 deletions
diff --git a/edc/browser-multi-window.edc b/edc/browser-multi-window.edc
index 47df52a..84deb54 100755..100644
--- a/edc/browser-multi-window.edc
+++ b/edc/browser-multi-window.edc
@@ -468,6 +468,7 @@ collections {
action: STATE_SET "grey" 0.0;
transition: ACCELERATE 0.3;
target: "rect.clipper";
+ after: "hide,delete_window_icon";
}
program { name: "non_grey,snapshot";
signal: "non_grey,snapshot,signal";
diff --git a/src/browser-multi-window/browser-multi-window-view.cpp b/src/browser-multi-window/browser-multi-window-view.cpp
index 01783a4..4889848 100755
--- a/src/browser-multi-window/browser-multi-window-view.cpp
+++ b/src/browser-multi-window/browser-multi-window-view.cpp
@@ -749,12 +749,16 @@ void Browser_Multi_Window_View::_show_grey_effect(void)
{
BROWSER_LOGD("[%s]", __func__);
for (int i = 0 ; i < m_item_list.size() ; i++) {
- if (i == m_current_position_index)
+ if (i == m_current_position_index) {
edje_object_signal_emit(elm_layout_edje_get(m_item_list[i]),
"non_grey,snapshot,signal", "");
- else
+ if (m_item_list.size() > 1)
+ edje_object_signal_emit(elm_layout_edje_get(m_item_list[i]),
+ "show,delete_window_icon,signal", "");
+ } else {
edje_object_signal_emit(elm_layout_edje_get(m_item_list[i]),
"grey,snapshot,signal", "");
+ }
}
}