Enlightenment CVS committal

Author  : kiwi
Project : e_modules
Module  : devian

Dir     : e_modules/devian/data/themes/minimal/minimal_box


Modified Files:
        minimal_box.edc minimal_box_parts.edc minimal_box_programs.edc 


Log Message:
Work on Rss and some cleaning
 * There is now a warning indicator to tell the user what dEvian got news / has 
problems
 * Fix a leak in Rss
 * dEvian now parse Rss feeds with metas that close themselves (like 
<description/>, thanks to Florian Leitner for bug repport
 * Better indent
 * Remove executable bit on almost all files

===================================================================
RCS file: 
/cvs/e/e_modules/devian/data/themes/minimal/minimal_box/minimal_box.edc,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- minimal_box.edc     3 Apr 2006 06:18:29 -0000       1.1
+++ minimal_box.edc     11 Apr 2006 11:18:43 -0000      1.2
@@ -6,6 +6,7 @@
 #define MSG_RECV_LOADING_STATE 3
 #define MSG_RECV_SHOW_SET_BG 4
 #define MSG_RECV_SHOW_PREVIOUS 5
+#define MSG_RECV_WARNING_INDICATOR 6
 
 #define MSG_SEND_INFOS_W 0
 #define MSG_SEND_INFOS_VISIBLE 1
@@ -102,6 +103,20 @@
                                                
run_program(PROGRAM:"button_previous_show_go");
                                        else
                                                
run_program(PROGRAM:"button_previous_shade_go");
+                               }
+                       }
+                       if (id == MSG_RECV_WARNING_INDICATOR)
+                       {
+                               if (type == MSG_INT)
+                               {
+                                       if (getarg(2))
+                                       {
+                                               
run_program(PROGRAM:"warning_indicator_go");
+                                       }
+                                       else
+                                       {
+                                               
run_program(PROGRAM:"warning_indicator_stop");
+                                       }
                                }
                        }
                }
===================================================================
RCS file: 
/cvs/e/e_modules/devian/data/themes/minimal/minimal_box/minimal_box_parts.edc,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- minimal_box_parts.edc       3 Apr 2006 06:18:29 -0000       1.1
+++ minimal_box_parts.edc       11 Apr 2006 11:18:43 -0000      1.2
@@ -770,6 +770,48 @@
        }
 }
 
+
+
+/* Warning indicator */
+part
+{
+       name: "warning_indicator";
+       type: IMAGE;
+       mouse_events: 0;
+       description
+       {
+               state: "default" 0.0;
+               aspect: 1.0 1.0;
+               color: 255 255 255 0;
+               visible: 0;
+               rel1
+               {
+                       relative: 0.0 0.0;
+                       to: "border";
+                       offset: 10 5;
+               }
+               rel2
+               {
+                       relative: 0.0 0.0;
+                       to: "border";
+                       offset: 25 30;
+               }
+               image
+               {
+                       normal: "warning_indicator.png";
+               }
+       }
+       description
+       {
+               state: "on" 0.0;
+               inherit: "default" 0.0;
+               color: 255 255 255 255;
+               visible: 1;
+       }
+}
+
+
+
 /* To capture mouse events for program */
 part
 {
===================================================================
RCS file: 
/cvs/e/e_modules/devian/data/themes/minimal/minimal_box/minimal_box_programs.edc,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- minimal_box_programs.edc    3 Apr 2006 06:18:29 -0000       1.1
+++ minimal_box_programs.edc    11 Apr 2006 11:18:43 -0000      1.2
@@ -760,6 +760,32 @@
 }
 
 
+/* Warning incicator */
+program
+{
+       name:   "warning_indicator_go";
+       action: STATE_SET "on" 0.0;
+       transition: DECELERATE 0.5;
+       target: "warning_indicator";
+       after: "warning_indicator_go_2";
+}
+program
+{
+       name:   "warning_indicator_go_2";
+       action: STATE_SET "default" 0.0;
+       transition: DECELERATE 1;
+       target: "warning_indicator";
+       after: "warning_indicator_go";
+}
+program
+{
+       name:   "warning_indicator_stop";
+       action: STATE_SET "default" 0.0;
+       transition: DECELERATE 1;
+       target: "warning_indicator";
+}
+
+
 /* Transitions between sources */
 program
 {




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to