Remove press_state in combo button
authorKim Byung Jun <bj1987.kim@samsung.com>
Mon, 16 Sep 2013 04:28:32 +0000 (13:28 +0900)
committerGerrit Code Review <gerrit@gerrit.vlan144.tizendev.org>
Tue, 24 Sep 2013 04:32:27 +0000 (04:32 +0000)
[Title] Remove press_state in combo button
[Issue] N_SE-52274 : Blue box appears every first time after selecting the date field via host keyboard.
[Problem] Blue box appears every first time after selecting the date field via host keyboard.
[Cause] Press_state appears irregularly.
[Solution] Reject press_state. We don't need press_state. The other widget also don't have press_state.

Change-Id: I17af34f6b5bb825427bbc7948b5e674eb9c4604f

Source/WebKit/efl/DefaultTheme/CMakeLists.txt
Source/WebKit/efl/DefaultTheme/widget/combo/00_combo_press.png [deleted file]
Source/WebKit/efl/DefaultTheme/widget/combo/00_combo_press_button.png [deleted file]
Source/WebKit/efl/DefaultTheme/widget/combo/combo.edc

index 10da876..2cc3f8e 100644 (file)
@@ -30,8 +30,6 @@ ADD_CUSTOM_COMMAND(
         widget/combo/00_combo_hover.png
         widget/combo/00_combo_normal_button.png
         widget/combo/00_combo_normal.png
-        widget/combo/00_combo_press_button.png
-        widget/combo/00_combo_press.png
         widget/combo/00_combo_border.png
         widget/combo/00_combo_focus_border.png
         widget/combo/00_combo_hover_border.png
diff --git a/Source/WebKit/efl/DefaultTheme/widget/combo/00_combo_press.png b/Source/WebKit/efl/DefaultTheme/widget/combo/00_combo_press.png
deleted file mode 100644 (file)
index 0e84123..0000000
Binary files a/Source/WebKit/efl/DefaultTheme/widget/combo/00_combo_press.png and /dev/null differ
diff --git a/Source/WebKit/efl/DefaultTheme/widget/combo/00_combo_press_button.png b/Source/WebKit/efl/DefaultTheme/widget/combo/00_combo_press_button.png
deleted file mode 100644 (file)
index 3167678..0000000
Binary files a/Source/WebKit/efl/DefaultTheme/widget/combo/00_combo_press_button.png and /dev/null differ
index e4370c1..fee60f7 100644 (file)
@@ -29,8 +29,6 @@ group { name: "webkit/widget/combo";
         image: "widget/combo/00_combo_hover_button.png" COMP;
         image: "widget/combo/00_combo_focus.png" COMP;
         image: "widget/combo/00_combo_focus_button.png" COMP;
-        image: "widget/combo/00_combo_press.png" COMP;
-        image: "widget/combo/00_combo_press_button.png" COMP;
         image: "widget/combo/00_combo_border.png" COMP;
         image: "widget/combo/00_combo_focus_border.png" COMP;
         image: "widget/combo/00_combo_hover_border.png" COMP;
@@ -39,7 +37,6 @@ group { name: "webkit/widget/combo";
 
     script {
         public isEnabled;
-        public isPressed;
         public isFocused;
         public isHovered;
         public isStyled;
@@ -47,11 +44,7 @@ group { name: "webkit/widget/combo";
         public show() {
             if (get_int(isEnabled) == 1) {
                 if (get_int(isFocused) == 1) {
-                    if (get_int(isPressed) == 1) {
-                        set_state(PART:"combo", "pressed", 0.0);
-                        set_state(PART:"combo_button", "pressed", 0.0);
-                    }
-                    else if (get_int(isStyled) == 1) {
+                    if (get_int(isStyled) == 1) {
                         set_state(PART:"combo", "styled_focused", 0.0);
                         set_state(PART:"combo_button", "focused", 0.0);
                     }
@@ -145,14 +138,6 @@ group { name: "webkit/widget/combo";
                }
             }
             description {
-               state: "pressed" 0.0;
-               inherit: "default" 0.0;
-               image {
-                  normal: "widget/combo/00_combo_press.png";
-                  border: 15 0 15 15;
-               }
-            }
-            description {
                 state: "styled" 0.0;
                 image {
                     normal: "widget/combo/00_combo_border.png";
@@ -228,15 +213,6 @@ group { name: "webkit/widget/combo";
                     border: 0 15 15 15;
                 }
             }
-            description {
-                state: "pressed" 0.0;
-                inherit: "default" 0.0;
-                rel1.to: "bt_combo_clipper";
-                image {
-                    normal: "widget/combo/00_combo_press_button.png";
-                    border: 0 15 15 15;
-                }
-            }
         }
 
         part {
@@ -294,14 +270,6 @@ group { name: "webkit/widget/combo";
             }
         }
         program {
-            name: "pressed";
-            signal: "pressed";
-            script {
-               set_int(isPressed, 1);
-               show();
-            }
-        }
-        program {
             name: "focused";
             signal: "focused";
             script {
@@ -330,7 +298,6 @@ group { name: "webkit/widget/combo";
             signal: "reset";
             script {
                 set_int(isEnabled, 0);
-                set_int(isPressed, 0);
                 set_int(isFocused, 0);
                 set_int(isHovered, 0);
                 set_int(isStyled, 0);