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/gtkmenuitem.h | |
parent | 0ed21b67d92d659f33ccedc96549527af5bf7386 (diff) | |
download | gdk-pixbuf-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/gtkmenuitem.h')
-rw-r--r-- | gtk/gtkmenuitem.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkmenuitem.h b/gtk/gtkmenuitem.h index 99c746573..353a13b1f 100644 --- a/gtk/gtkmenuitem.h +++ b/gtk/gtkmenuitem.h @@ -63,6 +63,7 @@ struct _GtkMenuItem guint submenu_placement : 1; guint submenu_direction : 1; guint right_justify: 1; + guint timer_from_keypress : 1; guint timer; }; |