diff options
author | Ratchanan Srirattanamet <ratchanan@ubports.com> | 2022-06-23 17:03:29 +0700 |
---|---|---|
committer | Ratchanan Srirattanamet <ratchanan@ubports.com> | 2022-06-23 17:04:53 +0700 |
commit | eff77527efd7758260dcca5529941baa6d4968e7 (patch) | |
tree | d50b8fa5ffbc5a17701a8ca90def326e20eb903c /src/guest.h | |
parent | 95096378859bb57398be70a9bc51eb923ba732b5 (diff) | |
download | ayatana-indicator-session-eff77527efd7758260dcca5529941baa6d4968e7.tar.gz ayatana-indicator-session-eff77527efd7758260dcca5529941baa6d4968e7.tar.bz2 ayatana-indicator-session-eff77527efd7758260dcca5529941baa6d4968e7.zip |
src/service.c: don't try to show any lockscreen shortcut on Lomiri
Lomiri itself doesn't read any schema for the lockscreen [1]. It also
won't show the "accel" or shortcut property of a GMenuItem [2]. Thus, I
think it's not worth it to add a schema in lomiri-schemas just to be
ignored by Lomiri both ways. As such, remove the functionality to read
a shortcut for lockscreen on Lomiri.
While we're at it, also make sure that `p->keybinding_settings` is
initialized even if it's on non of the recognized DE.
[1] https://gitlab.com/ubports/development/core/lomiri/-/blob/main/qml/Components/Dialogs.qml#L121-124
[2] https://gitlab.com/ubports/development/core/lomiri/-/blob/main/qml/Panel/Indicators/IndicatorMenuItemFactory.qml
Diffstat (limited to 'src/guest.h')
0 files changed, 0 insertions, 0 deletions