On Tue, 26 Jan 1999, Alexander Larsson verbalised:
> On 25 Jan, Lars Clausen wrote:
>>
>> I've now added having a dialog with defaults pop up at double-click of a
>> tool widget, and changed the properties popup to be only one per
>> objecttype, not per object (saves not only the dialogs, but also 4 bytes
>> per object). This is only implemented for Line yet, as I want to hear
>> if the style is ok. It is trivial to add to the other objects
>
> I didn't check out the source much, as i have a lot of other stuff to
> do right now. But there is a bug somewhere in the properties stuff for
> the line after your changes. By creating a few lines and clicking
> pretty wildly on them and changing their properties i did manage to
> get a segfault.
Interesting. This only seems to happen with the properties that are
selected by menus. I noticed a (possibly related) bug in those menus:
When I have the dialog open, then change to another line with a different
setting on the menu, the type shown on the menu changes, but the box
besides the earlier setting remains. gtk_menu_set_active should be
responsible for doing this properly.
>> I've (as I said) added polyline, with an object menu to add and delete
>> points. It has a few bugs, like that corners stick out of the bounding
>> box and connections get confused when new handles are added[1]. Oh, and
>> it doesn't save properly yet.
> There is also a problem with the bounding box when deleting nodes. You
> need to do object_add_updates both before and after modifying an
> object, otherwise the area that was removed from the object will not
> be cleared/repainted.
Fixed.
>> Being the lazy bastard I am, I've just tar'ed it all up in
>> <URL:http://shasta.cs.uiuc.edu/~lrclause/Dia_lrclause.tar.gz> (also
>> because I don't have a proper copy to diff against). Next thing I'd
>> like to do is add arrows.
>
> Just use 'cvs -z3 diff -u' to give you a diff. It's MUCH easier for me
> to see what's happened. Especially since it wasn't against the newest
> cvs tree which i had localy. Also make sure to update everything and
> check your stuff so it works with the latest tree before submitting.
Okie, will do.
-Lars
--
Lars R. Clausen ([EMAIL PROTECTED])
A *real* smart bomb would call in sick, perhaps move to another country,
changing its name in the process, open a beach bar maybe and live out its
days in safe anonymity. -- Barry O'Neill in rhod