mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-03-06 21:45:29 +00:00
NotificationServer: Allow showing an icon in notifications
We currently use icon paths for this because I didn't want to deal with implementing icon bitmap sharing right now. In the future it would be better to post a bitmap somehow instead of a path.
This commit is contained in:
@@ -55,7 +55,7 @@ OwnPtr<Messages::NotificationServer::GreetResponse> ClientConnection::handle(con
|
||||
|
||||
void ClientConnection::handle(const Messages::NotificationServer::ShowNotification& message)
|
||||
{
|
||||
auto window = NotificationWindow::construct(message.text(), message.title());
|
||||
auto window = NotificationWindow::construct(message.text(), message.title(), message.icon_path());
|
||||
window->show();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user