On Wed, 1 May 2002, Ettore Perazzoli wrote:
> On Sun, 2002-04-28 at 21:33, Martin Sevior wrote:
> > I suspect that evolution is getting confused about how to deal with
> > the msword/rtf/abw mime-types. Some info from oaf says it is a
> > bonobo-component and some info from the global gnome environment says it
> > should launch the AbiWord program to open it.
> >
> > This problem has clearly been solved for ggv so this should not be too
> > hard to fix.
>
> Hm, I am not sure I understand the problem.
>
> Are you getting the arrow button in the message for displaying the
> attachment inline (and that displays the control in a separate window)
> or are you just getting the right-arrow menu?
No. A new window with blank content is launched.
>
> It sounds like the AbiWord viewing component is just messing up by
> creating a toplevel window instead of a normal widget.
>
I don't think so but I'm very new to this. It worked fine in a
test program. Still the widget does have a non standard calling
sequence. You have to do a show_all on the top level window before
actually building all the graphics classes and drawing in abiword.
One solution might be to register an idle function to actually perform the
the map_to_screen method (when all the graphics classes are created and
populated) after the top level window is shown.
I'll look at eog and see if I can see how prgrams that draw into an
unknown area solve this.
Thanks
Martin
_______________________________________________
evolution-hackers maillist - [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution-hackers