x11/xpad became unusable after recent gtk+ update - all windows
('pads') are blank and cannot be edited etc. Errors spewed in the
terminal window:
(xpad:30315): GLib-GObject-WARNING **: IA__g_object_set_valist:
construct property "type" for object `XpadPad' can't be set after
construction
This little fix does the trick for me, and doesn't seem to have any
side effects. Since current version upstream is 4 or so (ours is
2.14), there's not much chance that they'll bother to fix it themselves.
--- xpad-pad.c Thu May 13 15:19:51 2010
+++ xpad-pad.c.orig Thu May 13 15:19:34 2010
@@ -275,7 +275,7 @@
"gravity", GDK_GRAVITY_STATIC, /* static gravity makes
saving pad x,y work */
"skip-pager-hint", !xpad_settings_get_has_decorations (xpad_settings
()), "skip-taskbar-hint", !xpad_settings_get_has_decorations
(xpad_settings ()),
- /* "type", GTK_WINDOW_TOPLEVEL, */
+ "type", GTK_WINDOW_TOPLEVEL,
"type-hint", GDK_WINDOW_TYPE_HINT_NORMAL,
"window-position", GTK_WIN_POS_MOUSE,
"child", vbox,