Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 325242 Details for
Bug 436536
net-irc/xchat-2.8.8-r2 - patches that apply cleanly and fix several issues
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
adds a 'feature'
0001-Add-scrollback-strip-color-option.patch (text/plain), 2.13 KB, created by
David J Cozatt
on 2012-09-28 20:24:08 UTC
(
hide
)
Description:
adds a 'feature'
Filename:
MIME Type:
Creator:
David J Cozatt
Created:
2012-09-28 20:24:08 UTC
Size:
2.13 KB
patch
obsolete
>From 1d9df8fac0854e2421b345dd3cd69b0f4ac54bf9 Mon Sep 17 00:00:00 2001 >From: Jeong YunWon <jeong@youknowone.org> >Date: Wed, 27 Jun 2012 03:54:21 +0900 >Subject: [PATCH] Add scrollback strip color option > >--- > src/common/cfgfiles.c | 2 ++ > src/common/text.c | 6 ++++-- > src/common/xchat.h | 1 + > 3 files changed, 7 insertions(+), 2 deletions(-) > >diff --git a/src/common/cfgfiles.c b/src/common/cfgfiles.c >index 83f50e3..d7bdb94 100644 >--- a/src/common/cfgfiles.c >+++ b/src/common/cfgfiles.c >@@ -554,6 +554,7 @@ const struct prefs vars[] = { > {"text_max_indent", P_OFFINT (max_auto_indent), TYPE_INT}, > {"text_max_lines", P_OFFINT (max_lines), TYPE_INT}, > {"text_replay", P_OFFINT (text_replay), TYPE_BOOL}, >+ {"text_replay_strip_color", P_OFFINT (text_replay_strip_color), TYPE_BOOL}, > {"text_show_marker", P_OFFINT (show_marker), TYPE_BOOL}, > {"text_show_sep", P_OFFINT (show_separator), TYPE_BOOL}, > {"text_stripcolor", P_OFFINT (stripcolor), TYPE_BOOL}, >@@ -634,6 +635,7 @@ load_config (void) > prefs.autoreconnect = 1; > prefs.recon_delay = 10; > prefs.text_replay = 1; >+ prefs.text_replay_strip_color = 1; > prefs.tabchannels = 1; > prefs.tab_layout = 2; /* 0=Tabs 1=Reserved 2=Tree */ > prefs.tab_sort = 1; >diff --git a/src/common/text.c b/src/common/text.c >index 6b11174..a8b20b3 100644 >--- a/src/common/text.c >+++ b/src/common/text.c >@@ -328,9 +328,11 @@ scrollback_load (session *sess) > text = strchr (buf + 3, ' '); > if (text) > { >- text = strip_color (text + 1, -1, STRIP_COLOR); >+ if (prefs.text_replay_strip_color) >+ text = strip_color (text + 1, -1, STRIP_COLOR); > fe_print_text (sess, text, stamp); >- g_free (text); >+ if (prefs.text_replay_strip_color) >+ g_free (text); > } > lines++; > } >diff --git a/src/common/xchat.h b/src/common/xchat.h >index 6e31d7c..4b74bf9 100644 >--- a/src/common/xchat.h >+++ b/src/common/xchat.h >@@ -270,6 +270,7 @@ struct xchatprefs > unsigned int windows_as_tabs; > unsigned int indent_nicks; > unsigned int text_replay; >+ unsigned int text_replay_strip_color; > unsigned int show_marker; > unsigned int show_separator; > unsigned int thin_separator; >-- >1.7.7.5 (Apple Git-26) >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 436536
: 325242 |
325244
|
325246
|
325248
|
325250
|
325252
|
325254
|
325256
|
325258
|
325260
|
325262
|
325264
|
325266
|
325268
|
325270
|
325272
|
325274
|
325276