A small patch for those running with a version of GTK >= 2.2 - it uses
the GdkScreen interface to detect screen resize events and resizes the
panels and pinboard in response.
I've been testing this with XFree86 Version 126.96.36.1991 (4.4.0 RC 1) and
GTK 2.2.4 (Debian unstable) and have had no problems.
- Resizing the pinboard only affects the pinboard window size and the
backdrop (ie. icons and iconised windows aren't affected).
Hope this may be of interest,
From: Thomas Leonard <tal00r@ec...> - 2003-12-19 17:03:49
On Fri, Dec 19, 2003 at 12:11:24PM +0000, Geoff Youngs wrote:
> A small patch for those running with a version of GTK >= 2.2 - it uses
> the GdkScreen interface to detect screen resize events and resizes the
> panels and pinboard in response.
Good, we need this (but I don't have 4.3 to test it with). Thoughts:
- It would be neater to connect the signal in panel.c and pinboard.c,
rather than using gui_support.c as a second-layer signal distribution
- There are no new functions used, so the test for GTK 2.2 should be
run-time rather than compile-time (otherwise, people upgrading won't get
the new behaviour). (though I think we broke this anyway, for the
pinboard at least)
Thomas Leonard http://rox.sourceforge.net
tal00r at ecs.soton.ac.uk tal197 at users.sourceforge.net
GPG: 9242 9807 C985 3C07 44A6 8B9A AE07 8280 59A5 3CC1