[Xfce4-commits] CVS: xfce4/xfce4-modules/modules constants.h, 1.4,	1.5
    Brian J. Tarricone 
    bjt23 at cornell.edu
       
    Wed Jul 21 18:11:15 CEST 2004
    
    
  
On Wed, 21 Jul 2004, Edscott Wilson Garcia wrote:
> Update of /var/cvs/xfce/xfce4/xfce4-modules/modules
> In directory dbguin.lunar-linux.org:/tmp/cvs-serv16171/modules
> 
> Modified Files:
> 	constants.h 
> Log Message:
> .config, .cache changes
>
> +# define XFCE_USER_CONFIG_DIR g_get_home_dir(),".config","xfce4"
> +# define XFCE_USER_CACHE_DIR g_get_home_dir(),".cache","xfce4"
i suppose this probably should have been explained better, but the 
proper way to do this is using xfce_resource_save_location():
http://xfce.org/~benny/api/libxfce4util/libxfce4util-Resource-lookup-functions.html#xfce-resource-save-location
this has the side benefit that if something changes, it only needs to 
happen in libxfce4util.  this function also pays attention to the XDG_* 
environment variables.
	-brian
    
    
More information about the Xfce4-dev
mailing list