mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Removed cons_good_show
This commit is contained in:
parent
2acf15de0d
commit
2fd9e788a9
@ -108,7 +108,7 @@ static int _cmd_connect(char *inp)
|
||||
|
||||
conn_status = jabber_connect(user, passwd);
|
||||
if (conn_status == JABBER_CONNECTING)
|
||||
cons_good_show("Connecting...");
|
||||
cons_show("Connecting...");
|
||||
if (conn_status == JABBER_DISCONNECTED)
|
||||
cons_bad_show("Connection to server failed.");
|
||||
|
||||
|
2
jabber.c
2
jabber.c
@ -196,7 +196,7 @@ static void _jabber_conn_handler(xmpp_conn_t * const conn,
|
||||
sprintf(line, "%s %s", jid, msg);
|
||||
title_bar_connected();
|
||||
|
||||
cons_good_show(line);
|
||||
cons_show(line);
|
||||
status_bar_print_message(jid);
|
||||
status_bar_refresh();
|
||||
|
||||
|
@ -181,12 +181,6 @@ void cons_help(void)
|
||||
cons_show(" F2-10 : Chat windows.");
|
||||
}
|
||||
|
||||
void cons_good_show(char *msg)
|
||||
{
|
||||
_win_show_time(_cons_win);
|
||||
wprintw(_cons_win, "%s\n", msg);
|
||||
}
|
||||
|
||||
void cons_bad_show(char *msg)
|
||||
{
|
||||
_win_show_time(_cons_win);
|
||||
|
Loading…
Reference in New Issue
Block a user