Fix RTL keynav for going from menubar to menu.

2005-02-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): Fix RTL
	keynav for going from menubar to menu.
This commit is contained in:
Matthias Clasen 2005-02-09 16:49:11 +00:00 committed by Matthias Clasen
parent 9a4990ddf5
commit dc347650e9
4 changed files with 19 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2005-02-09 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): Fix RTL
keynav for going from menubar to menu.
2005-02-08 Christian Rose <menthos@menthos.com>
* configure.in: Added "xh" to ALL_LINGUAS.

View File

@ -1,3 +1,8 @@
2005-02-09 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): Fix RTL
keynav for going from menubar to menu.
2005-02-08 Christian Rose <menthos@menthos.com>
* configure.in: Added "xh" to ALL_LINGUAS.

View File

@ -1,3 +1,8 @@
2005-02-09 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): Fix RTL
keynav for going from menubar to menu.
2005-02-08 Christian Rose <menthos@menthos.com>
* configure.in: Added "xh" to ALL_LINGUAS.

View File

@ -1097,9 +1097,11 @@ gtk_real_menu_shell_move_current (GtkMenuShell *menu_shell,
switch (direction)
{
case GTK_MENU_DIR_PARENT:
if (GTK_MENU_SHELL_GET_CLASS (menu_shell)->submenu_placement != GTK_TOP_BOTTOM)
direction = GTK_MENU_DIR_CHILD;
break;
case GTK_MENU_DIR_CHILD:
if (GTK_MENU_SHELL_GET_CLASS (menu_shell)->submenu_placement != GTK_TOP_BOTTOM)
direction = GTK_MENU_DIR_PARENT;
break;
case GTK_MENU_DIR_PREV: