Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 436536 | Differences between
and this patch

Collapse All | Expand All

(-)a/src/common/cfgfiles.c (+2 lines)
Lines 554-559 const struct prefs vars[] = { Link Here
554
	{"text_max_indent", P_OFFINT (max_auto_indent), TYPE_INT},
554
	{"text_max_indent", P_OFFINT (max_auto_indent), TYPE_INT},
555
	{"text_max_lines", P_OFFINT (max_lines), TYPE_INT},
555
	{"text_max_lines", P_OFFINT (max_lines), TYPE_INT},
556
	{"text_replay", P_OFFINT (text_replay), TYPE_BOOL},
556
	{"text_replay", P_OFFINT (text_replay), TYPE_BOOL},
557
	{"text_replay_strip_color", P_OFFINT (text_replay_strip_color), TYPE_BOOL},
557
	{"text_show_marker", P_OFFINT (show_marker), TYPE_BOOL},
558
	{"text_show_marker", P_OFFINT (show_marker), TYPE_BOOL},
558
	{"text_show_sep", P_OFFINT (show_separator), TYPE_BOOL},
559
	{"text_show_sep", P_OFFINT (show_separator), TYPE_BOOL},
559
	{"text_stripcolor", P_OFFINT (stripcolor), TYPE_BOOL},
560
	{"text_stripcolor", P_OFFINT (stripcolor), TYPE_BOOL},
Lines 634-639 load_config (void) Link Here
634
	prefs.autoreconnect = 1;
635
	prefs.autoreconnect = 1;
635
	prefs.recon_delay = 10;
636
	prefs.recon_delay = 10;
636
	prefs.text_replay = 1;
637
	prefs.text_replay = 1;
638
	prefs.text_replay_strip_color = 1;
637
	prefs.tabchannels = 1;
639
	prefs.tabchannels = 1;
638
	prefs.tab_layout = 2;	/* 0=Tabs 1=Reserved 2=Tree */
640
	prefs.tab_layout = 2;	/* 0=Tabs 1=Reserved 2=Tree */
639
	prefs.tab_sort = 1;
641
	prefs.tab_sort = 1;
(-)a/src/common/text.c (-2 / +4 lines)
Lines 328-336 scrollback_load (session *sess) Link Here
328
			text = strchr (buf + 3, ' ');
328
			text = strchr (buf + 3, ' ');
329
			if (text)
329
			if (text)
330
			{
330
			{
331
				text = strip_color (text + 1, -1, STRIP_COLOR);
331
				if (prefs.text_replay_strip_color)
332
					text = strip_color (text + 1, -1, STRIP_COLOR);
332
				fe_print_text (sess, text, stamp);
333
				fe_print_text (sess, text, stamp);
333
				g_free (text);
334
				if (prefs.text_replay_strip_color)
335
					g_free (text);
334
			}
336
			}
335
			lines++;
337
			lines++;
336
		}
338
		}
(-)a/src/common/xchat.h (-1 / +1 lines)
Lines 270-275 struct xchatprefs Link Here
270
	unsigned int windows_as_tabs;
270
	unsigned int windows_as_tabs;
271
	unsigned int indent_nicks;
271
	unsigned int indent_nicks;
272
	unsigned int text_replay;
272
	unsigned int text_replay;
273
	unsigned int text_replay_strip_color;
273
	unsigned int show_marker;
274
	unsigned int show_marker;
274
	unsigned int show_separator;
275
	unsigned int show_separator;
275
	unsigned int thin_separator;
276
	unsigned int thin_separator;
276
- 

Return to bug 436536