forked from AuroraMiddleware/gtk
Allow setting background images on menus. (#169532, Benjamin Otte)
2005-04-07 Matthias Clasen <mclasen@redhat.com> * gtk/gtkmenu.c (gtk_menu_paint): Allow setting background images on menus. (#169532, Benjamin Otte)
This commit is contained in:
parent
cb49f6e2d0
commit
624a9cdb1f
@ -1,5 +1,8 @@
|
||||
2005-04-07 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_paint): Allow setting background
|
||||
images on menus. (#169532, Benjamin Otte)
|
||||
|
||||
* gtk/updateiconcache.c (write_card16, write_card32): Avoid
|
||||
unaligned access. (#172947)
|
||||
|
||||
|
@ -1,5 +1,8 @@
|
||||
2005-04-07 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_paint): Allow setting background
|
||||
images on menus. (#169532, Benjamin Otte)
|
||||
|
||||
* gtk/updateiconcache.c (write_card16, write_card32): Avoid
|
||||
unaligned access. (#172947)
|
||||
|
||||
|
@ -1,5 +1,8 @@
|
||||
2005-04-07 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_paint): Allow setting background
|
||||
images on menus. (#169532, Benjamin Otte)
|
||||
|
||||
* gtk/updateiconcache.c (write_card16, write_card32): Avoid
|
||||
unaligned access. (#172947)
|
||||
|
||||
|
@ -2495,6 +2495,15 @@ gtk_menu_paint (GtkWidget *widget,
|
||||
arrow_size, arrow_size);
|
||||
}
|
||||
}
|
||||
else if (event->window == menu->bin_window)
|
||||
{
|
||||
gtk_paint_box (widget->style,
|
||||
menu->bin_window,
|
||||
GTK_STATE_NORMAL,
|
||||
GTK_SHADOW_OUT,
|
||||
NULL, widget, "menu",
|
||||
-border_x, -border_y, width, height);
|
||||
}
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
Loading…
Reference in New Issue
Block a user