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
Re: [SailfishDevel] How to use Insomniac?
I don't think so, my insomniac.pro is identical. 2015-09-26 16:23 GMT+03:00 Andrey Kozhevnikov : > missed whole installs from > https://github.com/tanghus/kitchen-timer-qml/blob/master/src/insomniac/insomniac.pro > ? > > -- Исходное сообщение -- > От: "Jollailija Developer" > Кому: "Sailfish OS Developers" > Отправлено: 26.09.2015 18:22:22 > Тема: Re: [SailfishDevel] How to use Insomniac? > > > Like, seriously, just gimme a break. Ques what? I think I missed something: > > [W] unknown:32 - > file:///opt/sdk/harbour-simplestopwatch/usr/share/harbour-simplestopwatch/qml/harbour-simplestopwatch.qml:32:1: > module "harbour.simplestopwatch.insomniac" is not installed > > import harbour.simplestopwatch.insomniac 1.0 > > > How do I fix it? What did I miss? > > ^ > > 2015-09-26 16:11 GMT+03:00 Jollailija Developer : > >> Phew, I think I did it! It now builds without errors and deploys nicely >> into the emulator. I'll build it for the phone and test it out (but before >> that write the QML code using it, duh), but so far so good. Thanks for your >> help! This is why I love (developing for) Sailfish so much, there are >> always some helpful people in case you don't manage to do something on your >> own. Thanks again! >> >> 2015-09-26 15:56 GMT+03:00 Andrey Kozhevnikov : >> >>> check >>> https://github.com/tanghus/kitchen-timer-qml/blob/master/harbour-kitchentimer.pro >>> and https://github.com/tanghus/kitchen-timer-qml/blob/master/src/src.pro >>> carefully >>> >>> -- Исходное сообщение -- >>> От: jollail...@gmail.com >>> Кому: devel@lists.sailfishos.org >>> Отправлено: 26.09.2015 17:50:21 >>> >>> Тема: Re: [SailfishDevel] How to use Insomniac? >>> >>> How do I do that? Please remember I am a total newbie. I updated my github repository, please see builderror.txt and issues.png for more info if needed. Andrey Kozhevnikov kirjoitti la syyskuuta 26 15:26:47 2015 GMT+0300: > you should have subfolders in your project to be able to build > multiple > binaries > > -- Исходное сообщение -- > От: jollail...@gmail.com > Кому: devel@lists.sailfishos.org > Отправлено: 26.09.2015 17:24:56 > Тема: Re: [SailfishDevel] How to use Insomniac? > > > > >> > >> In harbour-simplestopwatch.pro remove or comment out the line > "CONFIG > >>+= > >> sailfishapp". > >> > >> > >> From the top of my head I can't see any other errors, other than > that > >>you > >> don't need to also add folderlistmodel, display.h/cpp and > >>qmlsettings.h/cpp > >> unless you need need them. The Insomniac plugin doesn't need them. > >> > >> -- > >> Med venlig hilsen / Best regards > >> > >> Thomas Tanghus > >> > >Tack! I think I have broken a few things while trying to solve this, > >but I will revert to an older version and try importing Insomniac > again > >following your instructions. I'll keep spamming your inbox if > something > >goes wrong :) > > > >-- > >Lähetetty Jollastani > >___ > >SailfishOS.org Devel mailing list > >To unsubscribe, please send a mail to > >devel-unsubscr...@lists.sailfishos.org > > ___ > SailfishOS.org Devel mailing list > To unsubscribe, please send a mail to > devel-unsubscr...@lists.sailfishos.or > -- Lähetetty Jollastani ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org >>> >>> ___ >>> SailfishOS.org Devel mailing list >>> To unsubscribe, please send a mail to >>> devel-unsubscr...@lists.sailfishos.org >> >> >> > > ___ > SailfishOS.org Devel mailing list > To unsubscribe, please send a mail to > devel-unsubscr...@lists.sailfishos.org > ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] How to use Insomniac?
missed whole installs from https://github.com/tanghus/kitchen-timer-qml/blob/master/src/insomniac/insomniac.pro ? -- Исходное сообщение -- От: "Jollailija Developer" Кому: "Sailfish OS Developers" Отправлено: 26.09.2015 18:22:22 Тема: Re: [SailfishDevel] How to use Insomniac? Like, seriously, just gimme a break. Ques what? I think I missed something: [W] unknown:32 - file:///opt/sdk/harbour-simplestopwatch/usr/share/harbour-simplestopwatch/qml/harbour-simplestopwatch.qml:32:1: module "harbour.simplestopwatch.insomniac" is not installed import harbour.simplestopwatch.insomniac 1.0 How do I fix it? What did I miss? ^ 2015-09-26 16:11 GMT+03:00 Jollailija Developer : Phew, I think I did it! It now builds without errors and deploys nicely into the emulator. I'll build it for the phone and test it out (but before that write the QML code using it, duh), but so far so good. Thanks for your help! This is why I love (developing for) Sailfish so much, there are always some helpful people in case you don't manage to do something on your own. Thanks again! 2015-09-26 15:56 GMT+03:00 Andrey Kozhevnikov : check https://github.com/tanghus/kitchen-timer-qml/blob/master/harbour-kitchentimer.pro and https://github.com/tanghus/kitchen-timer-qml/blob/master/src/src.pro carefully -- Исходное сообщение -- От: jollail...@gmail.com Кому: devel@lists.sailfishos.org Отправлено: 26.09.2015 17:50:21 Тема: Re: [SailfishDevel] How to use Insomniac? How do I do that? Please remember I am a total newbie. I updated my github repository, please see builderror.txt and issues.png for more info if needed. Andrey Kozhevnikov kirjoitti la syyskuuta 26 15:26:47 2015 GMT+0300: you should have subfolders in your project to be able to build multiple binaries -- Исходное сообщение -- От: jollail...@gmail.com Кому: devel@lists.sailfishos.org Отправлено: 26.09.2015 17:24:56 Тема: Re: [SailfishDevel] How to use Insomniac? > >> >> In harbour-simplestopwatch.pro remove or comment out the line "CONFIG >>+= >> sailfishapp". >> >> >> From the top of my head I can't see any other errors, other than that >>you >> don't need to also add folderlistmodel, display.h/cpp and >>qmlsettings.h/cpp >> unless you need need them. The Insomniac plugin doesn't need them. >> >> -- >> Med venlig hilsen / Best regards >> >> Thomas Tanghus >> >Tack! I think I have broken a few things while trying to solve this, >but I will revert to an older version and try importing Insomniac again >following your instructions. I'll keep spamming your inbox if something >goes wrong :) > >-- >Lähetetty Jollastani >___ >SailfishOS.org Devel mailing list >To unsubscribe, please send a mail to >devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.or -- Lähetetty Jollastani ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] How to use Insomniac?
Like, seriously, just gimme a break. Ques what? I think I missed something: [W] unknown:32 - file:///opt/sdk/harbour-simplestopwatch/usr/share/harbour-simplestopwatch/qml/harbour-simplestopwatch.qml:32:1: module "harbour.simplestopwatch.insomniac" is not installed import harbour.simplestopwatch.insomniac 1.0 How do I fix it? What did I miss? ^ 2015-09-26 16:11 GMT+03:00 Jollailija Developer : > Phew, I think I did it! It now builds without errors and deploys nicely > into the emulator. I'll build it for the phone and test it out (but before > that write the QML code using it, duh), but so far so good. Thanks for your > help! This is why I love (developing for) Sailfish so much, there are > always some helpful people in case you don't manage to do something on your > own. Thanks again! > > 2015-09-26 15:56 GMT+03:00 Andrey Kozhevnikov : > >> check >> https://github.com/tanghus/kitchen-timer-qml/blob/master/harbour-kitchentimer.pro >> and https://github.com/tanghus/kitchen-timer-qml/blob/master/src/src.pro >> carefully >> >> -- Исходное сообщение -- >> От: jollail...@gmail.com >> Кому: devel@lists.sailfishos.org >> Отправлено: 26.09.2015 17:50:21 >> >> Тема: Re: [SailfishDevel] How to use Insomniac? >> >> How do I do that? Please remember I am a total newbie. I updated my >>> github repository, please see builderror.txt and issues.png for more info >>> if needed. >>> >>> Andrey Kozhevnikov kirjoitti la syyskuuta 26 15:26:47 2015 GMT+0300: >>> you should have subfolders in your project to be able to build multiple binaries -- Исходное сообщение -- От: jollail...@gmail.com Кому: devel@lists.sailfishos.org Отправлено: 26.09.2015 17:24:56 Тема: Re: [SailfishDevel] How to use Insomniac? > >> >> In harbour-simplestopwatch.pro remove or comment out the line "CONFIG >>+= >> sailfishapp". >> >> >> From the top of my head I can't see any other errors, other than that >>you >> don't need to also add folderlistmodel, display.h/cpp and >>qmlsettings.h/cpp >> unless you need need them. The Insomniac plugin doesn't need them. >> >> -- >> Med venlig hilsen / Best regards >> >> Thomas Tanghus >> >Tack! I think I have broken a few things while trying to solve this, >but I will revert to an older version and try importing Insomniac again >following your instructions. I'll keep spamming your inbox if something >goes wrong :) > >-- >Lähetetty Jollastani >___ >SailfishOS.org Devel mailing list >To unsubscribe, please send a mail to >devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.or >>> >>> -- >>> Lähetetty Jollastani >>> ___ >>> SailfishOS.org Devel mailing list >>> To unsubscribe, please send a mail to >>> devel-unsubscr...@lists.sailfishos.org >>> >> >> ___ >> SailfishOS.org Devel mailing list >> To unsubscribe, please send a mail to >> devel-unsubscr...@lists.sailfishos.org > > > ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] How to use Insomniac?
Phew, I think I did it! It now builds without errors and deploys nicely into the emulator. I'll build it for the phone and test it out (but before that write the QML code using it, duh), but so far so good. Thanks for your help! This is why I love (developing for) Sailfish so much, there are always some helpful people in case you don't manage to do something on your own. Thanks again! 2015-09-26 15:56 GMT+03:00 Andrey Kozhevnikov : > check > https://github.com/tanghus/kitchen-timer-qml/blob/master/harbour-kitchentimer.pro > and https://github.com/tanghus/kitchen-timer-qml/blob/master/src/src.pro > carefully > > -- Исходное сообщение -- > От: jollail...@gmail.com > Кому: devel@lists.sailfishos.org > Отправлено: 26.09.2015 17:50:21 > > Тема: Re: [SailfishDevel] How to use Insomniac? > > How do I do that? Please remember I am a total newbie. I updated my github >> repository, please see builderror.txt and issues.png for more info if >> needed. >> >> Andrey Kozhevnikov kirjoitti la syyskuuta 26 15:26:47 2015 GMT+0300: >> >>> you should have subfolders in your project to be able to build multiple >>> binaries >>> >>> -- Исходное сообщение -- >>> От: jollail...@gmail.com >>> Кому: devel@lists.sailfishos.org >>> Отправлено: 26.09.2015 17:24:56 >>> Тема: Re: [SailfishDevel] How to use Insomniac? >>> >>> > >>> >> >>> >> In harbour-simplestopwatch.pro remove or comment out the line >>> "CONFIG >>> >>+= >>> >> sailfishapp". >>> >> >>> >> >>> >> From the top of my head I can't see any other errors, other than >>> that >>> >>you >>> >> don't need to also add folderlistmodel, display.h/cpp and >>> >>qmlsettings.h/cpp >>> >> unless you need need them. The Insomniac plugin doesn't need them. >>> >> >>> >> -- >>> >> Med venlig hilsen / Best regards >>> >> >>> >> Thomas Tanghus >>> >> >>> >Tack! I think I have broken a few things while trying to solve this, >>> >but I will revert to an older version and try importing Insomniac again >>> >following your instructions. I'll keep spamming your inbox if something >>> >goes wrong :) >>> > >>> >-- >>> >Lähetetty Jollastani >>> >___ >>> >SailfishOS.org Devel mailing list >>> >To unsubscribe, please send a mail to >>> >devel-unsubscr...@lists.sailfishos.org >>> >>> ___ >>> SailfishOS.org Devel mailing list >>> To unsubscribe, please send a mail to >>> devel-unsubscr...@lists.sailfishos.or >>> >> >> -- >> Lähetetty Jollastani >> ___ >> SailfishOS.org Devel mailing list >> To unsubscribe, please send a mail to >> devel-unsubscr...@lists.sailfishos.org >> > > ___ > SailfishOS.org Devel mailing list > To unsubscribe, please send a mail to > devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] How to use Insomniac?
check https://github.com/tanghus/kitchen-timer-qml/blob/master/harbour-kitchentimer.pro and https://github.com/tanghus/kitchen-timer-qml/blob/master/src/src.pro carefully -- Исходное сообщение -- От: jollail...@gmail.com Кому: devel@lists.sailfishos.org Отправлено: 26.09.2015 17:50:21 Тема: Re: [SailfishDevel] How to use Insomniac? How do I do that? Please remember I am a total newbie. I updated my github repository, please see builderror.txt and issues.png for more info if needed. Andrey Kozhevnikov kirjoitti la syyskuuta 26 15:26:47 2015 GMT+0300: you should have subfolders in your project to be able to build multiple binaries -- Исходное сообщение -- От: jollail...@gmail.com Кому: devel@lists.sailfishos.org Отправлено: 26.09.2015 17:24:56 Тема: Re: [SailfishDevel] How to use Insomniac? > >> >> In harbour-simplestopwatch.pro remove or comment out the line "CONFIG >>+= >> sailfishapp". >> >> >> From the top of my head I can't see any other errors, other than that >>you >> don't need to also add folderlistmodel, display.h/cpp and >>qmlsettings.h/cpp >> unless you need need them. The Insomniac plugin doesn't need them. >> >> -- >> Med venlig hilsen / Best regards >> >> Thomas Tanghus >> >Tack! I think I have broken a few things while trying to solve this, >but I will revert to an older version and try importing Insomniac again >following your instructions. I'll keep spamming your inbox if something >goes wrong :) > >-- >Lähetetty Jollastani >___ >SailfishOS.org Devel mailing list >To unsubscribe, please send a mail to >devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.or -- Lähetetty Jollastani ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] How to use Insomniac?
How do I do that? Please remember I am a total newbie. I updated my github repository, please see builderror.txt and issues.png for more info if needed. Andrey Kozhevnikov kirjoitti la syyskuuta 26 15:26:47 2015 GMT+0300: > you should have subfolders in your project to be able to build multiple > binaries > > -- Исходное сообщение -- > От: jollail...@gmail.com > Кому: devel@lists.sailfishos.org > Отправлено: 26.09.2015 17:24:56 > Тема: Re: [SailfishDevel] How to use Insomniac? > > > > >> > >> In harbour-simplestopwatch.pro remove or comment out the line "CONFIG > >>+= > >> sailfishapp". > >> > >> > >> From the top of my head I can't see any other errors, other than that > >>you > >> don't need to also add folderlistmodel, display.h/cpp and > >>qmlsettings.h/cpp > >> unless you need need them. The Insomniac plugin doesn't need them. > >> > >> -- > >> Med venlig hilsen / Best regards > >> > >> Thomas Tanghus > >> > >Tack! I think I have broken a few things while trying to solve this, > >but I will revert to an older version and try importing Insomniac again > >following your instructions. I'll keep spamming your inbox if something > >goes wrong :) > > > >-- > >Lähetetty Jollastani > >___ > >SailfishOS.org Devel mailing list > >To unsubscribe, please send a mail to > >devel-unsubscr...@lists.sailfishos.org > > ___ > SailfishOS.org Devel mailing list > To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.or -- Lähetetty Jollastani ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] How to use Insomniac?
you should have subfolders in your project to be able to build multiple binaries -- Исходное сообщение -- От: jollail...@gmail.com Кому: devel@lists.sailfishos.org Отправлено: 26.09.2015 17:24:56 Тема: Re: [SailfishDevel] How to use Insomniac? In harbour-simplestopwatch.pro remove or comment out the line "CONFIG += sailfishapp". From the top of my head I can't see any other errors, other than that you don't need to also add folderlistmodel, display.h/cpp and qmlsettings.h/cpp unless you need need them. The Insomniac plugin doesn't need them. -- Med venlig hilsen / Best regards Thomas Tanghus Tack! I think I have broken a few things while trying to solve this, but I will revert to an older version and try importing Insomniac again following your instructions. I'll keep spamming your inbox if something goes wrong :) -- Lähetetty Jollastani ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] How to use Insomniac?
> > In harbour-simplestopwatch.pro remove or comment out the line "CONFIG += > sailfishapp". > > > From the top of my head I can't see any other errors, other than that you > don't need to also add folderlistmodel, display.h/cpp and qmlsettings.h/cpp > unless you need need them. The Insomniac plugin doesn't need them. > > -- > Med venlig hilsen / Best regards > > Thomas Tanghus > Tack! I think I have broken a few things while trying to solve this, but I will revert to an older version and try importing Insomniac again following your instructions. I'll keep spamming your inbox if something goes wrong :) -- Lähetetty Jollastani ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] How to use Insomniac?
On Friday 25 September 2015 14:21:36 jollail...@gmail.com wrote: > I tried to import Insomniac to my Simple Stopwatch by copying the files from > https://github.com/tanghus/kitchen-timer-qml/tree/master/insomniac to > simplestopwatch/src/insomniac, replacing kitchentimer in the files with > simplestopwatch and finally using 'Add Existing Files...' in the IDE (plus > writing 'import harbour.simplestopwatch.insomniac 1.0' to the QML file). > Well, it doesn't work, building the project fails. How do I correctly > import the plugin to my project? In harbour-simplestopwatch.pro remove or comment out the line "CONFIG += sailfishapp". From the top of my head I can't see any other errors, other than that you don't need to also add folderlistmodel, display.h/cpp and qmlsettings.h/cpp unless you need need them. The Insomniac plugin doesn't need them. -- Med venlig hilsen / Best regards Thomas Tanghus A: Because it breaks the logical sequence of discussion Q: Why is top posting bad? 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