From: Jookia <166291@gmail.com> Subject: [PATCHv2] gtk: Patch GTK+ to look for themes in profiles. To: guix-devel@gnu.org Date: Sun, 13 Mar 2016 15:17:37 +1100 Url: https://lists.gnu.org/archive/html/guix-devel/2016-03/msg00492.html diff -Naur gtk+-2.24.28.new/gtk/gtkrc.c gtk+-2.24.28/gtk/gtkrc.c --- gtk+-2.24.28.new/gtk/gtkrc.c 2016-03-13 10:31:14.413644362 +1100 +++ gtk+-2.24.28/gtk/gtkrc.c 2016-03-13 12:51:34.723398423 +1100 @@ -808,6 +808,8 @@ gchar *path = NULL; const gchar *home_dir; gchar *subpath; + const gchar * const *xdg_data_dirs; + gint i; if (type) subpath = g_strconcat ("gtk-2.0-", type, @@ -830,6 +832,22 @@ } if (!path) + { + xdg_data_dirs = g_get_system_data_dirs (); + for (i = 0; xdg_data_dirs[i]; i++) + { + path = g_build_filename (xdg_data_dirs[i], "themes", name, subpath, NULL); + if (g_file_test (path, G_FILE_TEST_EXISTS)) + break; + else + { + g_free (path); + path = NULL; + } + } + } + + if (!path) { gchar *theme_dir = gtk_rc_get_theme_dir (); path = g_build_filename (theme_dir, name, subpath, NULL); kages/nim.scm'>logtreecommitdiff
path: root/gnu/packages/nim.scm
t'>Author
AgeCommit message (Expand)Author
2020-02-16gnu: Remove obsolete bootstrap workaround phases....* gnu/packages/admin.scm (igt-gpu-tools)[arguments]: Don't set NOCONFIGURE environment variable. * gnu/packages/algebra.scm (givaro, fflas-ffpack, linbox), * gnu/packages/arcan.scm (xarcan), * gnu/packages/audio.scm (rtmidi), * gnu/packages/cinnamon.scm (cinnamon-desktop), * gnu/packages/gnome.scm (dia, libxklavier, byzanz), * gnu/packages/image-viewers.scm (geeqie), * gnu/packages/libusb.scm (libplist), * gnu/packages/mail.scm (libetpan), * gnu/packages/networking.scm (aircrack-ng), * gnu/packages/terminals.scm (tilda, kmscon), * gnu/packages/xorg.scm (xf86-video-intel, xcompmgr) [arguments]: Same. Efraim Flashner
2019-03-18gnu: Add arcan-wayland....* gnu/packages/arcan.scm (arcan-wayland): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Lprndn
2019-03-18gnu: Add xarcan....* gnu/packages/arcan.scm (xarcan): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Lprndn
2019-03-04gnu: Add arcan-sdl....* gnu/packages/arcan.scm (arcan-sdl): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Lprndn
2019-03-04gnu: Add arcan....* gnu/packages/arcan.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Lprndn