Enlightenment CVS committal Author : kiwi Project : e_modules Module : devian
Dir : e_modules/devian/data/themes/clean/clean_box Modified Files: clean_box.edc clean_box_parts.edc clean_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/clean/clean_box/clean_box.edc,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- clean_box.edc 3 Apr 2006 06:18:28 -0000 1.1 +++ clean_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 @@ -100,6 +101,20 @@ run_program(PROGRAM:"button_previous_show_go"); else set_state(PART:"button_previous", "off", 0.0); + } + } + 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/clean/clean_box/clean_box_parts.edc,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- clean_box_parts.edc 3 Apr 2006 06:18:28 -0000 1.1 +++ clean_box_parts.edc 11 Apr 2006 11:18:43 -0000 1.2 @@ -666,6 +666,42 @@ } } +/* 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; + rel1 + { + relative: 0.0 0.0; + to: "border"; + offset: 11 5; + } + rel2 + { + relative: 0.0 0.0; + to: "border"; + offset: 36 40; + } + image + { + normal: "warning_indicator.png"; + } + } + description + { + state: "on" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } +} + /* To capture mouse events for program */ part { =================================================================== RCS file: /cvs/e/e_modules/devian/data/themes/clean/clean_box/clean_box_programs.edc,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- clean_box_programs.edc 3 Apr 2006 06:18:28 -0000 1.1 +++ clean_box_programs.edc 11 Apr 2006 11:18:43 -0000 1.2 @@ -611,6 +611,32 @@ } +/* Warning indicator state */ +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