Ask user to confirm
Chris Brault
groundhog3000 at yahoo.com
Mon Jan 19 11:18:37 CET 2004
Well,
You can put any command in that box.
You could write a script and run it in xterm. Or
pop-up a dialog box and parce the response in a
script. I don't think Xfce has anything built in for
that except the log out dialog box.
Personally, I would put together a pyGTK dialog in an
hour or so for something like that.
> if i write my own menu.xml, whould it be possible
> the display a box,
> on which the user can confirm or decline something,
> e.g.
>
> <menu name="Shutdown" cmd="sudo halt">
>
> If the user click on Shutdown, he will be asked if
> he is sure.
__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
More information about the Xfce
mailing list