libwnck complains about unhandled actions
Submitted by Loïc Minier
Link to original bug (#455581)
Description
Hi,
Kacper Wysocki reported in Debian bug http://bugs.debian.org/431682: """ when using a window manager that uses actions which libwnck doesn't know about, like say openbox 3.4 in combination with rox and TaskTray, libwnck complains very loudly:
(TaskTray:9403): Wnck-WARNING **: Unhandled action type (nil) (TaskTray:9403): Wnck-WARNING **: Unhandled action type (nil) (TaskTray:9403): Wnck-WARNING **: Unhandled action type (nil) (TaskTray:9403): Wnck-WARNING **: Unhandled action type (nil) ... ad nauseum
AFAIU new actions are being hammered out all the time by the fine folks at xorg and gnome, so I suggest the messages be throttled, or ideally, removed, as in the attached patch. """
The proposed patch simply removes the message, e.g.:
-
else
-
{
-
const char *name = _wnck_atom_name (atoms [i]);
-
g_warning ("Unhandled action type %s", name ? name: "(nil)");
-
}
so I'm not attaching it.
Bye,