[patch #6200] delete in history lists
me
INVALID.NOREPLY at gnu.org
Sun Sep 16 15:50:35 UTC 2007
URL:
<http://savannah.gnu.org/patch/?6200>
Summary: delete in history lists
Project: GNU Midnight Commander
Submitted by: me4mc
Submitted on: Sunday 09/16/2007 at 15:50
Category: None
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
adds a callback key handler and uses the
message-value B_USER + 1 on delete key
the show hist function now handles the keys in a loop. this checks for cancel
or the delete-key.
on delete the g_list 'history' is modified
the data of the lisbox_get_current and the g_list->entry->data are compared
and decide if the item gets dropped
when the g_list is in the new state the current is removed from the visible
listbox and the listbox decides to display the new current.
if there is no entry left the box closes.
i am used to std::vectors but like to know more about that g_lists. my
searches turned up very little information. any hints?
please report code indent problems
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sunday 09/16/2007 at 15:50 Name: mc-cvs-historydelete.patch Size: 3kB
By: me4mc
<http://savannah.gnu.org/patch/download.php?file_id=13960>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/patch/?6200>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
More information about the mc-devel
mailing list