Re: gpe-appmgr in CVS

From: Philip Blundell <pb_at_nexus.co.uk>
Date: 11 Jul 2002 09:30:13 +0100

On Thu, 2002-07-11 at 03:00, mibus wrote:
> > It's gpe-what all over again. :-(
> ??

Mallum and I had the same problems with gpe-what a few weeks ago.
Gtk+1.2 just doesn't seem to support creating docked applications very
well.

> In matchbox 0.3? Cool. Do you want to send me a patch, or commit to CVS
> yourself?

Sure. I'll check it in myself. Mallum, did you ever create a shared
library with the tray.c code in?

> Are the two dock methods totally incompatible? Do we want to support
> both?

I think they're completely incompatible, yeah. Personally I wouldn't
worry too much about supporting the old one any more.

> How 'clean' is the code now? Is it worse than the 0.2 compatible dock
> code in appmgr CVS? Will gtk+-2.0 help when we finally move to using
> it. (Which I am all for right now BTW, even though the appmgr will need
> a fair bit of work :)

Yeah, Gtk+2.0 seems to contain a proper XEmbed implementation so that
will help. The difficult bit with Gtk+1.2 is that you need to avoid
mapping the window until it has been reparented into the dock (otherwise
the WM grabs it and all is lost). Previously I was doing this with a
ghastly hack which involved overriding gdk_window_show(), but in fact it
seems to work okay if I just defer calling gtk_widget_show() until a
ReparentNotify message arrives. So that's what I'm doing at the moment.

p.
Received on Thu Jul 11 2002 - 08:30:20 EDT

This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:19:00 EDT