discomfitor pushed a commit to branch master.

http://git.enlightenment.org/misc/polkit-efl.git/commit/?id=bcf2df6316949fd32b07b94d3c101f51303e038c

commit bcf2df6316949fd32b07b94d3c101f51303e038c
Author: Mike Blumenkrantz <zm...@samsung.com>
Date:   Mon Jun 9 17:26:59 2014 -0400

    xmas mode off: use graffix
---
 data/theme/default.edc | 52 ++++++++++++++++++++++++++++++++++----------------
 1 file changed, 36 insertions(+), 16 deletions(-)

diff --git a/data/theme/default.edc b/data/theme/default.edc
index 661c965..c36ee6a 100644
--- a/data/theme/default.edc
+++ b/data/theme/default.edc
@@ -2,6 +2,8 @@ collections {
 #include "fonts.edc"
    group { "elm/layout/polkit-auth/base"; nomouse; program_source: "polkit";
       images.image: "bevel_dark_out.png" COMP;
+      images.image: "agt_action_fail1.png" COMP;
+      images.image: "agt_action_success.png" COMP;
       parts {
          rect { "fader"; mouse;
             desc { hid;
@@ -46,20 +48,6 @@ collections {
                color_class: "dialog_base";
                color: 64 64 64 255;
             }
-            desc { "success"; inherit: "default";
-               color_class: "";
-               color: 20 237 20 255;
-               link.base: "polkit,login,success";
-               link.transition: DECEL 0.2;
-               link.after: "auth_hide";
-            }
-            desc { "failure"; inherit: "default";
-               color_class: "";
-               color: 237 20 20 255;
-               link.base: "polkit,login,fail";
-               link.transition: DECEL 0.2;
-               link.after: "auth_hide";
-            }
          }
          program { "auth_hide";
             in: 1.5 0.0;
@@ -67,8 +55,10 @@ collections {
          }
          image { "bevel"; clip: "clip";
             desc {
-               rel1.to: "base";
-               rel2.to: "base";
+               align: 0.5 1;
+               rel1.relative: 0 1;
+               rel2.relative: 1 0;
+               rel2.to_y: "polkit.swallow.buttons";
                image.normal: "bevel_dark_out.png";
                image.border: 1 1 1 1;
                image.middle: 0;
@@ -204,6 +194,36 @@ collections {
                rel2.relative: 1 1;
             }
          }
+         image { "failend"; clip: "clip";
+            desc {
+               align: 0.5 0;
+               rel1.to_y: "polkit.text.info";
+               rel1.relative: 0 1;
+               rel2.to_y: "base";
+               image.normal: "agt_action_fail1.png";
+               image.middle: 1;
+               fill.smooth: 0;
+               hid;
+               aspect_preference: SOURCE;
+            }
+            desc { "vis"; inherit: "default";
+               vis;
+               link.base: "polkit,login,fail";
+               link.after: "auth_hide";
+            }
+         }
+         image { "successend"; inherit: "failend";
+            desc { "default";
+               image.normal: "agt_action_success.png";
+               image.middle: 1;
+               fill.smooth: 0;
+            }
+            desc { "vis"; inherit: "default";
+               vis;
+               link.base: "polkit,login,success";
+               link.after: "auth_hide";
+            }
+         }
          target_group: "password" "polkit.swallow.buttons" 
"polkit.swallow.password"
                        "pwclip" "polkit.swallow.users" "polkit.text.help";
          program { signal: "polkit,password,hidden";

-- 


Reply via email to