Enlightenment CVS committal
Author : kwo
Project : e16
Module : epplets
Dir : e16/epplets/epplets
Modified Files:
E-Areas.c
Log Message:
Fix for e16.8.
===================================================================
RCS file: /cvs/e/e16/epplets/epplets/E-Areas.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- E-Areas.c 5 Jan 2000 16:24:00 -0000 1.8
+++ E-Areas.c 1 Apr 2006 16:14:34 -0000 1.9
@@ -51,9 +51,7 @@
static void arrow_cb(void* data)
{
- char buf[128];
- Esnprintf(buf, sizeof(buf), "goto_area %s", (char*) data);
- Epplet_send_ipc(buf);
+ Epplet_send_ipc(data);
}
static void
@@ -83,10 +81,17 @@
return Epplet_create_button(NULL,NULL,x,y,0,0,std,0,NULL,func,data);
}
-#define AREA_UP "prev vert"
-#define AREA_DOWN "next vert"
-#define AREA_LEFT "prev horiz"
-#define AREA_RIGHT "next horiz"
+#if 0 /* < e16 < 0.16.8 */
+#define AREA_UP "goto_area prev vert"
+#define AREA_DOWN "goto_area next vert"
+#define AREA_LEFT "goto_area prev horiz"
+#define AREA_RIGHT "goto_area next horiz"
+#else
+#define AREA_UP "area move 0 -1"
+#define AREA_DOWN "area move 0 1"
+#define AREA_LEFT "area move -1 0"
+#define AREA_RIGHT "area move 1 0"
+#endif
int
main(int argc, char **argv)
-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs