From 4b96819b94ea9e51652cf467980f77b3721eea9c Mon Sep 17 00:00:00 2001 From: martin-s Date: Sat, 18 Dec 2010 21:27:18 +0000 Subject: [PATCH] Fix:graphics_gtk_drawing_area:Conversion for Delete and Escape git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@3799 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- .../navit/graphics/gtk_drawing_area/graphics_gtk_drawing_area.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/navit/navit/graphics/gtk_drawing_area/graphics_gtk_drawing_area.c b/navit/navit/graphics/gtk_drawing_area/graphics_gtk_drawing_area.c index 095da21..62a39e1 100644 --- a/navit/navit/graphics/gtk_drawing_area/graphics_gtk_drawing_area.c +++ b/navit/navit/graphics/gtk_drawing_area/graphics_gtk_drawing_area.c @@ -842,6 +842,15 @@ keypress(GtkWidget *widget, GdkEventKey *event, gpointer user_data) key[0]='\t'; key[1]='\0'; break; + case GDK_Delete: + key[0]=NAVIT_KEY_RIGHT; + key[1]=NAVIT_KEY_BACK; + key[2]='\0'; + break; + case GDK_Escape: + key[0]=NAVIT_KEY_BACK; + key[1]='\0'; + break; case GDK_Return: case GDK_KP_Enter: key[0]=NAVIT_KEY_RETURN; -- 2.7.4