2012-06-07 Mike Blumenkrantz
* Support XDG_DESKTOP_DIR
+
+2012-06-14 Mike Blumenkrantz
+
+ * Added efreet_dirs_reset() to delete cached env variable information
return hostname;
}
+EAPI void
+efreet_dirs_reset(void)
+{
+ const char *s;
+ eina_stringshare_replace(&hostname, NULL);
+ eina_stringshare_replace(&xdg_desktop_dir, NULL);
+ eina_stringshare_replace(&xdg_cache_home, NULL);
+ eina_stringshare_replace(&xdg_config_home, NULL);
+ eina_stringshare_replace(&xdg_data_home, NULL);
+ eina_stringshare_replace(&efreet_home_dir, NULL);
+ EINA_LIST_FREE(xdg_data_dirs, s)
+ eina_stringshare_del(s);
+ EINA_LIST_FREE(xdg_config_dirs, s)
+ eina_stringshare_del(s);
+}
+
/**
* @internal
* @param key The environemnt key to lookup
EAPI const char *efreet_hostname_get(void);
/**
+ * @brief Resets all the stored env variables. This must be called whenever the
+ * locale is changed.
+ * @since 1.3
+ */
+EAPI void efreet_dirs_reset(void);
+
+/**
* Efreet_Event_Cache_Update
*/
typedef struct _Efreet_Event_Cache_Update Efreet_Event_Cache_Update;