Oops, while compiling 0.8.15-5 I notice that I'd missed a chunk out of
my patch, so here's an updated file.
J.
diff -urw irssi-0.8.15-orig/debian/changelog irssi-0.8.15/debian/changelog
diff -urw irssi-0.8.15-orig/src/fe-common/core/fe-common-core.c irssi-0.8.15/src/fe-common/core/fe-common-core.c
--- irssi-0.8.15-orig/src/fe-common/core/fe-common-core.c 2010-04-03 17:19:24.000000000 +0100
+++ irssi-0.8.15/src/fe-common/core/fe-common-core.c 2013-08-02 12:24:01.000000000 +0100
@@ -155,6 +155,7 @@
settings_add_bool("lookandfeel", "hide_text_style", FALSE);
settings_add_bool("lookandfeel", "hide_colors", FALSE);
settings_add_bool("lookandfeel", "hide_server_tags", FALSE);
+ settings_add_bool("lookandfeel", "hide_current_server_tag", TRUE);
settings_add_bool("lookandfeel", "use_status_window", TRUE);
settings_add_bool("lookandfeel", "use_msgs_window", FALSE);
diff -urw irssi-0.8.15-orig/src/fe-common/core/formats.c irssi-0.8.15/src/fe-common/core/formats.c
--- irssi-0.8.15-orig/src/fe-common/core/formats.c 2010-04-03 17:19:24.000000000 +0100
+++ irssi-0.8.15/src/fe-common/core/formats.c 2013-08-02 11:39:05.000000000 +0100
@@ -39,7 +39,8 @@
static const char *format_boldfores = "KBGCRMYW";
static int signal_gui_print_text;
-static int hide_text_style, hide_server_tags, hide_colors;
+static int hide_text_style, hide_server_tags,
+ hide_current_server_tag, hide_colors;
static int timestamp_level;
static int timestamp_timeout;
@@ -664,7 +665,8 @@
return NULL;
if ((dest->flags & PRINT_FLAG_SET_SERVERTAG) == 0) {
- if (dest->window->active != NULL &&
+ if (hide_current_server_tag &&
+ dest->window->active != NULL &&
dest->window->active->server == dest->server)
return NULL;
@@ -1079,6 +1081,7 @@
timestamp_timeout = settings_get_time("timestamp_timeout")/1000;
hide_server_tags = settings_get_bool("hide_server_tags");
+ hide_current_server_tag = settings_get_bool("hide_current_server_tag");
hide_text_style = settings_get_bool("hide_text_style");
hide_colors = hide_text_style || settings_get_bool("hide_colors");
}