diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-12-14 22:43:52 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-12-14 22:43:52 +0000 |
commit | 08a08cf1b5b6040da3f9a93847250e2bab6bdc2e (patch) | |
tree | 1cbfb639181dda19ec1aaea3cc2a9ddeb4cfbaf7 /gtk/gtkmenushell.h | |
parent | c7c9ec32d58ea511af31046b301e9a536c168069 (diff) | |
download | gtk+-08a08cf1b5b6040da3f9a93847250e2bab6bdc2e.tar.gz |
Add a new binding signal, "move_scroll", and use it to hook up
Sat Dec 14 14:19:16 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenu.c: Add a new binding signal, "move_scroll",
and use it to hook up Home/End/Page_Up/Page_Down keybindings.
(#80484, Narayana Pattipati, Marius Andreiana)
* gtk/gtkmenu.c (gtk_menu_scroll_item_visible): Fix some
bugs in the computation of when an item is visible. (#99545)
* gtk/gtkbindings.[ch] (_gtk_binding_signal_new) gtk/gtkmenushell.c:
Move here, export privately.
* gtk/gtkmenushell.c (_gtk_menu_shell_select_last): Export
privately.
* gtk/gtkmenushell.c (gtk_menu_shell_select_item): Don't
select the item if it is already selected.
Diffstat (limited to 'gtk/gtkmenushell.h')
-rw-r--r-- | gtk/gtkmenushell.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkmenushell.h b/gtk/gtkmenushell.h index 2177223059..7b4e32af5c 100644 --- a/gtk/gtkmenushell.h +++ b/gtk/gtkmenushell.h @@ -112,6 +112,8 @@ void gtk_menu_shell_activate_item (GtkMenuShell *menu_shell, gboolean force_deactivate); void gtk_menu_shell_select_first (GtkMenuShell *menu_shell, gboolean search_sensitive); +void _gtk_menu_shell_select_last (GtkMenuShell *menu_shell, + gboolean search_sensitive); void _gtk_menu_shell_activate (GtkMenuShell *menu_shell); gint _gtk_menu_shell_get_popup_delay (GtkMenuShell *menu_shell); |