From: kazer_ Date: Thu, 7 Feb 2008 13:56:36 +0000 (+0000) Subject: Fix:GTK:Fixed typo in keys names X-Git-Tag: navit-0.5.0.5194svn~4303 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=18cc8341a1b1113fe646cd3f676a2dede277bc02;p=profile%2Fivi%2Fnavit.git Fix:GTK:Fixed typo in keys names git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@848 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- diff --git a/navit/src/gui/gtk/gui_gtk_window.c b/navit/src/gui/gtk/gui_gtk_window.c index 67a650f..815d2bf 100644 --- a/navit/src/gui/gtk/gui_gtk_window.c +++ b/navit/src/gui/gtk/gui_gtk_window.c @@ -60,22 +60,22 @@ keypress(GtkWidget *widget, GdkEventKey *event, struct gui_priv *this) case GDK_KP_Enter: gtk_menu_shell_select_first(GTK_MENU_SHELL(this->menubar), TRUE); break; - case KEY_Up: + case KEY_UP: p.x=w/2; p.y=0; navit_set_center_screen(this->nav, &p); break; - case KEY_Down: + case KEY_DOWN: p.x=w/2; p.y=h; navit_set_center_screen(this->nav, &p); break; - case KEY_Left: + case KEY_LEFT: p.x=0; p.y=h/2; navit_set_center_screen(this->nav, &p); break; - case KEY_Right: + case KEY_RIGHT: p.x=w; p.y=h/2; navit_set_center_screen(this->nav, &p);