From af90df9fccc810053a3ab26bdb8322b4571d7062 Mon Sep 17 00:00:00 2001 From: "berkeviktor@aol.com" Date: Wed, 29 Sep 2010 17:14:24 +0200 Subject: [PATCH] disable transparency until it's fixed for gtk+ 2.22 --- xchat-wdk.patch | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/xchat-wdk.patch b/xchat-wdk.patch index ceacf2b4..4f6e0232 100644 --- a/xchat-wdk.patch +++ b/xchat-wdk.patch @@ -140,7 +140,7 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/plugins/xdcc/xdcc.c xchat-wdk/plugi diff -ruN --strip-trailing-cr xchat-wdk.orig/src/common/cfgfiles.c xchat-wdk/src/common/cfgfiles.c --- xchat-wdk.orig/src/common/cfgfiles.c 2010-08-07 07:14:45 +0000 -+++ xchat-wdk/src/common/cfgfiles.c 2010-09-28 14:38:39 +0000 ++++ xchat-wdk/src/common/cfgfiles.c 2010-09-29 15:11:16 +0000 @@ -17,7 +17,6 @@ */ @@ -207,6 +207,15 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/src/common/cfgfiles.c xchat-wdk/src {"text_font", P_OFFSET (font_normal), TYPE_STR}, {"text_indent", P_OFFINT (indent_nicks), TYPE_BOOL}, {"text_max_indent", P_OFFINT (max_auto_indent), TYPE_INT}, +@@ -561,7 +569,7 @@ + {"text_tint_blue", P_OFFINT (tint_blue), TYPE_INT}, + {"text_tint_green", P_OFFINT (tint_green), TYPE_INT}, + {"text_tint_red", P_OFFINT (tint_red), TYPE_INT}, +- {"text_transparent", P_OFFINT (transparent), TYPE_BOOL}, ++ /* {"text_transparent", P_OFFINT (transparent), TYPE_BOOL}, */ + {"text_wordwrap", P_OFFINT (wordwrap), TYPE_BOOL}, + + {0, 0, 0}, @@ -648,6 +656,7 @@ prefs.dialog_height = 256; prefs.gui_join_dialog = 1; @@ -1208,7 +1217,18 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/servlistgui.c xchat-wdk/ gtk_box_set_spacing (GTK_BOX (vbuttonbox2), 3); diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/setup.c xchat-wdk/src/fe-gtk/setup.c --- xchat-wdk.orig/src/fe-gtk/setup.c 2008-02-08 09:04:45 +0000 -+++ xchat-wdk/src/fe-gtk/setup.c 2010-09-28 14:38:39 +0000 ++++ xchat-wdk/src/fe-gtk/setup.c 2010-09-29 15:12:56 +0000 +@@ -109,8 +109,8 @@ + N_("Give each person on IRC a different color"),0,0}, + {ST_TOGGLR, N_("Indent nick names"), P_OFFINTNL(indent_nicks), + N_("Make nick names right-justified"),0,0}, +- {ST_TOGGLE, N_("Transparent background"), P_OFFINTNL(transparent),0,0,0}, +- {ST_TOGGLR, N_("Show marker line"), P_OFFINTNL(show_marker), ++ /* {ST_TOGGLE, N_("Transparent background"), P_OFFINTNL(transparent),0,0,0}, */ ++ {ST_TOGGLE, N_("Show marker line"), P_OFFINTNL(show_marker), + N_("Insert a red line after the last read text."),0,0}, + {ST_HEADER, N_("Transparency Settings"), 0,0,0}, + {ST_HSCALE, N_("Red:"), P_OFFINTNL(tint_red),0,0,0}, @@ -363,7 +363,6 @@ {ST_END, 0, 0, 0, 0, 0} };