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 169532 - GtkMenu should draw background
GtkMenu should draw background
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: GtkMenu
2.6.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2005-03-07 22:07 UTC by Benjamin Otte (Company)
Modified: 2005-04-07 19:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gtkrc theme file showing the problem (230 bytes, text/plain)
2005-03-07 22:09 UTC, Benjamin Otte (Company)
  Details
How the menu should look with the previously attached gtkrc (99.29 KB, image/jpeg)
2005-03-07 22:13 UTC, Benjamin Otte (Company)
  Details
proposed patch (649 bytes, patch)
2005-03-07 22:14 UTC, Benjamin Otte (Company)
none Details | Review

Description Benjamin Otte (Company) 2005-03-07 22:07:53 UTC
Currently a GtkMenu background defaults to the background pixmap/color with no
chance to override with a custom image using for example the pixmap theme.

See attached files for details.
Comment 1 Benjamin Otte (Company) 2005-03-07 22:09:49 UTC
Created attachment 38385 [details]
gtkrc theme file showing the problem
Comment 2 Benjamin Otte (Company) 2005-03-07 22:13:11 UTC
Created attachment 38386 [details]
How the menu should look with the previously attached gtkrc
Comment 3 Benjamin Otte (Company) 2005-03-07 22:14:47 UTC
Created attachment 38387 [details] [review]
proposed patch
Comment 4 Matthias Clasen 2005-04-07 19:57:05 UTC
2005-04-07  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkmenu.c (gtk_menu_paint): Allow setting background
	images on menus.  (#169532, Benjamin Otte)