Re: [SailfishDevel] Event view notifications app name
Hey Matt, big thank you for pointing me to the right docs. :) Best greetings Matthias Am Samstag, 26. September 2015, 21:54:57 schrieb Matthew Vogt: > Hi Mattias, > > Your app's notifications are grouped according to the 'appName' property > they supply at submission (if not provided, it will default to the name > from your .desktop file, or the process name if necessary). > > If you have the new SDK, the notification docs should be available in > creator, otherwise the documentation source available here: > https://github.com/nemomobile/lipstick/blob/master/doc/src/notifications.do > x > > SailfishOS is no longer using MNotification, although client applications > could use it, or any other way to formulate notifications conforming to the > Desktop Notifications Specification, defined here: > https://people.gnome.org/~mccann/docs/notification-spec/notification-spec-l > atest.html > > You could use the libnemonotifications library (in the > nemo-qml-plugnin-notifications package), which provides this class for > formulating notifications: > https://sailfishos.org/develop/docs/nemo-qml-plugin-notifications/libnemono > tifications-notification.html/ > > Thanks, > Matt > > From: devel-boun...@lists.sailfishos.org > [devel-boun...@lists.sailfishos.org] on behalf of Matthias Fehring > [buschm...@huessenbergnetz.de] Sent: Saturday, September 26, 2015 1:20 AM > To: devel@lists.sailfishos.org > Subject: [SailfishDevel] Event view notifications app name > > Hello list, > > since Sailfish OS 1.1.9.28, notifications are grouped by the notificating > application on the event view. I do not use MNotificationGroup. The "header" > for my notifications is the name of my app's executable, what is not really > nice. Is there a way to set this name? > > In the sources of mlite it seems to me, that it generally useses the app's > executable name via QFileInfo(QCoreApplication::arguments()[0]).fileName() > [0] > > Best greetings > Matthias > > [0] > https://github.com/nemomobile/mlite/blob/master/src/mnotification.cpp#L281 > > -- > Das Gesetz hat zum Schneckengang verdorben, was Adlerflug geworden wäre. > (Friedrich Schiller - Die Räuber) > > Und der Buschfunk spielt gerade "Lieblingsstück" von "Crash Casino". > > www.buschmann23.de > GPG-Key: 0x614C3258 > GPG Fingerprint: B770 E0D0 69CF BFC1 5FE1 D78E 3A70 A936 614C 3258 > ___ > SailfishOS.org Devel mailing list > To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org -- Das Gesetz hat zum Schneckengang verdorben, was Adlerflug geworden wäre. (Friedrich Schiller - Die Räuber) Und der Buschfunk spielt gerade "Noots" von "Sum 41". www.buschmann23.de GPG-Key: 0x614C3258 GPG Fingerprint: B770 E0D0 69CF BFC1 5FE1 D78E 3A70 A936 614C 3258 signature.asc Description: This is a digitally signed message part. ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] Event view notifications app name
Hi Mattias, Your app's notifications are grouped according to the 'appName' property they supply at submission (if not provided, it will default to the name from your .desktop file, or the process name if necessary). If you have the new SDK, the notification docs should be available in creator, otherwise the documentation source available here: https://github.com/nemomobile/lipstick/blob/master/doc/src/notifications.dox SailfishOS is no longer using MNotification, although client applications could use it, or any other way to formulate notifications conforming to the Desktop Notifications Specification, defined here: https://people.gnome.org/~mccann/docs/notification-spec/notification-spec-latest.html You could use the libnemonotifications library (in the nemo-qml-plugnin-notifications package), which provides this class for formulating notifications: https://sailfishos.org/develop/docs/nemo-qml-plugin-notifications/libnemonotifications-notification.html/ Thanks, Matt From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf of Matthias Fehring [buschm...@huessenbergnetz.de] Sent: Saturday, September 26, 2015 1:20 AM To: devel@lists.sailfishos.org Subject: [SailfishDevel] Event view notifications app name Hello list, since Sailfish OS 1.1.9.28, notifications are grouped by the notificating application on the event view. I do not use MNotificationGroup. The "header" for my notifications is the name of my app's executable, what is not really nice. Is there a way to set this name? In the sources of mlite it seems to me, that it generally useses the app's executable name via QFileInfo(QCoreApplication::arguments()[0]).fileName() [0] Best greetings Matthias [0] https://github.com/nemomobile/mlite/blob/master/src/mnotification.cpp#L281 -- Das Gesetz hat zum Schneckengang verdorben, was Adlerflug geworden wäre. (Friedrich Schiller - Die Räuber) Und der Buschfunk spielt gerade "Lieblingsstück" von "Crash Casino". www.buschmann23.de GPG-Key: 0x614C3258 GPG Fingerprint: B770 E0D0 69CF BFC1 5FE1 D78E 3A70 A936 614C 3258 ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
[SailfishDevel] Event view notifications app name
Hello list, since Sailfish OS 1.1.9.28, notifications are grouped by the notificating application on the event view. I do not use MNotificationGroup. The "header" for my notifications is the name of my app's executable, what is not really nice. Is there a way to set this name? In the sources of mlite it seems to me, that it generally useses the app's executable name via QFileInfo(QCoreApplication::arguments()[0]).fileName() [0] Best greetings Matthias [0] https://github.com/nemomobile/mlite/blob/master/src/mnotification.cpp#L281 -- Das Gesetz hat zum Schneckengang verdorben, was Adlerflug geworden wäre. (Friedrich Schiller - Die Räuber) Und der Buschfunk spielt gerade "Lieblingsstück" von "Crash Casino". www.buschmann23.de GPG-Key: 0x614C3258 GPG Fingerprint: B770 E0D0 69CF BFC1 5FE1 D78E 3A70 A936 614C 3258 signature.asc Description: This is a digitally signed message part. ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org