summary refs log tree commit diff
path: root/src/notifications
diff options
context:
space:
mode:
authormujx <mujx@users.noreply.github.com>2018-07-16 13:37:40 +0300
committerGitHub <noreply@github.com>2018-07-16 13:37:40 +0300
commit96a2c614bfb60d99bc9629f73fe1707df505ce2d (patch)
tree77c7a49fe478ad6709faa49f1c91d3137bbf4dae /src/notifications
parentUse a brighter color for button text (#355) (diff)
parentExplicitly set no timeout for notifications (diff)
downloadnheko-96a2c614bfb60d99bc9629f73fe1707df505ce2d.tar.xz
Merge pull request #372 from bebehei/notification
Improvements to Linux notification manager
Diffstat (limited to 'src/notifications')
-rw-r--r--src/notifications/ManagerLinux.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/notifications/ManagerLinux.cpp b/src/notifications/ManagerLinux.cpp

index 34bfeb8a..d3901c52 100644 --- a/src/notifications/ManagerLinux.cpp +++ b/src/notifications/ManagerLinux.cpp
@@ -53,7 +53,7 @@ NotificationsManager::showNotification(const QString summary, const QImage image) { QVariantMap hints; - hints["image_data"] = image; + hints["image-data"] = image; QList<QVariant> argumentList; argumentList << "nheko"; // app_name argumentList << (uint)0; // replace_id @@ -62,7 +62,7 @@ NotificationsManager::showNotification(const QString summary, argumentList << text; // body argumentList << (QStringList("default") << "reply"); // actions argumentList << hints; // hints - argumentList << (int)0; // timeout in ms + argumentList << (int)-1; // timeout in ms static QDBusInterface notifyApp("org.freedesktop.Notifications", "/org/freedesktop/Notifications",