Enlightenment CVS committal Author : kiwi Project : e_modules Module : devian
Dir : e_modules/devian/data/themes/blue_eyed/edjes/scripts Modified Files: popup_warn_script.edc Log Message: Work on picture loading, popups, and some cleanups * Rewrite popup system * Popups when loading picture, you can disable it * Fix loading in background and you can now stop thumbnailing when changing directory of pictures * Indent and cleanups in code =================================================================== RCS file: /cvs/e/e_modules/devian/data/themes/blue_eyed/edjes/scripts/popup_warn_script.edc,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- popup_warn_script.edc 3 Apr 2006 06:18:28 -0000 1.1 +++ popup_warn_script.edc 2 May 2006 14:24:22 -0000 1.2 @@ -1,10 +1,39 @@ script{ public show_disabled; + public popup_type; + public popup_in_update; + public message(Msg_Type: type, id, msg){ if (id == MSG_RECV_POPUP_WARN_SHOW_DISABLE){ if (type == MSG_INT){ set_int(show_disabled, getarg(2)); set_state(PART:"disable", "visible", 0.0); + } + } + if (id == MSG_RECV_POPUP_WARN_TYPE){ + if (type == MSG_INT){ + set_int(popup_type, getarg(2)); + if (get_int(popup_type) == POPUP_WARN_TYPE_NEWS) + { + if (get_int(popup_in_update)) + run_program(PROGRAM:"update_anim_news"); + else + set_state(PART:"logo", "default", 0.0); + } + if (get_int(popup_type) == POPUP_WARN_TYPE_INFO) + { + if (get_int(popup_in_update)) + run_program(PROGRAM:"update_anim_info"); + else + set_state(PART:"logo", "info", 0.0); + } + if (get_int(popup_type) == POPUP_WARN_TYPE_ERROR) + { + if (get_int(popup_in_update)) + run_program(PROGRAM:"update_anim_error"); + else + set_state(PART:"logo", "error", 0.0); + } } } } ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs