forked from enlightenment/enlightenment
parent
9831d5c9a4
commit
d67105cf73
|
@ -98,6 +98,7 @@ extern "C" {
|
|||
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 */
|
||||
|
|
|
@ -301,6 +301,21 @@ e_lib_theme_get(const char *category)
|
|||
free(tmp);
|
||||
}
|
||||
|
||||
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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue