Skip to content
Snippets Groups Projects
Verified Commit c03e4c12 authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Make Nheko show up in system notification settings on Linux

relates to #845
parent 6484ed64
No related branches found
No related tags found
No related merge requests found
......@@ -9,3 +9,4 @@ Categories=Network;InstantMessaging;Qt;
StartupWMClass=nheko
Terminal=false
MimeType=x-scheme-handler/matrix;
X-GNOME-UsesNotifications=true
......@@ -144,8 +144,10 @@ NotificationsManager::systemPostNotification(const QString &room_id,
const QImage &icon)
{
QVariantMap hints;
hints["image-data"] = icon;
hints["sound-name"] = "message-new-instant";
hints["image-data"] = icon;
hints["sound-name"] = "message-new-instant";
hints["desktop-entry"] = "nheko";
QList<QVariant> argumentList;
argumentList << "nheko"; // app_name
argumentList << (uint)0; // replace_id
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment