enhance KRecentFilesAction with a ui action to remove entries

Richard Moore richmoore44 at gmail.com
Wed Mar 11 22:00:28 GMT 2009


On Wed, Mar 11, 2009 at 9:46 PM, Christoph Pfister
<christophpfister at gmail.com> wrote:
> v2 of the patch:
> - renamed *enable to *visible
> - replaced "Remove all entries" by "Clear list"
> - only show the clear action if the list isn't empty
> - internal: don't delete / reconstruct the special actions, instead
> use setVisible
> - internal: do not put the special actions into selectableActionGroup,
> as the code assumes that those actions are recent actions (e.g. for
> maxItems calculation and in saveEntries)

I like the concept behind this patch, and I think the "clear list"
text is a better way to put it. If the implementation is sane (I
haven't checked that) then I think it's a valuable improvement.

Rich.




More information about the kde-core-devel mailing list