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 679449 - menubutton: set DROPDOWN_MENU hint on the menu toplevel
menubutton: set DROPDOWN_MENU hint on the menu toplevel
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: .General
unspecified
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
: 679448 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2012-07-05 14:13 UTC by Cosimo Cecchi
Modified: 2012-07-05 14:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
menubutton: set DROPDOWN_MENU hint on the menu toplevel (1.05 KB, patch)
2012-07-05 14:13 UTC, Cosimo Cecchi
committed Details | Review

Description Cosimo Cecchi 2012-07-05 14:13:24 UTC
In the common case the menu button is showing a dropdown menu, set the corresponding type hint on the toplevel, so to get the right shadows from thw WM.
Comment 1 Cosimo Cecchi 2012-07-05 14:13:25 UTC
Created attachment 218091 [details] [review]
menubutton: set DROPDOWN_MENU hint on the menu toplevel

So the WM can render the menu shadows correctly, omitting the top side,
in the common case the menu is rendered down from a toolbar.
Comment 2 Cosimo Cecchi 2012-07-05 14:14:01 UTC
*** Bug 679448 has been marked as a duplicate of this bug. ***
Comment 3 Cosimo Cecchi 2012-07-05 14:17:14 UTC
Attachment 218091 [details] pushed as 598163e - menubutton: set DROPDOWN_MENU hint on the menu toplevel

Pushed after Bastien reviewed it on IRC.