pre-activate
The pre-activate signal is emitted before action is activated. This signal is intended for applications to get notification before any action is activated. Two items, the GtkUIManager instance and the action are passed to a registered callback.
Callback function