Parent: 773cce6b378ddcb486318e6edd458ade0f28eb16
Author: Bastien Nocera <hadess@hadess.net>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2025-05-13 19:52:56
Tree: 1424dc1e0ea1307f58977f61751a026bb049e542
shared/shell: Add pre_run menu callback This callback will be called every time the menu is called, and can be used to make sure that, for example, a D-Bus connection, is setup for the menu to use. This means that it is now possible to install a menu without setting up a D-Bus connexion, but still have access to that connexion when the menu is activated.
Diffstat
| M | src/shared/shell.c | | | 9 | +++++++++ |
| M | src/shared/shell.h | | | 2 | ++ |
2 files changed, 11 insertions(+), 0 deletions(-)