Thanx for applying my previous patch, I should have included this with it, but here goes.
This completes the previous patch by adding e_lib_theme_set(category, file)
--
Chady Kassouf
http://chady.net/
cvs diff: Diffing . Index: E_Lib.h =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/lib/E_Lib.h,v retrieving revision 1.3 diff -u -r1.3 E_Lib.h --- E_Lib.h 19 Jul 2005 07:07:23 -0000 1.3 +++ E_Lib.h 20 Jul 2005 13:33:35 -0000 @@ -96,6 +96,7 @@ EAPI void e_lib_background_get (void); /* E current theme manipulation */ + EAPI void e_lib_theme_set (const char *category, const char *file); EAPI void e_lib_theme_get (const char *category); /* languages */ Index: e_main.c =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/lib/e_main.c,v retrieving revision 1.25 diff -u -r1.25 e_main.c --- e_main.c 19 Jul 2005 07:07:23 -0000 1.25 +++ e_main.c 20 Jul 2005 13:33:36 -0000 @@ -255,6 +255,24 @@ } void +e_lib_theme_set(const char *category, const char *file) +{ + char **tmp; + if (!category && !file) + return; + + tmp = malloc(sizeof(char *) * 2); + + tmp[0] = strdup(category); + tmp[1] = strdup(file); + + _e_ipc_call(E_IPC_OP_THEME_SET, tmp); + free(tmp[0]); + free(tmp[1]); + free(tmp); +} + +void e_lib_language_set(const char *lang) { char *tmp;