Enlightenment CVS committal Author : codewarrior Project : e17 Module : apps/e
Dir : e17/apps/e/src/lib Modified Files: E_Lib.h e_main.c Log Message: e_lib_theme_set from Chady Kassouf =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/lib/E_Lib.h,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- E_Lib.h 30 Jul 2005 05:09:50 -0000 1.5 +++ E_Lib.h 1 Aug 2005 07:34:51 -0000 1.6 @@ -98,6 +98,7 @@ EAPI void e_lib_desktop_background_del (const int con, const int zone, const int desk_x, const int desk_y); /* 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 */ =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/lib/e_main.c,v retrieving revision 1.29 retrieving revision 1.30 diff -u -3 -r1.29 -r1.30 --- e_main.c 30 Jul 2005 06:21:54 -0000 1.29 +++ e_main.c 1 Aug 2005 07:34:51 -0000 1.30 @@ -302,6 +302,21 @@ } void +e_lib_theme_set(const char *category, const char *file) +{ + char *tmp[2]; + if (!category && !file) + return; + + tmp[0] = strdup(category); + tmp[1] = strdup(file); + + _e_ipc_call(E_IPC_OP_THEME_SET, tmp); + free(tmp[0]); + free(tmp[1]); +} + +void e_lib_language_set(const char *lang) { char *tmp; ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs