mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02:00
/RELOAD didn't update the statusbar colors the first time. /SET theme never
changed the statusbar colors. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2465 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
202d0b070e
commit
a52d99ecf4
2 changed files with 5 additions and 1 deletions
|
|
@ -443,7 +443,8 @@ static void cmd_statusbar(const char *data)
|
|||
void statusbar_config_init(void)
|
||||
{
|
||||
read_statusbar_config();
|
||||
signal_add("setup reread", (SIGNAL_FUNC) read_statusbar_config);
|
||||
signal_add_last("setup reread", (SIGNAL_FUNC) read_statusbar_config);
|
||||
signal_add("theme changed", (SIGNAL_FUNC) read_statusbar_config);
|
||||
|
||||
command_bind("statusbar", NULL, (SIGNAL_FUNC) cmd_statusbar);
|
||||
command_bind("statusbar enable", NULL, (SIGNAL_FUNC) cmd_statusbar_enable);
|
||||
|
|
@ -461,6 +462,7 @@ void statusbar_config_init(void)
|
|||
void statusbar_config_deinit(void)
|
||||
{
|
||||
signal_remove("setup reread", (SIGNAL_FUNC) read_statusbar_config);
|
||||
signal_remove("theme changed", (SIGNAL_FUNC) read_statusbar_config);
|
||||
|
||||
command_unbind("statusbar", (SIGNAL_FUNC) cmd_statusbar);
|
||||
command_unbind("statusbar enable", (SIGNAL_FUNC) cmd_statusbar_enable);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue