Enlightenment CVS committal
Author : handyande
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_ipc.c e_ipc.h
Log Message:
OK, added callbacks, hope it is OK, can be tweaked ;)
This allows module_list :
added background_get for Codeworrior :)
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_ipc.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- e_ipc.c 3 Jan 2005 09:34:24 -0000 1.6
+++ e_ipc.c 8 Jan 2005 01:44:36 -0000 1.7
@@ -199,6 +199,20 @@
}
e_config_save_queue();
}
+ break;
+ case E_IPC_OP_BG_GET:
+ {
+ char *bg;
+ bg = e_config->desktop_default_background;
+ if (!bg)
+ bg = "";
+ ecore_ipc_client_send(e->client,
+ E_IPC_DOMAIN_REPLY,
+ E_IPC_OP_BG_GET_REPLY,
+ 0/*ref*/, 0/*ref_to*/, 0/*response*/,
+ bg, strlen(bg));
+ }
+ break;
default:
break;
}
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_ipc.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- e_ipc.h 1 Dec 2004 07:01:31 -0000 1.4
+++ e_ipc.h 8 Jan 2005 01:44:36 -0000 1.5
@@ -19,6 +19,8 @@
E_IPC_OP_MODULE_LIST,
E_IPC_OP_MODULE_LIST_REPLY,
E_IPC_OP_BG_SET,
+ E_IPC_OP_BG_GET,
+ E_IPC_OP_BG_GET_REPLY,
E_IPC_OP_LAST
} E_Ipc_Op;
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs