With the Plasma notification rewrite the name passed with the notification is user-visible, so use "Falkon" instead of "falkon here". Also pass the desktop entry. This allows Plasma to embed the app icon in the notification
Details
- Reviewers
drosca - Group Reviewers
Falkon - Commits
- R875:e3cca98e0dc4: Fix name and set desktop entry for notifications
Before:
After:
Diff Detail
- Repository
- R875 Falkon
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
+1
The spec has always said about the app_name field:
This should be the application's formal name, rather than some sort of ID. An example would be "FredApp E-Mail Client," rather than "fredapp-email-client."
src/lib/notifications/desktopnotificationsfactory.cpp | ||
---|---|---|
94 | Saw by accident: Beware that this might be with or without ".desktop" suffix in reality (cmp. recent discussion with quassel) ;) No idea what value is expected here, you might to chop or append as needed. > https://bugreports.qt.io/browse/QTBUG-75521 |
src/lib/notifications/desktopnotificationsfactory.cpp | ||
---|---|---|
94 | It is set without the suffix here https://cgit.kde.org/falkon.git/tree/src/lib/app/mainapplication.cpp#n119 So I can safely assume I get it without suffix, can I? |
src/lib/notifications/desktopnotificationsfactory.cpp | ||
---|---|---|
94 | Oops, my bad, had missed this was for Falkon and not some lib, was confused after having scanned some things and just made a drive-by comment. |