mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-18 21:55:45 +00:00
GTableView: Add ability to hide individual columns at view-level.
Use this in IRCClient to hide the "sender" column in the server message view since everything in that view comes from the "Server" anyway.
This commit is contained in:
@@ -246,7 +246,7 @@ void IRCClient::handle(const Message& msg, const String&)
|
||||
|
||||
void IRCClient::add_server_message(const String& text)
|
||||
{
|
||||
m_log->add_message(0, "Server", text);
|
||||
m_log->add_message(0, "", text);
|
||||
m_server_subwindow->did_add_message();
|
||||
}
|
||||
|
||||
@@ -354,7 +354,7 @@ void IRCClient::handle_ping(const Message& msg)
|
||||
{
|
||||
if (msg.arguments.size() < 0)
|
||||
return;
|
||||
m_log->add_message(0, "Server", "Ping? Pong!");
|
||||
m_log->add_message(0, "", "Ping? Pong!");
|
||||
send_pong(msg.arguments[0]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user