After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 333398 - Menubars in panel applets have sunken mode
Menubars in panel applets have sunken mode
Status: RESOLVED FIXED
Product: gtk-engines
Classification: Deprecated
Component: clearlooks
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Richard Stellingwerff
gtk-engines maintainers
Depends on:
Blocks:
 
 
Reported: 2006-03-04 20:16 UTC by James Cape
Modified: 2006-03-06 18:37 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to check if the menubar's parent is in a PanelWidget or PanelApplet (or derived types) (3.03 KB, patch)
2006-03-04 20:17 UTC, James Cape
none Details | Review

Description James Cape 2006-03-04 20:16:26 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 :-)).
Comment 1 James Cape 2006-03-04 20:17:50 UTC
Created attachment 60657 [details] [review]
Patch to check if the menubar's parent is in a PanelWidget or PanelApplet (or derived types)
Comment 2 Benjamin Berg 2006-03-06 18:37:20 UTC
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)