On Wed, Jul 10, 2002 at 10:07:57PM -0500, Lars Clausen wrote:
> On Sat, 6 Jul 2002, mattam@netcourrier.com wrote:
> > On Fri, Jul 05, 2002 at 04:46:12PM -0500, Lars Clausen wrote:
> >> On Fri, 28 Jun 2002, mattam@netcourrier.com wrote:
> >> > Hi!
> >> >
> >> > This patch contains code to handle comments in DIA UML
> >> > Diagrams. The layout is a bit broken (strange alignement issues) but
> >> > It Works. It also adds some error checks.
> >>
> >> It doesn't resize the UML objects to allow room for the comments. Thus
> >> the text goes not only over the edge, but also outside the bounding box.
> >> Could you fix this?
> >>
> >> -Lars
> >
> > Fixed! Patch (-p0) attached. I also added two fonts to the Class
> > object: comment and polymorphic (distinct from abstract).
>
> I have applied the patch. However, the object menu doesn't work:
>
> (dia:1374): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `GtkMenu'
>
> Try modelling the menu creation code of that in objects/standard/line.c,
> it's also much nicer.
>
> And since you're doing object menus anyway, could you add the other boolean
> attributes as well?
>
Well, the menu code was much of an experiment and I didn't finish it :)
I'm gonna fix this right now, thanks for the pointer.
I'll add switches for attributes and operations visibility as well.
Any other switch someone think of ?
> -Lars
>
> --
> Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause)| Hårdgrim of Numenor
> "I do not agree with a word that you say, but I |----------------------------
> will defend to the death your right to say it." | Where are we going, and
> --Evelyn Beatrice Hall paraphrasing Voltaire | what's with the handbasket?
> _______________________________________________
> Dia-list mailing list
> Dia-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/dia-list
>
>
--
"Not only is there no God, but try finding a plumber on Sunday. "
- Woody Allen
MaT|TaM (http://mattam.ath.cx)