From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
To: Fabian Harfert <fhmgufs@web.de>
Cc: guix-devel@gnu.org
Subject: Re: Gtk+ themes
Date: Mon, 8 Feb 2016 12:49:36 +0100 [thread overview]
Message-ID: <idjegcn8lrj.fsf@bimsb-sys02.mdc-berlin.net> (raw)
In-Reply-To: <20160207184728.048fd6cd@alarmpi>
Fabian Harfert <fhmgufs@web.de> writes:
> Looking into this source file I found out that it would make it
> possible to support Gtk+ themes out of the box, if the environment
> variable GTK_DATA_PREFIX is set to the base directory of the user's
> profile (e.g. /home/rms/.guix_profile/). I tried it with lxapearance
> and it seems to work. The problem Mark mentioned on IRC is that this
> can't contain multiple directories. But looking at the sources (e.g.
> https://git.gnome.org/browse/gtk+/tree/gtk/gtkcssprovider.c, line 2071)
> this seems to be the only opportunity to set this. Any ideas? Maybe
> there's a better option, I don't know.
It does seem to be the only environment variable to allow for a
different location for themes. It also doesn’t seem to negatively
affect anything else. (‘_gtk_get_data_prefix ()’ still returns the
compile-time prefix and is used to find ‘settings.ini’.)
GTK_DATA_PREFIX is not a search path, so it’s expected that only one
directory can be specified. Is this a problem?
~~ Ricardo
next prev parent reply other threads:[~2016-02-08 11:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-07 17:47 Gtk+ themes Fabian Harfert
2016-02-08 11:49 ` Ricardo Wurmus [this message]
2016-02-08 16:07 ` [PATCH] system: Define 'GTK_DATA_PREFIX' in /etc/profile Fabian Harfert
2016-02-08 16:20 ` Gtk+ themes Fabian Harfert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=idjegcn8lrj.fsf@bimsb-sys02.mdc-berlin.net \
--to=ricardo.wurmus@mdc-berlin.de \
--cc=fhmgufs@web.de \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.