> Borsenkow Andrej <[EMAIL PROTECTED]> writes:
>
> > {pts/3}% env | grep GTK
> > GTK_RC_FILES=/etc/gtk/gtkrc:/home/bor/.gtkrc:/home/bor/.gtkrc-kde
> > {pts/1}% cd /opt/kde3/lib/kde3
> > {pts/1}% strings libkcm_style.so| less
> > /.gtkrc-kde
> > GTK_RC_FILES
> > /etc/gtk/gtkrc
> >
> >
> > and the same happens under KDE2 as well. In this case ~/.gtkrc is my
> > file that I copied over from /etc/gtk/gtkrc-1.2.ru to be able to use
> > mail at all :-)
> >
> > Obviously KDE did it for ages but nobody cared until Gtk moved to
> > versioned rc files.
>
> I thought you meant that we need to substitute /etc/gtk/gtkrc
> with /etc/gtk/gtkrc-1.2 in GTK_RC_FILES but it seems that
> /etc/gtk/gtkrc-1.2 file doesn't exist (only appended with name of
> locale), so I don't see what's going on now.. Pablo, Andrej ?
>
No I did not mean it. It is wrong as well because we may (theoretically)
run different Gtk versions at the same time so setting it to gtkrc-1.2
in KDE would be just as wrong. Actually the problem is non-trivial and
should be brought up on kde-devel. Any takers?
So far I see two solutions:
- reverse gtk patch and return to plain /etc/gtk/gtkrc.$LANG.
- implement something like GTK_EXTRA_RC_FILES that is sourced after (not
instead) default rc files.
Note that both solutions do not solve problem of multiple gtk versions.
Currently I would personally prefer to revert Gtk patch and discuss this
problem on kde-devel.
-andrej