Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir     : e_modules/slideshow


Modified Files:
        e_mod_main.c 


Log Message:
If we are not using the timer on startup, set a preview of the next bg so if
the user clicks on the module, they know which bg is going to be set.

===================================================================
RCS file: /cvs/e/e_modules/slideshow/e_mod_main.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -3 -r1.21 -r1.22
--- e_mod_main.c        30 May 2006 07:45:24 -0000      1.21
+++ e_mod_main.c        30 May 2006 08:20:35 -0000      1.22
@@ -89,6 +89,12 @@
 
    if (!ci->disable_timer)
       inst->check_timer = ecore_timer_add(ci->poll_time, _slide_cb_check, 
inst);
+   else
+     {
+        _slide_get_bg_count(inst);
+        inst->index = 0;
+        _slide_set_preview(inst);
+     }
 
    return gcc;
 }




_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to