>I am just learning about GTK and I have a related problem. My test program >does not seem to find my ~/.gtkrc file. If I add a line to my program: > gtk_rc_parse ("/u/dave/.gtkrc"); > >It finds the file correctly. If I write this line as either: > gtk_rc_parse ("~/.gtkrc"); >or > gtk_rc_parse ("$HOME/.gtkrc");
~ and $HOME are normally interpreted by a shell, and mean nothing to a function call expecting a regular unix path. >it does NOT find the file, so it looks like some kind of a default path >problem. I added three additional lines to the program: > system("ls -l /u/dave/.gtkrc"); > system("ls -l ~/.gtkrc"); > system("ls -l $HOME/.gtkrc"); these commands are interpreted by a shell, so that ls(1) sees the full path. _______________________________________________ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list