Octavio Alvarez Piza sagde: > On Thu, 25 Nov 2004 12:54:33 +0100 (CET) > [EMAIL PROTECTED] wrote: > >> Gnumeric, for instance, already does this. It'd be easy to have a >> 'virtual' flag on a diagram, meaning it can be opened into if it is not >> yet modified. Patches very welcome. > > Hi. Why not a "dirty" flag? There might be one already there; I don't > remember if Dia asks me to save the file before closing if it was > changed since opened.
It's there, in fact it's a bit more complex than just a flag by now: We can actually notice that changes have been undone and mark it non-modified. The check is diagram_modified(Diagram), AFAIR. The 'virtual' flag is to indicate that this is a starting diagram that can be loaded into. Wouldn't want a user to explicitly make a new diagram and then open another, only to find that the opened diagram 'ate' the new diagram. -Lars _______________________________________________ Dia-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/dia-list FAQ at http://www.gnome.org/projects/dia/faq.html Main page at http://www.gnome.org/projects/dia
