diff -ur nautilus.17c.old/cli.c nautilus.17c/cli.c --- nautilus.17c.old/cli.c Sat Dec 16 00:53:44 2000 +++ nautilus.17c/cli.c Tue Jan 23 11:11:13 2001 @@ -119,15 +119,24 @@ } else { struct stat BUF; - + + strncpy(fname1, "/etc/nautilus.cfg", CONFIGFILENAMLEN); + if (stat(fname1, &BUF) == 0){ /* stat succes, File exists */ + if (ReadConfigFile(fname1) == FAIL) + exit(1); + } + /* We hope that it is legal to execute ReadConfigFile two times */ + strncpy(fname1,getenv("HOME"),CONFIGFILENAMLEN); strcat (fname1,"/.nautilus.cfg"); + /* printf ("configfile: %s\n", fname1); go away */ if (stat(fname1, &BUF) == 0){ /* stat succes, File exists */ if (ReadConfigFile(fname1) == FAIL) exit(1); } + #endif }