This will be easier to maintain then the macro if we want to
extend it in the feature. Also cache the value, since it
will not change during runtime of the panel.
This function was designed to check if the plugin
runs in kiosk mode, but as an alternative there is now
xfce_panel_plugin_get_locked() and plugins should
implement this on their own (I even think nobody
used the function).
The old xfce_allow_panel_customization() is now a
macro that defaults to FALSE.
Each panel can be locked individually though Xfconf and
new API function xfce_panel_plugin_get_locked() for plugins;
although it might be safer for plugins to directly check the
Xfconf channel.
This allows to send messages to plugins using the (hidden)
xfce4-panel command line option
--plugin-event=plugin-name:name:type:value. This can for
example be used to popup a plugin menu from a script.
Plugins running in a wrapper don't support the boolean return
value yet.