forked from AuroraMiddleware/gtk
Check that the widget is viewable. (#336200, Bastian Nocera)
2006-03-27 Matthias Clasen <mclasen@redhat.com> * gtk/gtkmnemonichash.c (_gtk_mnemonic_hash_activate): Check that the widget is viewable. (#336200, Bastian Nocera)
This commit is contained in:
parent
161b0a5c55
commit
dbba8384d1
@ -1,3 +1,8 @@
|
||||
2006-03-27 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkmnemonichash.c (_gtk_mnemonic_hash_activate): Check that
|
||||
the widget is viewable. (#336200, Bastian Nocera)
|
||||
|
||||
2006-03-27 Michael Natterer <mitch@imendio.com>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_scroll_by): bail out if there is no need
|
||||
|
@ -1,3 +1,8 @@
|
||||
2006-03-27 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkmnemonichash.c (_gtk_mnemonic_hash_activate): Check that
|
||||
the widget is viewable. (#336200, Bastian Nocera)
|
||||
|
||||
2006-03-27 Michael Natterer <mitch@imendio.com>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_scroll_by): bail out if there is no need
|
||||
|
@ -127,7 +127,9 @@ _gtk_mnemonic_hash_activate (GtkMnemonicHash *mnemonic_hash,
|
||||
widget = GTK_WIDGET (list->data);
|
||||
|
||||
if (GTK_WIDGET_IS_SENSITIVE (widget) &&
|
||||
GTK_WIDGET_MAPPED (widget))
|
||||
GTK_WIDGET_MAPPED (widget) &&
|
||||
widget->window &&
|
||||
gdk_window_is_viewable (widget->window))
|
||||
{
|
||||
if (chosen_widget)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user