diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-02-03 01:25:32 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-02-03 01:25:32 +0000 |
commit | ae7521bd9daa8b389a878dc7e9b2b0a5753b6b7f (patch) | |
tree | e774eada70ef95da9ad062848f0fc158f4021c51 /gtk/gtkmenushell.h | |
parent | 0ed21b67d92d659f33ccedc96549527af5bf7386 (diff) | |
download | gtk+-ae7521bd9daa8b389a878dc7e9b2b0a5753b6b7f.tar.gz |
Non-exported _gtk_menu_select_first() function that selects the first item
Sat Feb 2 20:16:04 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenushell.c (_gtk_menu_shell_select_first):
Non-exported _gtk_menu_select_first() function that
selects the first item of the menu in a standard
way. (Skipping tearoffs.)
* gtk/gtkmenushell.c gtk/gtkentry.c gtk/gtktextview.c
gtkmenuitem.c: Use _gtk_menu_shell_select_first().
* gtk/gtkmenuitem.c (gtk_real_menu_item_select): Remember
if we are starting the timeout from a keypress so
we can set menushell->ignore_enter properly.
* gtk/gtknotebook.c (focus_child_in): Return something
meaningful if there are no children.
* gtk/gtkmenu.c (gtk_menu_key_press): Fix precendence
problem.
Diffstat (limited to 'gtk/gtkmenushell.h')
-rw-r--r-- | gtk/gtkmenushell.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkmenushell.h b/gtk/gtkmenushell.h index 3d09f7fbc9..2d2ca67636 100644 --- a/gtk/gtkmenushell.h +++ b/gtk/gtkmenushell.h @@ -105,6 +105,7 @@ void gtk_menu_shell_activate_item (GtkMenuShell *menu_shell, GtkWidget *menu_item, gboolean force_deactivate); +void _gtk_menu_shell_select_first (GtkMenuShell *menu_shell); #ifdef __cplusplus } |