summary refs log tree commit diff stats
path: root/src/fe-gtk/maingui.c
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2013-06-06 17:47:01 -0400
committerTingPing <tingping@tingping.se>2013-06-06 17:47:01 -0400
commitcf505b850bb02e7b691fbd5f48618d66fe55bc0a (patch)
tree83395d6ac39c5b90c21a2664edd001425f961bbc /src/fe-gtk/maingui.c
parentfd762303b0c655f77ddff3004bfaaf11cc6c4e0d (diff)
Add chanopt for stripping colors
Diffstat (limited to 'src/fe-gtk/maingui.c')
-rw-r--r--src/fe-gtk/maingui.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fe-gtk/maingui.c b/src/fe-gtk/maingui.c
index 2fe5d12c..f049d2a6 100644
--- a/src/fe-gtk/maingui.c
+++ b/src/fe-gtk/maingui.c
@@ -1561,7 +1561,10 @@ mg_create_perchannelmenu (session *sess, GtkWidget *menu)
 	mg_perchan_menu_item (_("_Log to Disk"), submenu, &sess->text_logging, prefs.hex_irc_logging);
 	mg_perchan_menu_item (_("_Reload Scrollback"), submenu, &sess->text_scrollback, prefs.hex_text_replay);
 	if (sess->type == SESS_CHANNEL)
+	{
+		mg_perchan_menu_item (_("Strip _Colors"), submenu, &sess->text_strip, prefs.hex_text_stripcolor_msg);
 		mg_perchan_menu_item (_("_Hide Join/Part Messages"), submenu, &sess->text_hidejoinpart, prefs.hex_irc_conf_mode);
+	}
 }
 
 static void