Re: theme question
- From: Paul Davis <paul linuxaudiosystems com>
- To: davecindysmith attbi com
- Cc: Owen Taylor <otaylor redhat com>, Tony Denault <denault hawaii edu>, gtk-list gnome org
- Subject: Re: theme question
- Date: Fri, 30 May 2003 10:38:25 -0400
>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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]