https://bugs.kde.org/show_bug.cgi?id=474496
Bug ID: 474496
Summary: API to get desktop file name in snap
Classification: Frameworks and Libraries
Product: frameworks-kcoreaddons
Version: unspecified
Platform: Snap
OS: Linux
Status: REPORTED
Severity: wishlist
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
SUMMARY
I've found this logic in libnotify commited by a Canonical folk:
https://github.com/GNOME/libnotify/commit/961f45f44c11a7cada11f44bbce1ea8a9eaf5982
Would be nice to have something like KSandbox::snapDesktopFileName() so
applications using KCoreAddons can do something like
if (KSandbox::isSnap()) {
QGuiApplication::setDesktopFileName(KSandbox::snapDesktopFileName());
}
And have proper .desktop association in snap.
--
You are receiving this mail because:
You are watching all bug changes.