1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

No more infobar, but in empty windows topicbar contains the URL.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2547 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2002-03-10 14:02:33 +00:00 committed by cras
parent cc74b97a51
commit 7c9ac989ff
2 changed files with 5 additions and 12 deletions

View File

@ -121,8 +121,6 @@ statusbar = {
# treated "normally", you could change the time/user name to whatever
time = "{sb $Z}";
user = "{sb $cumode$N{sbmode $usermode}{sbaway $A}}";
topic = " $topic";
info = " Irssi v$J - http://irssi.org/beginner/ - read it to get rid of this";
# treated specially .. window is printed with non-empty windows,
# window_empty is printed with empty windows
@ -130,6 +128,8 @@ statusbar = {
window_empty = "{sb $winref{sbservertag $tag}}";
prompt = "{prompt $[.15]T}";
prompt_empty = "{prompt $winname}";
topic = " $topic";
topic_empty = " Irssi v$J - http://irssi.org/help/";
# all of these treated specially, they're only displayed when needed
lag = "{sb Lag: $0-}";
@ -184,16 +184,6 @@ statusbar = {
};
};
# (annoying) infobar requesting new users to visit irssi.org and read
# a bit of documentation :)
info = {
type = "root";
placement = "bottom";
position = "1";
visible = "always";
items = { info = { }; };
};
# we treat input line as yet another statusbar :) It's possible to
# add other items before or after the input line item.
prompt = {
@ -219,6 +209,7 @@ statusbar = {
items = {
barstart = { priority = "100"; };
topic = { };
topic_empty = { };
barend = { priority = "100"; alignment = "right"; };
};
};

View File

@ -389,6 +389,8 @@ void statusbar_items_init(void)
statusbar_item_register("window_empty", NULL, item_window_empty);
statusbar_item_register("prompt", NULL, item_window_active);
statusbar_item_register("prompt_empty", NULL, item_window_empty);
statusbar_item_register("topic", NULL, item_window_active);
statusbar_item_register("topic_empty", NULL, item_window_empty);
statusbar_item_register("lag", NULL, item_lag);
statusbar_item_register("act", NULL, item_act);
statusbar_item_register("more", NULL, item_more);