tags 319286 patch thanks Hello, Thanks for your bug report. This is a quick patch against switch2.c (v2.0.5) to fix this issue. A new version of gtk-theme-switch is pending. Best regards Denis Briand
--- switch2.c.orig 2009-04-11 16:58:07.000000000 +0200
+++ switch2.c 2009-04-11 16:59:40.000000000 +0200
@@ -221,11 +221,11 @@
{
FILE *gtkrc = fopen(path, "w");
/* the caps stuff is bullshit for gnome */
- fprintf(gtkrc, "# -- THEME AUTO-WRITTEN DO NOT EDIT\ninclude \"%s\"\n\n", include_file);
+ fprintf(gtkrc, "# -- THEME AUTO-WRITTEN BY gtk-theme-switch2 DO NOT EDIT\ninclude \"%s\"\n\n", include_file);
if (newfont)
/* User set a custom font to overrride defaults. */
fprintf (gtkrc, "style \"user-font\"\n{\n font_name=\"%s\"\n}\nwidget_class \"*\" style \"user-font\"\n\n", newfont);
- fprintf(gtkrc, "include \"%s/.gtkrc-2.0.mine\"\n\n# -- THEME AUTO-WRITTEN DO NOT EDIT\n", homedir);
+ fprintf(gtkrc, "include \"%s/.gtkrc-2.0.mine\"\n\n# -- THEME AUTO-WRITTEN BY gtk-theme-switch2 DO NOT EDIT\n", homedir);
fclose (gtkrc);
}
Attachment:
signature.asc
Description: Digital signature