[prev in list] [next in list] [prev in thread] [next in thread]
List: kfm-devel
Subject: Re: Bug#2155: Autostart executes backup files (file~)
From: "Yves Arrouye" <yves () realnames ! com>
Date: 1999-10-16 22:04:56
[Download RAW message or body]
David,
You may want to add #*# files too (autosave).
Yves.
----------
>From: David Faure <faure@kde.org>
>To: kfm-devel@master.kde.org
>Subject: Re: Bug#2155: Autostart executes backup files (file~)
>Date: Sat, Oct 16, 1999, 3:38 PM
>
> On Sat, Oct 16, 1999 at 11:11:46PM +0200, Simon Hausmann wrote:
>>
>> This *untested* 2-line patch might help for kdesktop.
>>
>> Ciao,
>> Simon (..too lazy to compile kdesky right now ;-)
>
> He was referring to kfm, and I already implemented it for kdesktop,
> the kregistry/ksycoca way (*~, *.bak, %*%) :
>
> for (; it != end; ++it )
> {
> // Don't execute backup files
> if ( (*it).right(1) != "~" && (*it).right(4) != ".bak" &&
> ( (*it)[0] != '%' || (*it).right(1) != "%" ) )
> (void) new KRun( (*it).prepend( QString::fromLatin1( "file:" ) +
> dir.absPath() + '/' ), 0, true );
> }
>
> (not committed since my kio is screwed up currently)
>
> --
> David FAURE
> david@mandrakesoft.com, faure@kde.org
> http://home.clara.net/faure/
> KDE, Making The Future of Computing Available Today
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic