kloczek: SOURCES gnome-libs-HOME_ETC.patch

Tomek Orzechowski orzech w pld.org.pl
Śro, 8 Maj 2002, 12:11:04 CEST


[08 maj, 2002] PLD CVS napisał:

>Module name:	SOURCES
>Changes by:	kloczek	02/05/08 11:55:45
>
>Added files:
>	.              : gnome-libs-HOME_ETC.patch 
>
>Log message:
>- use "/$CONFIG_DIR/" instead /.gnome/" if $CONFIG_DIR enviroment variable as directory name
>  where GNOME applications stores configuration files.

Na pewno tak?

--> gnome-libs-HOME_ETC.patch
-#define gnome_util_home_file(afile) (g_strconcat(gnome_util_user_home(), "/.gnome/", (afile), NULL))
+#define gnome_util_home_file(afile) (g_strconcat(gnome_util_user_home(), getenv("CONFIG_DIR")  ? g_strconcat( "/", getenv("CONFIG_DIR"), "/" ): "/.gnome/", (afile), NULL))
<--

Czy to nie powinno być w ~/etc/gnome a nie luzem w ~/etc ?

-- 
Tomek Orzechowski



Więcej informacji o liście dyskusyjnej pld-devel-pl