Web lists-archives.com

Re: [GTK2] GTK2_RC_FILES override clashes with current theme




There are very, very few apps that come with per-app GTK RC files.

In my/our case, Ardour (http://ardour.org/) specifically works to try
to prevent loading ANY other RC files except the one it comes with.

So yes, you are not the first to run into it, but you are among a very
small number of people to do so, and likely most of us have just
worked around it.


On Tue, Sep 15, 2015 at 5:59 PM, lemonsqueeze <lemonsqueeze@xxxxxxx> wrote:
> I guess what greatly confuses me is:
> 1) GTK2_RC_FILES is documented as specifying
>     (https://developer.gnome.org/gtk2/stable/gtk-running.html)
>     "a list of RC files to parse instead of the default ones"
> 2) Actual behavior differs
>     "a list of RC files to parse in addition to the default ones"
> 3) Fix is a trivial one line change to gtkrc.c
>    (which I'm not asking for btw, trying to understand the situation
>    here)
>
> This doesn't make sense. With GTK so widely used, I find it hard to
> believe I'm the first one to run into this...
>
>
> On 09/15/2015 04:49 PM, Paul Davis wrote:
>> No, you posted in the right place. I just added the part after the
>> "..." in case you followed with "is anyone working to fix this?"
>>
>> the "fix" is/was to completely redesign the entire themeing system,
>> but that is something you will only find in GTK3.
>>
>> On Tue, Sep 15, 2015 at 10:41 AM, lemonsqueeze <lemonsqueeze@xxxxxxx> wrote:
>>>
>>>
>>> On 09/14/2015 01:52 PM, Paul Davis wrote:
>>>> On Mon, Sep 14, 2015 at 3:49 AM, lemonsqueeze <lemonsqueeze@xxxxxxx> wrote:
>>>>> Hi all,
>>>>
>>>>> Question: Is this a bug or my understanding of how GTK2_RC_FILES works ?
>>>>> Shouldn't GTK ignore the current theme altogether when GTK2_RC_FILES is
>>>>> set ? Surely themes don't seem to be expected to use globally unique
>>>>> style names ...
>>>>
>>>> that's where you'd be wrong ... remember that GTK2 is no longer under
>>>> development and the themeing mechanism in GTK3 bears essentially no
>>>> relationship whatsoever to the design in GTK2.
>>>
>>> That was a question about GTK2 actually, did I post in the wrong place
>>> perhaps ?
>>> _______________________________________________
>>> gtk-list mailing list
>>> gtk-list@xxxxxxxxx
>>> https://mail.gnome.org/mailman/listinfo/gtk-list
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list