1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-29 22:36:38 +02:00

Partial support of bars, with custom items.

Today only root bars are partially working (refresh is not always performed),
and bars are not saved in configuration file. To be continued...
This commit is contained in:
Sebastien Helleu
2008-03-05 16:19:10 +01:00
parent d64e852a38
commit 14d393b11e
49 changed files with 5582 additions and 242 deletions
+6 -5
View File
@@ -116,14 +116,15 @@ irc_debug_signal_debug_cb (void *data, char *signal, char *type_data,
if (strcmp (type_data, WEECHAT_HOOK_SIGNAL_STRING) == 0)
{
if (weechat_strcasecmp ((char *)signal_data, "irc") == 0)
{
irc_debug ^= 1;
if (irc_debug)
weechat_printf (NULL, _("%s: debug enabled"), "irc");
else
weechat_printf (NULL, _("%s: debug disabled"), "irc");
}
}
if (irc_debug)
weechat_printf (NULL, _("%s: debug enabled"), "irc");
else
weechat_printf (NULL, _("%s: debug disabled"), "irc");
return WEECHAT_RC_OK;
}