Openbox actions can have a prompt specified, which brings up a dialog box displaying the message with a Yes/No button. I use prompts for shutdown, restart, and suspend actions, for example. Currently, I have to add these prompts in manually after generating the menu. It would be nice if prompts could be put in schema.pl instead as an optional 4th argument for an item. The syntax for the prompt in menu.xml is:
<item ...><action ...><command>...</command><prompt>Message text</prompt></action><item>
Openbox actions can have a prompt specified, which brings up a dialog box displaying the message with a Yes/No button. I use prompts for shutdown, restart, and suspend actions, for example. Currently, I have to add these prompts in manually after generating the menu. It would be nice if prompts could be put in schema.pl instead as an optional 4th argument for an item. The syntax for the prompt in menu.xml is:
<item ...><action ...><command>...</command><prompt>Message text</prompt></action><item>