diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2006-11-08 07:54:33 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2006-11-08 07:54:33 +0000 |
commit | c20ce83d20526e24601c6c8acabc7a61ab3c3a78 (patch) | |
tree | a8e1b79498ef7cd410176680d9bfb585270aa576 /src/irc/irc-recv.c | |
parent | b5a7d8e99e372378cb47069a3d2ad0bf65ccc530 (diff) | |
download | weechat-c20ce83d20526e24601c6c8acabc7a61ab3c3a78.zip |
Added charset plugin (WeeChat is now full UTF-8 for internal data storage), fixed compilation problems with FreeBSD, fixed status bar display bug
Diffstat (limited to 'src/irc/irc-recv.c')
-rw-r--r-- | src/irc/irc-recv.c | 48 |
1 files changed, 20 insertions, 28 deletions
diff --git a/src/irc/irc-recv.c b/src/irc/irc-recv.c index 049a8c761..29e5d757b 100644 --- a/src/irc/irc-recv.c +++ b/src/irc/irc-recv.c @@ -977,11 +977,10 @@ irc_cmd_recv_notice (t_irc_server *server, char *host, char *nick, char *argumen nick); if ( (cfg_look_infobar_delay_highlight > 0) && (ptr_channel->buffer != gui_current_window->buffer) ) - gui_infobar_printf_from_buffer (ptr_channel->buffer, - cfg_look_infobar_delay_highlight, - COLOR_WIN_INFOBAR_HIGHLIGHT, - _("Private"), " %s> %s", - nick, pos); + gui_infobar_printf (cfg_look_infobar_delay_highlight, + COLOR_WIN_INFOBAR_HIGHLIGHT, + _("Private %s> %s"), + nick, pos); highlight = 1; } else @@ -1348,12 +1347,10 @@ irc_cmd_recv_privmsg (t_irc_server *server, char *host, char *nick, char *argume if ( (cfg_look_infobar) && (cfg_look_infobar_delay_highlight > 0) && (ptr_channel->buffer != gui_current_window->buffer) ) - gui_infobar_printf_from_buffer (ptr_channel->buffer, - cfg_look_infobar_delay_highlight, - COLOR_WIN_INFOBAR_HIGHLIGHT, - _("Channel"), " %s: * %s %s", - ptr_channel->name, - nick, pos); + gui_infobar_printf (cfg_look_infobar_delay_highlight, + COLOR_WIN_INFOBAR_HIGHLIGHT, + _("Channel %s: * %s %s"), + ptr_channel->name, nick, pos); gui_printf (ptr_channel->buffer, " %s%s\n", GUI_COLOR(COLOR_WIN_CHAT), pos); #ifdef PLUGINS @@ -1479,12 +1476,10 @@ irc_cmd_recv_privmsg (t_irc_server *server, char *host, char *nick, char *argume if ( (cfg_look_infobar) && (cfg_look_infobar_delay_highlight > 0) && (ptr_channel->buffer != gui_current_window->buffer) ) - gui_infobar_printf_from_buffer (ptr_channel->buffer, - cfg_look_infobar_delay_highlight, - COLOR_WIN_INFOBAR_HIGHLIGHT, - _("Channel"), " %s: %s> %s", - ptr_channel->name, - nick, pos); + gui_infobar_printf (cfg_look_infobar_delay_highlight, + COLOR_WIN_INFOBAR_HIGHLIGHT, + _("Channel %s: %s> %s"), + ptr_channel->name, nick, pos); gui_printf_type (ptr_channel->buffer, MSG_TYPE_MSG, "%s\n", pos); #ifdef PLUGINS @@ -1909,12 +1904,10 @@ irc_cmd_recv_privmsg (t_irc_server *server, char *host, char *nick, char *argume if ( (cfg_look_infobar) && (cfg_look_infobar_delay_highlight > 0) && (ptr_channel->buffer != gui_current_window->buffer) ) - gui_infobar_printf_from_buffer (ptr_channel->buffer, - cfg_look_infobar_delay_highlight, - COLOR_WIN_INFOBAR_HIGHLIGHT, - _("Channel"), " %s: * %s %s", - ptr_channel->name, - nick, pos); + gui_infobar_printf (cfg_look_infobar_delay_highlight, + COLOR_WIN_INFOBAR_HIGHLIGHT, + _("Channel %s: * %s %s"), + ptr_channel->name, nick, pos); gui_printf (ptr_channel->buffer, " %s%s\n", GUI_COLOR(COLOR_WIN_CHAT), pos); #ifdef PLUGINS @@ -2013,11 +2006,10 @@ irc_cmd_recv_privmsg (t_irc_server *server, char *host, char *nick, char *argume COLOR_WIN_CHAT_HIGHLIGHT, 0); if ((cfg_look_infobar_delay_highlight > 0) && (ptr_channel->buffer != gui_current_window->buffer)) - gui_infobar_printf_from_buffer (ptr_channel->buffer, - cfg_look_infobar_delay_highlight, - COLOR_WIN_INFOBAR_HIGHLIGHT, - _("Private"), " %s> %s", - nick, pos); + gui_infobar_printf (cfg_look_infobar_delay_highlight, + COLOR_WIN_INFOBAR_HIGHLIGHT, + _("Private %s> %s"), + nick, pos); highlight = 1; } else |