<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Sean,<br>
I think I have this fixed.<br>
<br>
Basically, _windowProperties and the _vergil* attributes should only
be set if the model is non-empty.<br>
My way of detecting a non-empty model is to count the number of
Entities. "Empty" models have<br>
zero Entities. There might be a better way. Models that have
Attributes such as _windowProperties<br>
but have no Entities are considered empty.<br>
<br>
Edward also noticed some issues with closing prompting for save,
hopefully my changes will fix this.<br>
<br>
Let me know if there are problems.<br>
<br>
_Christopher<br>
<br>
<div class="moz-cite-prefix">On 8/20/12 10:38 AM, Christopher Brooks
wrote:<br>
</div>
<blockquote cite="mid:50327613.2010903@eecs.berkeley.edu"
type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
This probably has to do with a change I made to fix a bug where
the window layout is not saved on close.<br>
I'll take a look, though I'm in a meeting all day so probably
won't get much done with this today.<br>
<br>
_Christopher<br>
<br>
<div class="moz-cite-prefix">On 8/20/12 10:36 AM, Sean Riddle
wrote:<br>
</div>
<blockquote
cite="mid:CAAjdown8LCJBS+9HKQEEZ1FX7L=k0rbnSdOHEtELWzKN_K0BNg@mail.gmail.com"
type="cite">Hi all,
<div><br>
</div>
<div>I just noticed something new when I updated Kepler and
wanted to see if it was happening for others too. When I start
Kepler and then immediately close the canvas, it doesn't just
close the window, it asks whether you want to save. That
shouldn't happen, right? I've made a number of changes to my
working copy, so it could just be something I did, but I
figured I should check.</div>
<div><br>
</div>
<div>- Sean</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Kepler-dev mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Kepler-dev@kepler-project.org">Kepler-dev@kepler-project.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev">http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Christopher Brooks, PMP University of California
CHESS Executive Director US Mail: 337 Cory Hall
Programmer/Analyst CHESS/Ptolemy/Trust Berkeley, CA 94720-1774
ph: 510.643.9841 (Office: 545Q Cory)
home: (F-Tu) 707.665.0131 cell: 707.332.0670 </pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Kepler-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Kepler-dev@kepler-project.org">Kepler-dev@kepler-project.org</a>
<a class="moz-txt-link-freetext" href="http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev">http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Christopher Brooks, PMP University of California
CHESS Executive Director US Mail: 337 Cory Hall
Programmer/Analyst CHESS/Ptolemy/Trust Berkeley, CA 94720-1774
ph: 510.643.9841 (Office: 545Q Cory)
home: (F-Tu) 707.665.0131 cell: 707.332.0670 </pre>
</body>
</html>