Re: yes/no dialog
- From: "Sridhar Ratna" <srid nearfar org>
- To: "Manfred Lotz" <manfred lotz arcor de>
- Cc: sawfish-list gnome org
- Subject: Re: yes/no dialog
- Date: Sun, 22 Oct 2006 10:11:52 +0530
On 10/22/06, Manfred Lotz <manfred lotz arcor de> wrote:
Hi there,
It happens that I accidentally click the Quit item on the main menu.
Therefore I like to change that item by adding a dialog which displays:
Do you really want to quit Sawfish? and offering a Yes/No choice.
Could anybody tell me how I can create such a dialog?
You can override the menu definitions. Read about it here,
http://home.blarg.net/~sand/sawfish/v0.11/sawfish/Popup-Menus.html
For the dialog logic, you can use Xdialog or even better zenity,
http://directory.fsf.org/zenity.html
--
http://www.nearfar.org/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]