Commit dc347650 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

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.
parent 9a4990dd
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.
......
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.
......
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.
......
......@@ -1097,10 +1097,12 @@ gtk_real_menu_shell_move_current (GtkMenuShell *menu_shell,
switch (direction)
{
case GTK_MENU_DIR_PARENT:
direction = GTK_MENU_DIR_CHILD;
if (GTK_MENU_SHELL_GET_CLASS (menu_shell)->submenu_placement != GTK_TOP_BOTTOM)
direction = GTK_MENU_DIR_CHILD;
break;
case GTK_MENU_DIR_CHILD:
direction = GTK_MENU_DIR_PARENT;
if (GTK_MENU_SHELL_GET_CLASS (menu_shell)->submenu_placement != GTK_TOP_BOTTOM)
direction = GTK_MENU_DIR_PARENT;
break;
case GTK_MENU_DIR_PREV:
if (GTK_MENU_SHELL_GET_CLASS (menu_shell)->submenu_placement == GTK_TOP_BOTTOM)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment