summaryrefslogtreecommitdiff
path: root/gtk/gtkmenubar.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-03-03 22:15:39 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-03-03 22:15:39 +0000
commit8627dbda08ea95403356442fbb75ac21a7223dc0 (patch)
tree06da440da2bc8d92cfbee6dd5a614ceb95de5f29 /gtk/gtkmenubar.h
parentd9f8121359da5fa8d495aa187e23714b6ebe8b10 (diff)
downloadgtk+-8627dbda08ea95403356442fbb75ac21a7223dc0.tar.gz
Back out changes to propagate keys to parent menu shells, since that broke
Sun Mar 3 17:03:30 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkmenushell.c gtk/gtkmenubar.[ch]: Back out changes to propagate keys to parent menu shells, since that broke stuff; rather implement ::cycle-focus as a key binding on GtkMenuShell rather than on GtkMenuBar. * gtk/gtkmenushell.c (gtk_menu_shell_class_init): Add add bindings for ::cycle-focus. (In gtkmenubar.c, were mistakently bound to ::move-focus.)
Diffstat (limited to 'gtk/gtkmenubar.h')
-rw-r--r--gtk/gtkmenubar.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkmenubar.h b/gtk/gtkmenubar.h
index 8af5b96995..7678122417 100644
--- a/gtk/gtkmenubar.h
+++ b/gtk/gtkmenubar.h
@@ -74,6 +74,10 @@ GtkWidget* gtk_menu_bar_new (void);
#define gtk_menu_bar_insert(menu,child,pos) gtk_menu_shell_insert ((GtkMenuShell *)(menu),(child),(pos))
#endif /* GTK_DISABLE_DEPRECATED */
+/* Private functions */
+void _gtk_menu_bar_cycle_focus (GtkMenuBar *menubar,
+ GtkDirectionType dir);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */