Subject: Re: Is there some shape repository for dia ?
Date: 06 Aug 2002 15:29:29 -0500
On Tue, 6 Aug 2002, Cyrille Chepelov wrote:
> Le Tue, Aug 06, 2002, à 03:19:22PM -0500, Lars Clausen a écrit:
>
>> > Why not "watching" the shape repository and load newcomers dynamically
>> > ? WindowMaker can watch the changes in its config file. Why not Dia
>> > watching for changes in its shape directory.
>>
>> I suppose it could do that. But then we have a synchronization problem
>> -- we wouldn't want to load half-way written files.
>
> we avoid files in .shape.dpkg-new, then. We can try games like
> lsof(1)'ing the file (unless we need root), etc.
>
> (and the equivalent for RPM).
I don't like the idea of hacking around individual package management
systems. I'd rather have a menu item 'Reload shapes' or something.
-Lars
--
Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause)| Hårdgrim of Numenor
"I do not agree with a word that you say, but I |----------------------------
will defend to the death your right to say it." | Where are we going, and
--Evelyn Beatrice Hall paraphrasing Voltaire | what's with the handbasket?