summaryrefslogtreecommitdiff
path: root/x11-themes/gtk-chtheme/files/gtk-chtheme-0.3.1-qgtkstyle.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-themes/gtk-chtheme/files/gtk-chtheme-0.3.1-qgtkstyle.patch
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-themes/gtk-chtheme/files/gtk-chtheme-0.3.1-qgtkstyle.patch')
-rw-r--r--x11-themes/gtk-chtheme/files/gtk-chtheme-0.3.1-qgtkstyle.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/x11-themes/gtk-chtheme/files/gtk-chtheme-0.3.1-qgtkstyle.patch b/x11-themes/gtk-chtheme/files/gtk-chtheme-0.3.1-qgtkstyle.patch
new file mode 100644
index 000000000000..b6c2b7a03551
--- /dev/null
+++ b/x11-themes/gtk-chtheme/files/gtk-chtheme-0.3.1-qgtkstyle.patch
@@ -0,0 +1,12 @@
+# Make gtk-chtheme work with qgtkstyle
+# https://bugs.gentoo.org/show_bug.cgi?id=250504
+--- a/main.c 2004-02-09 06:33:28.000000000 +0200
++++ b/main.c 2008-12-10 12:47:42.000000000 +0200
+@@ -97,6 +97,7 @@
+ fprintf(gtkrc_fh, "gtk-font-name=\"%s\"\n\n", font);
+ }
+
++ fprintf(gtkrc_fh, "gtk-theme-name = \"%s\"\n\n", themename);
+ fprintf(gtkrc_fh, "include \"%s/.gtkrc.mine\"\n\n", getenv("HOME"));
+ fprintf(gtkrc_fh, "# -- THEME AUTO-WRITTEN DO NOT EDIT\n");
+ fclose(gtkrc_fh);