Re: Automaticall open new diagram
- From: larsrc raeder dk
- To: "discussions about usage and development of dia" <dia-list gnome org>
- Subject: Re: Automaticall open new diagram
- Date: Thu, 25 Nov 2004 18:44:06 +0100 (CET)
Octavio Alvarez Piza sagde:
On Thu, 25 Nov 2004 12:54:33 +0100 (CET)
larsrc raeder dk 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]