GNOME Bugzilla – Bug 333398
Menubars in panel applets have sunken mode
Last modified: 2006-03-06 18:37:20 UTC
Menubar widgets in panel applets are drawn in sunken mode, even though the "official" menus are not. They should be the same (I know, because I've been told that 5 times now :-)).
Created attachment 60657 [details] [review] Patch to check if the menubar's parent is in a PanelWidget or PanelApplet (or derived types)
It turns out that the menu sets the shadow_type to GTK_SHADOW_NONE, so one can easily check for this. 2006-03-06 Benjamin Berg <benjamin@sipsolutions.net> * engines/clearlooks/src/clearlooks_style.c: (draw_box): Don't draw any background for menus if the shadow_type is GTK_SHADOW_NONE. (Fixes bug #333398)