seb if I put this in the wrong place let me know


SVN revision: 71816
devs/devilhorns/wayland_egl
Mike Blumenkrantz 11 years ago
parent ce51bb7a58
commit 7edc06111f
  1. 4
      legacy/efreet/ChangeLog
  2. 5
      legacy/efreet/NEWS
  3. 8
      legacy/efreet/src/lib/efreet_base.c
  4. 7
      legacy/efreet/src/lib/efreet_base.h

@ -119,3 +119,7 @@
* Faster loading of mime type.
2012-06-07 Mike Blumenkrantz
* Support XDG_DESKTOP_DIR

@ -7,6 +7,11 @@ Improvements:
* Faster mime type loading.
Additions:
* Support XDG_DESKTOP_DIR
Efreet 1.2.0
Changes since Efreet 1.1.0:

@ -113,6 +113,14 @@ efreet_home_dir_get(void)
return efreet_home_dir;
}
EAPI const char *
efreet_desktop_dir_get(void)
{
if (xdg_desktop_dir) return xdg_desktop_dir;
xdg_desktop_dir = efreet_dir_get("XDG_DESKTOP_DIR", "/Desktop");
return xdg_desktop_dir;
}
EAPI const char *
efreet_data_home_get(void)
{

@ -34,6 +34,13 @@ EAPI Eina_List *efreet_data_dirs_get(void);
*/
EAPI const char *efreet_config_home_get(void);
/**
* @return Returns the XDG Desktop directory
* @brief Retrieves the XDG Desktop directory
* @since 1.3
*/
EAPI const char *efreet_desktop_dir_get(void);
/**
* @return Returns the Eina_List of preference ordered extra config directories
* @brief Returns the Eina_List of preference ordered extra config

Loading…
Cancel
Save