Re: right clicking
- From: tpgww@xxxxxxxxxxx
- To: emelfm2@xxxxxxxxxxxxx
- Date: Thu, 14 Oct 2004 17:24:38 +1000
On Sun, 10 Oct 2004 01:25:37 -0500
Reboant <reboant@xxxxxxxxxx> wrote:
> Is it possible to set this menu up so that I can left
> click for mounting and right click the same listing for unmounting?
Possible, but a bit complicated. In any case, the key part of an event response
is the backend 'handler', of course. If not 2 buttons + 2 handlers, why not
just have your button run a simple script like (in bash-speak):
MYMOUNTPOINT=$1
if [ -d MYMOUNTPOINT ]; then
mount MYMOUNTPOINT
else
umount MYMOUNTPOINT
fi
Regards.
--
Users can unsubscribe from the list by sending email to
emelfm2-request@xxxxxxxxxxxxx with 'unsubscribe' in the subject field or by
logging into the web interface.
- References:
- right clicking
- From: Reboant
Other related posts:
- » right clicking
- » Re: right clicking
- » Re: right clicking
- right clicking
- From: Reboant