[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Recent document menu added
From:       Stephan Kulow <coolo () kde ! org>
Date:       1999-10-20 8:56:49
[Download RAW message or body]

Mosfet wrote:
> 
> Okay, I've added the recent document support to KFileBaseDialog and
> kicker as I described earlier. When a file is opened a .desktop file is
> created. Currently it's in localdir/share/apps/RecentDocuments. This
> will certainly have to change, but I'm not sure where to put it. I don't
> want to put it in the main home directory. Maybe the desktop? Anyways,
> it's a application applnk that runs the application with the opened file
> as an argument. This avoids the associtated mimetype problem I described
> earlier, works with Konqi, and is easier anyways. There is a
> configurable maximum number of entries, then it starts deleting old
> ones. If you open a file already pointed to in the recent directory it
> is just moved to the top of the list. Also, with the multiselection
> getFileNames() only the last files up to the maximum number of entires
> are added. You of course can shut the whole thing off too ;-)
> 
> To configure it edit [RecentDocuments] in kdeglobals. The keys are:
> UseRecent=bool #enables or disables recent menu support (default true)
> MaxEntries=num #maximum recent documents (default ten)
> 
> The one problem I had is with the default icon for the filetype. We
> can't get this AFAIK without either accessing the registry via kded or
> loading the registry manually. Since neither is acceptable to do in all
> applications I just used the document icon. Sorry ;-)
> 
I will change that as soon as ksycoca replaced libkio and then the
file dialog will hopefully display mimetype icons

Greetings, Stephan

-- 
As long as Linux remains a religion of freeware fanatics,
Microsoft have nothing to worry about.  
                       By Michael Surkan, PC Week Online

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic