Cyrille Chepelov <[EMAIL PROTECTED]> writes:
> This feature sounds interesting... Please hack at will ! Unfortunately,
> given the current apparently very limited time historic coders of dia can
> spend on it nowadays, things are very quiet on the CVS side. I don't even
> know whether my snapshot generator even generates correct tarballs, and if
> not, what's broken in them :-(
>
> I guess the general policy applies: show us unidiffs that rock and they get
> in :-)
>
hi,
the attached patch (to be applied to the current CVS tree) implements
the diagram window idea i mentioned a few days ago:
- a new menu item "View/Diagram tree" in the toolbox toggles the
diagram tree window.
- the window shows a tree with the currently open diagrams as its nodes.
- each node can be expanded to show the diagram's objects as an icon +
the object name, text or type (depending on whether the object has
a "name" or "text" properties).
- clicking on a diagram node brings its window to the foreground, and
clicking on an object's node also selects the object within the
diagram.
- the tree content is kept in sync as you add/remove diagrams/objects,
or change the "name" property (i haven't found the way to
automatically update the "text" when you change it, but it is
updated when you click on the object's node).
- a new dia preference can be set specifying whether to show the
diagram window at startup or not (it would be very easy to add
preferences to set the window's dimensions if you think it's
useful, probably in a new tab on the preferences dialog).
i've not tested these new features in depth, but they seem to work
pretty well here. any feedback will be highly appreciated!
i hope the unidiff rocks enough to get in :-)
best regards,
jao
dia patch