diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-07-06 00:21:43 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-07-06 00:21:43 +0000 |
commit | 367cacdf1b879c5bfa16f21502c80d8ed152ebef (patch) | |
tree | e373581e311d8e1f6d4772e87c393607f7cb3a7e /gtk/gtkmenushell.h | |
parent | e05a96609d5f3c2725ab2a7a35438cd2c6aed8c2 (diff) | |
download | gtk+-367cacdf1b879c5bfa16f21502c80d8ed152ebef.tar.gz |
Add an extra parameter to _gtk_menu_item_select_first() to allow us to
Fri Jul 5 20:18:23 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenushell.[ch] gtk/gtkmenubar.c gtk/gtkmenuitem.c
gtk/gtkentry.c gtk/gtktextview.c: Add an extra parameter
to _gtk_menu_item_select_first() to allow us to choose
whether we want to select the first item predictably
or to select the first sensitive item. Fixes problem
with insensitive menu items and keynav. (#85796,
reported by Bill Haneman and others.)
Diffstat (limited to 'gtk/gtkmenushell.h')
-rw-r--r-- | gtk/gtkmenushell.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkmenushell.h b/gtk/gtkmenushell.h index 9edb887b32..d7529dc059 100644 --- a/gtk/gtkmenushell.h +++ b/gtk/gtkmenushell.h @@ -111,7 +111,8 @@ void gtk_menu_shell_activate_item (GtkMenuShell *menu_shell, GtkWidget *menu_item, gboolean force_deactivate); -void _gtk_menu_shell_select_first (GtkMenuShell *menu_shell); +void _gtk_menu_shell_select_first (GtkMenuShell *menu_shell, + gboolean search_sensitive); void _gtk_menu_shell_activate (GtkMenuShell *menu_shell); #ifdef __cplusplus |