At 25.04.2012 00:36, Jim Ursetto wrote:
On Apr 24, 2012, at 3:40 PM, Hans Breuer wrote:
This is not the way backward compatibility is handled in Dia. The
right behaviour would be to initialize to the previous default without
any warning whatsoever.
OK. But I don't see how to set the default value for a missing optional
property. It seems to set to the object creation default, which will be
whatever the current default start arrow is at load time; this is
obviously wrong. I need to override this to "no arrow" when loading an
old file. Suggestions?
Look at e.g. http://git.gnome.org/browse/dia/commit/?id=aeb71aca
for an example.
Still I'm not convinced that an extra start arrow is an improvement at all.
-------- Hans "at" Breuer "dot" Org -----------
Tell me what you need, and I'll tell you how to
get along without it. -- Dilbert
_______________________________________________
dia-list mailing list
dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia