From 24e2da5c7943b347aa8c75e26c814f4421e34881 Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Sat, 29 Oct 2011 13:25:33 +0200 Subject: re-enable transparent backgrounds --- src/common/cfgfiles.c | 2 +- src/fe-gtk/setup.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/common/cfgfiles.c b/src/common/cfgfiles.c index 7948fe2c..c3dcb347 100644 --- a/src/common/cfgfiles.c +++ b/src/common/cfgfiles.c @@ -575,7 +575,7 @@ const struct prefs vars[] = { {"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}, diff --git a/src/fe-gtk/setup.c b/src/fe-gtk/setup.c index acb4eda6..a1a200a5 100644 --- a/src/fe-gtk/setup.c +++ b/src/fe-gtk/setup.c @@ -109,13 +109,13 @@ static const setting textbox_settings[] = 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_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_HEADER, N_("Transparency Settings"), 0,0,0}, {ST_HSCALE, N_("Red:"), P_OFFINTNL(tint_red),0,0,0}, {ST_HSCALE, N_("Green:"), P_OFFINTNL(tint_green),0,0,0}, - {ST_HSCALE, N_("Blue:"), P_OFFINTNL(tint_blue),0,0,0}, */ + {ST_HSCALE, N_("Blue:"), P_OFFINTNL(tint_blue),0,0,0}, {ST_HEADER, N_("Time Stamps"),0,0,0}, {ST_TOGGLE, N_("Enable time stamps"), P_OFFINTNL(timestamp),0,0,2}, -- cgit 1.4.1