[SailfishDevel] Event view notifications app name
Matthias Fehring
buschmann at huessenbergnetz.de
Sun Sep 27 10:55:10 UTC 2015
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-bounces at lists.sailfishos.org
> [devel-bounces at lists.sailfishos.org] on behalf of Matthias Fehring
> [buschmann at huessenbergnetz.de] Sent: Saturday, September 26, 2015 1:20 AM
> To: devel at 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-unsubscribe at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20150927/5605c6a0/attachment.pgp>
More information about the Devel
mailing list