confirm deleting from hotlist
Jindrich Novy
jnovy at redhat.com
Mon Nov 15 09:02:23 UTC 2004
Hello Oswald,
On Sat, 2004-11-13 at 10:48 +0100, Oswald Buddenhagen wrote:
> moin,
>
> it happens quite often that i accidentally delete items from the hotlist
> - take the wrong angle when blindly moving up from the cursor block, and
> you hit del instead of enter.
> i think it would make sense if the hotlist obeyed the "confirm delete"
> option as well.
> alternatively, don't make del the delete action (but use f8 instead),
> but i think this sucks more.
The attached patch adds dialog prompting an user to confirm removal of
selected entry. It also introduces the "Don't ask" button. When pressed,
it deletes actual entry and user won't be prompted for entry deletion
any more so the 'del' key will act in the same fashion as up to now.
greetings,
Jindrich Novy
--
Jindrich Novy <jnovy at redhat.com>, http://people.redhat.com/jnovy/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mc-CVS-20041115-hotdel.patch
Type: text/x-patch
Size: 1073 bytes
Desc: not available
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20041115/8f189245/attachment.bin>
More information about the mc-devel
mailing list