From: <enl...@li...> - 2001-08-08 23:16:35
|
Enlightenment CVS committal Author : mandrake Project : e17 Module : apps/e Dir : e17/apps/e/src Modified Files: actions.c scrollbar.c Log Message: actions.c: Now the "Execute" action actually does something useful, like, say, execute the contents of the parameters :) scrollbar.c: removed 2 warnings =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/actions.c,v retrieving revision 1.23 retrieving revision 1.24 diff -u -3 -r1.23 -r1.24 --- actions.c 2001/08/07 02:50:22 1.23 +++ actions.c 2001/08/08 23:16:35 1.24 @@ -1088,9 +1088,12 @@ static void e_act_exec_start (void *o, E_Action *a, void *data, int x, int y, int rx, int ry) { - E_Border *b; + char *exe; - b = o; + exe = (char *) a->params; + if(!exe) return; + printf("exe: %s\n",exe); + e_exec_run(exe); return; UN(a); UN(data); @@ -1098,6 +1101,7 @@ UN(y); UN(rx); UN(ry); + UN(o); } =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/scrollbar.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- scrollbar.c 2001/08/07 02:50:22 1.1 +++ scrollbar.c 2001/08/08 23:16:35 1.2 @@ -6,6 +6,7 @@ static void e_scrollbar_recalc(E_Scrollbar *sb) { + sb = NULL; } static void @@ -13,6 +14,7 @@ { /* sb->base = ebits_load("");*/ /* sb->bar = ebits_load("");*/ + sb = NULL; } E_Scrollbar * |