mirror of
https://github.com/irssi/irssi.git
synced 2026-08-17 15:42:26 +02:00
add disabled txt
This commit is contained in:
parent
977c2c0a0d
commit
ee04cd503f
3 changed files with 8 additions and 2 deletions
|
|
@ -388,8 +388,12 @@ static void cmd_statusbar_print_info(const char *name)
|
|||
return;
|
||||
}
|
||||
|
||||
printformat(NULL, NULL, MSGLEVEL_CLIENTERROR,
|
||||
TXT_STATUSBAR_NOT_FOUND, name);
|
||||
if (sbar_node(name, FALSE) != NULL || sbar_node_isdefault(name))
|
||||
printformat(NULL, NULL, MSGLEVEL_CLIENTERROR,
|
||||
TXT_STATUSBAR_NOT_ENABLED, name);
|
||||
else
|
||||
printformat(NULL, NULL, MSGLEVEL_CLIENTERROR,
|
||||
TXT_STATUSBAR_NOT_FOUND, name);
|
||||
}
|
||||
|
||||
/* SYNTAX: STATUSBAR ADD|MODIFY [-disable | -nodisable] [-type window|root]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue