summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-10-20 23:36:51 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-10-20 23:36:51 +0200
commit9be155633f8c882bc8874a9d18d9fedf5395c0ef (patch)
treefcb570b91852e404211556e0c996ca15e8e730de /src
parent1418524090ae468636e1f51b1108f99d2bed3c8b (diff)
Don't show transparency options when compiling w/o Xlib coz they won't work
Diffstat (limited to 'src')
-rw-r--r--src/fe-gtk/setup.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/fe-gtk/setup.c b/src/fe-gtk/setup.c
index 51e69007..2cfd640e 100644
--- a/src/fe-gtk/setup.c
+++ b/src/fe-gtk/setup.c
@@ -173,13 +173,16 @@ static const setting appearance_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},
+#if defined(USE_XLIB) || defined(WIN32)
 	{ST_TOGGLE, N_("Transparent background"), P_OFFINTNL(transparent),0,0,0},
-	{ST_TOGGLR, N_("Show marker line"), P_OFFINTNL(show_marker),
-					N_("Insert a red line after the last read text."),0,0},
+	{ST_TOGGLR, 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},
 	{ST_HSCALE, N_("Green:"), P_OFFINTNL(tint_green),0,0,0},
 	{ST_HSCALE, N_("Blue:"), P_OFFINTNL(tint_blue),0,0,0},
+#else
+	{ST_TOGGLE, N_("Show marker line"), P_OFFINTNL(show_marker), N_("Insert a red line after the last read text."),0,0},
+#endif
 
 	{ST_HEADER,	N_("Time Stamps"),0,0,0},
 	{ST_TOGGLE, N_("Enable time stamps"), P_OFFINTNL(timestamp),0,0,2},