Re: Automaticall open new diagram

2004-11-25 Thread larsrc
Alan Horkan sagde:
>
> On Wed, 24 Nov 2004, Jeffrey Kern wrote:
>
>> Date: Wed, 24 Nov 2004 18:37:05 -0600
>> From: Jeffrey Kern <[EMAIL PROTECTED]>
>> To: [EMAIL PROTECTED]
>> Subject: Re: Automaticall open new diagram
>>
>> Firstly, I did not suggest that it should be remove.
>
> Sorry I wasn't clearer but I suggested it and if it turns out to be a bad
> idea I dont want to clutter things up wiht useless options and I am
> keeping an open mind to removing it if necessary.

Alan, I so agree with you there.

>> Only that there should be the option to suppress this behavior if so
>> desired.
>>
>> > If you have not specified the document you want to open, do you not
>> > usually want a new blank window instead?
>>
>> No.
>> I usually launch dia from the enlightenment menu and then click
>> File->Open and select the file(s) I wish to edit.
>
> I was thinking that at that perhaps the diagram should possibly open in
> the already open unused window at this point.  I think that could meet
> both our requirements without needing to add more options.  (This might
> have been mentioned at the time the idea was first discussed, I'd have to
> look it up to be sure though).

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.

-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



Re: Automaticall open new diagram

2004-11-25 Thread Octavio Alvarez Piza
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.
___
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



[OT] dia2code

2004-11-25 Thread Pontus Pihlgren
Hi.
We have been working with dia2code in a bigger perl project for quite 
some time now. It really eases development for us. I have implemented a 
plugin for generating perl code which works nicely for us. It is quite 
specific to our needs and whishes. However I'm thinking about going 
public with it. I have also fixed some bugs in dia2code (A few seg 
faults when loading newer diagrams), so I might release a patch with 
those changes.

However, before I invest time in this, I would like to know if there is 
any interest in this? I have mailed Javier O'Hara who is the author of 
the sourceforge project, but I never got a reply.

So whats your thoughts, is there any interest for dia2code still? and 
for a perlcode generator?

Regards, Pontus.
___
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


Re: Automaticall open new diagram

2004-11-25 Thread larsrc
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



Re: [OT] dia2code

2004-11-25 Thread Diego Saravia

> So whats your thoughts, is there any interest for dia2code still? 
> and for a perlcode generator?
> 


I am interested
-- 
Diego Saravia 
[EMAIL PROTECTED]

___
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



install dia-cvs

2004-11-25 Thread mario diaz
Hello!!

My consultation is brings over of the installation
from the version dia-cvs
I tries to install the version dia-cvs but it gives me
a error in the file "configure"
the message is

"unexpected end of file" 

i installs all the packages that are necessary. The
mistake owes to the lack of someone? 

I use the version SUSE 9.1
 thanks, we meet

  Mario Diaz
 from Argentina



Correo Yahoo! - 6 MB, tecnología antispam ¡gratis! 
 Suscribite ya http://correo.yahoo.com.ar/
___
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



Re: Automaticall open new diagram

2004-11-25 Thread James K. Lowden
On Thu, 25 Nov 2004 18:44:06 +0100 (CET), [EMAIL PROTECTED] wrote:
> Octavio Alvarez Piza sagde:
> > 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.

Another way to look at that, fwiw, is 

Virtual == !dirty && empty

That would mean that a diagram that had its contents deleted and saved
(hope that's clear) would recover its original virtualness.

--jkl
___
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