mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 03:37:53 +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:
@@ -35,7 +35,7 @@ Notification::~Notification()
|
||||
void Notification::show()
|
||||
{
|
||||
auto connection = NotificationServerConnection::construct();
|
||||
connection->post_message(Messages::NotificationServer::ShowNotification(m_text, m_title));
|
||||
connection->post_message(Messages::NotificationServer::ShowNotification(m_text, m_title, m_icon_path));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user