Re: [Lazarus] Feature Request: Disable/clear the "Recent files" and "Recent projects" lists

2016-03-28 Thread Mattias Gaertner

> Ondrej Pokorny  hat am 28. März 2016 um 20:25 geschrieben:
> 
> On 28.03.2016 18:14, max.lemradt2 wrote:
> 
> > I'd like to be able to disable or clear the "Recent files" and "Recent
> > projects" lists, e. g. for privacy reasons.
> 
> I will probably never use it but if you need it, feel free to create 
> such a function and send a patch to mantis. A good place would be to 
> create a button in Options -> Environment -> Files.

I guess he needs a button to wipe out all history lists. Not just projects and
files.

Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Feature Request: Disable/clear the "Recent files" and "Recent projects" lists

2016-03-28 Thread Mattias Gaertner

> "max.lemradt2"  hat am 28. März 2016 um 18:14
> geschrieben:
> 
> Hello,
> 
> I'd like to be able to disable or clear the "Recent files" and "Recent
> projects" lists, e. g. for privacy reasons.

One solution:
Start the IDE, configure it to your liking.
Close it and remove the  element in ~/.lazarus/environmentoptions.xml
and any other option you don't want to publish.
Copy the environmentoptions.xml and editoroptions.xml files to /etc/lazarus/.
These are the templates used when the IDE starts.

After closing the IDE or before you log out delete the ~/.lazarus directory.

Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Feature Request: Disable/clear the "Recent files" and "Recent projects" lists

2016-03-28 Thread Ondrej Pokorny

On 28.03.2016 18:14, max.lemradt2 wrote:

I'd like to be able to disable or clear the "Recent files" and "Recent 
projects" lists, e. g. for privacy reasons.


I will probably never use it but if you need it, feel free to create 
such a function and send a patch to mantis. A good place would be to 
create a button in Options -> Environment -> Files.


Ondrej

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Feature Request: Disable/clear the "Recent files" and "Recent projects" lists

2016-03-28 Thread max.lemradt2
Hello,

I'd like to be able to disable or clear the "Recent files" and "Recent
projects" lists, e. g. for privacy reasons. All I could find was someone
suggesting to rename the file, then click on the item in the list, which
makes it disappear because Lazarus cannot find the file, then rename the
file again to its original name.

Setting "Tools - Options - Environment - Files" "Max recent files" and/or
"Max recent project files" to 0 (zero) doesn't help.

I'm using Lazarus 1.6 2016-02-14 SVN Revision 51630 i386-win32-win32/win64.

Thanks,
Max



--
View this message in context: 
http://free-pascal-lazarus.989080.n3.nabble.com/Feature-Request-Disable-clear-the-Recent-files-and-Recent-projects-lists-tp4047846.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus