We have moved to a new Sailfish OS Forum. Please start new discussions there.
6

Custom notification categories vs. harbour rules

asked 2016-08-31 00:09:20 +0300

As we are allowed to use the notification system of SFOS, how can we install custom notification categories for our apps? Currently, the RPM validator is not amused about the install location "/usr/share/lipstick/notificationcategories".

The problem is, that I want to use the "small" notification banner with an custom icon. The only way to add an icon to that banner is through the property "x-nemo-icon", which in turn can only be set via config file, and not through the QML API.

What is the supposed way to do this? Maybe the QML API is buggy, so that it in fact should set x-nemo-icon, too? Or maybe I miss something else?

edit retag flag offensive close delete

1 Answer

Sort by » oldest newest most voted
3

answered 2016-08-31 08:16:53 +0300

Umfortunately there's currently no official harbour way to set your own notification categories. You have to use the predefined ones which hopefully fit your needs.

edit flag offensive delete publish link more

Comments

Are you a employee at Jolla?

ejjoman ( 2016-09-05 20:48:40 +0300 )edit

No I'm not.

Armadillo ( 2016-09-05 20:56:03 +0300 )edit

i would like to see that put into their apk dev kits!

DarkTuring ( 2016-11-30 23:08:35 +0300 )edit
Login/Signup to Answer

Question tools

Follow
1 follower

Stats

Asked: 2016-08-31 00:09:20 +0300

Seen: 285 times

Last updated: Aug 31 '16