All pastes #710325 Raw Edit

Anonymous

public text v1 · immutable
#710325 ·published 2007-09-25 12:59 UTC
rendered paste body
--- cvs/e17/apps/entrance/data/themes/darkrock/darkrock.edc	2007-06-26 16:24:42.000000000 +0200
+++ cvs1/e17/apps/entrance/data/themes/darkrock/darkrock.edc	2007-06-26 17:04:35.000000000 +0200
@@ -1634,7 +1634,7 @@
             part
             {
                 name, "entrance.xsessions.list";
-                type,        RECT;
+                type,        SWALLOW;
                 mouse_events, 1;
                 clip_to, "EntranceSessionListClip";
                 description
@@ -1684,7 +1684,7 @@
             part
             {
                 name, "entrance.xsessions.selected";
-                type,        RECT;
+                type,        SWALLOW;
                 mouse_events, 0;
                 clip_to, "EntranceSessionClip";
                 description
@@ -1713,6 +1713,7 @@
                 mouse_events, 1;
                 clip_to, "EntranceSessionClip";
                 description
+		min: 164 164;
                 {
                     state, "default" 0.0;
                     visible, 1;
@@ -1975,19 +1976,9 @@
                 action, STATE_SET "default" 0.0;
                 target, "EntranceSessionListClip";
                 target, "EntranceSessionListMouseArea";
-                transition, SINUSOIDAL 0.5;
+                transition, LINEAR 0.35;
           }
-          program
-           {
-                name, "SelectSessionToo";
-                signal, "entrance,xsession,selected";
-                source, "";
-                action, STATE_SET "default" 0.0;
-                target, "EntranceSessionListClip";
-                target, "EntranceSessionListMouseArea";
-                transition, SINUSOIDAL 0.5;
-           }
-                    program
+            program
             {
                 name,  "ShowSessionChooser";
                 signal, "mouse,up,1";
@@ -2019,13 +2010,14 @@
     group
     {
         name, "Session";
+	min: 200 28;
         parts
         {
             part
             {
                 name, "entrance.xsession.icon";
-                type, RECT;
-                mouse_events, 1;
+                type, SWALLOW;
+                mouse_events, 0;
                 description
                 {
                     state, "default" 0.0;
@@ -2047,7 +2039,7 @@
             {
                 name, "entrance.xsession.title";
                 type, TEXT;
-                mouse_events, 1;
+                mouse_events, 0;
                 effect, SHADOW;
                 description
                 {
@@ -2077,21 +2069,24 @@
                     }
                 }
             }
+	    part {
+	    name: "event_rect";
+	    type: RECT;
+	    repeat_events: 1;
+	    description {
+	       state: "default" 0.0;
+	       visible: 1;
+	       color: 0 0 0 0;
+	    }
+	 }
         }
         programs
         {
             program
             {
                 name, "SessionTitleClicked";
-                signal, "mouse,clicked,1";
-                source, "entrance.xsession.title";
-                action, SIGNAL_EMIT "entrance,xsession,selected" "";
-            }
-            program
-            {
-                name, "SessionIconClicked";
-                signal, "mouse,clicked,1";
-                source, "entrance.xsession.icon";
+                signal, "mouse,down,1";
+                source, "event_rect";
                 action, SIGNAL_EMIT "entrance,xsession,selected" "";
             }
         }