KRecentFilesAction improvement

Andras Mantia amantia at kde.org
Sun May 22 19:48:37 BST 2005


On Sunday 22 May 2005 17:58, David Faure wrote:
> On Tuesday 10 May 2005 13:02, Andras Mantia wrote:
> > Hi,
> >
> >  I suggest the following improvement for KRecentFilesAction: be
> > able to specify a nice name for the entries when an URL is added.
> > Useful in case of projects, but also for single files as well. If
> > such a name is specified the entry will look like:
> > Name [url]
>
> Well the idea sounds good, but the patch will be buggy in case of
> filenames which are of the form "foo [bar]" in the first place. The
> menu will then try to open "foo", which doesn't exist. Border case,
> but I thought I'd mention it just in case :)

I knew that I miss something with this solution. ;-)

> A KDE-4.0 solution is to escape '[' in filenames..... or to switch to
> the currently-elaborated XDG standard
> http://devel.emmanuelebassi.net/papers/bookmark-spec-0.5.html which
> supports naming the entries (since it's based on XBEL, at my
> request).

I will try to find another way to implement it. BTW, I would be much 
happier if I could put italic or bold text in the menu, it would look 
more professional.

Andras


-- 
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20050522/a2ce18bb/attachment.sig>


More information about the kde-core-devel mailing list