[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: parenting (patch)



On Fri, 27 Jun 2003, Vadim Berezniker wrote:

> Date: Fri, 27 Jun 2003 03:59:25 -0400
> From: Vadim Berezniker <vadim@berezniker.com>
> Reply-To: dia-list@gnome.org
> To: dia-list@gnome.org
> Subject: parenting (patch)
>
> This is a patch for the idea that I mentioned a bit ago.
>
> I need it for the stuff I'm working on... I just dived into the dia
> code, so I may not have had the best knowledge of the internals.
> I'll be glad to make any changes that are required ...
>
> After applying this patch, dia should act exactly as it did before, as
> parenting is disabled by default.
>
> If you wanna play around with this, apply the patch, then edit
> objects/standard/box.c and change "BOX_CAN_PARENT FALSE" to
> "BOX_CAN_PARENT_TRUE" and recompile. From that point, you'll be able to
> add children to any box object.
>
> I'm also including 2 sample (silly) diagrams that make use of parenting
> for no reason whatsoever :)

I am not sure what I am supposed to see but i opened p.dia in Dia 0.91 and
all I got was a lone rectangle.
I did not expect much because I had not applied the patch but I wanted to
make the point if a Dia user has a patched version and send this file to a
user who has not applied the patch the resutls probably wont be very
pleasant.
Hopefully this patch can be included in the next version of Dia.

This once again reminds me that I should probably add a tag
for dia:version=""
and the sooner the better.
The sooner Dia can warn users of older versions
that documents came from a newer version and they need to upgrade (or risk
documents not displaying correctly) the better.
This is is especially useful and you will realise why if you have ever
moved a Dia document between two copies that dont have all the same shape
files available and chunks of your diagram have gone missing.

So much to do, so little time
(Abiword and Gnumeric will probably be releasing beautiful new versions
within a month or two would be nice to be able to do even a very minor
release in the next few months).

Alan Horkan
http://advogato.org/person/AlanHorkan/





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] Mail converted by Mofo Magic and the Flying D

 
All trademarks and copyrights are the property of their respective owners.

Other Directory Sites: SeekWonder | Directory Owners Forum

GuideSMACK