Adding efreet_desktop_environment_get

SVN revision: 30873
This commit is contained in:
Nicholas Hughart 2007-07-17 15:07:59 +00:00
parent 8966c010af
commit be190f1117
2 changed files with 13 additions and 0 deletions

View File

@ -542,6 +542,17 @@ efreet_desktop_environment_set(const char *environment)
else desktop_environment = NULL;
}
/**
* @internal
* @return environment: the environment name
* @brief sets the global desktop environment name
*/
const char *
efreet_desktop_environment_get(void)
{
return desktop_environment;
}
/**
* @param desktop: The desktop to work with
* @return Returns the number of categories assigned to this desktop

View File

@ -201,6 +201,8 @@ const char *efreet_lang_modifier_get(void);
size_t efreet_array_cat(char *buffer, size_t size, const char *strs[]);
const char *efreet_desktop_environment_get(void);
/**
* @}
*/