forked from AuroraMiddleware/gtk
Pay attention to the scroll offset when drawing the box. (#308834, Tom von
2005-06-26 Matthias Clasen <mclasen@redhat.com> * gtk/gtkmenu.c (gtk_menu_paint): Pay attention to the scroll offset when drawing the box. (#308834, Tom von Schwerdtner)
This commit is contained in:
parent
98a17d1462
commit
92e3227043
@ -1,3 +1,9 @@
|
||||
2005-06-26 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_paint): Pay attention to the
|
||||
scroll offset when drawing the box. (#308834, Tom von
|
||||
Schwerdtner)
|
||||
|
||||
2005-06-26 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* gdk/Makefile.am
|
||||
|
@ -1,3 +1,9 @@
|
||||
2005-06-26 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_paint): Pay attention to the
|
||||
scroll offset when drawing the box. (#308834, Tom von
|
||||
Schwerdtner)
|
||||
|
||||
2005-06-26 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* gdk/Makefile.am
|
||||
|
@ -1,3 +1,9 @@
|
||||
2005-06-26 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_paint): Pay attention to the
|
||||
scroll offset when drawing the box. (#308834, Tom von
|
||||
Schwerdtner)
|
||||
|
||||
2005-06-26 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* gdk/Makefile.am
|
||||
|
@ -1289,7 +1289,7 @@ gtk_menu_popup (GtkMenu *menu,
|
||||
GtkMenuPrivate *priv;
|
||||
|
||||
g_return_if_fail (GTK_IS_MENU (menu));
|
||||
|
||||
|
||||
widget = GTK_WIDGET (menu);
|
||||
menu_shell = GTK_MENU_SHELL (menu);
|
||||
priv = gtk_menu_get_private (menu);
|
||||
@ -2502,7 +2502,8 @@ gtk_menu_paint (GtkWidget *widget,
|
||||
GTK_STATE_NORMAL,
|
||||
GTK_SHADOW_OUT,
|
||||
NULL, widget, "menu",
|
||||
-border_x, -border_y, width, height);
|
||||
- border_x, menu->scroll_offset - border_y,
|
||||
width, height);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user