Enlightenment CVS committal
Author : barbieri
Project : e17
Module : proto
Dir : e17/proto/python-efl/python-edje/examples/evas-demo
Modified Files:
01-app_launcher.edc
Log Message:
One more from Kenneth name review, pulsing_id and pulsing are too close for
things too different, make pulsing_id explicit
===================================================================
RCS file:
/cvs/e/e17/proto/python-efl/python-edje/examples/evas-demo/01-app_launcher.edc,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- 01-app_launcher.edc 25 Jun 2007 19:48:45 -0000 1.5
+++ 01-app_launcher.edc 25 Jun 2007 20:02:56 -0000 1.6
@@ -18,7 +18,7 @@
script {
public selected = 0;
public pulsing = 0;
- public pulsing_id = 0;
+ public stop_pulsing_timer_id = 0;
const Float:pulse_timeout = 10.0;
public unselect() {
@@ -33,9 +33,9 @@
return;
set_state(get_int(pulsing), "default", 0.0);
set_int(pulsing, 0);
- if (get_int(pulsing_id) != 0) {
- cancel_timer(get_int(pulsing_id));
- set_int(pulsing_id, 0);
+ if (get_int(stop_pulsing_timer_id) != 0) {
+ cancel_timer(get_int(stop_pulsing_timer_id));
+ set_int(stop_pulsing_timer_id, 0);
}
}
@@ -180,7 +180,7 @@
stop_pulsing(); \
set_int(pulsing, PART:part_name"_pulser"); \
new i = timer(pulse_timeout, "stop_pulsing_cb", 0); \
- set_int(pulsing_id, i); \
+ set_int(stop_pulsing_timer_id, i); \
run_program(PROGRAM:"shrink_"part_name); \
} \
} \
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs