Make backspace go back in history
As on Windows.
This commit is contained in:
parent
a1f6ffd226
commit
2dc4e9c13b
3
fiv.c
3
fiv.c
@ -1438,6 +1438,9 @@ on_key_press(G_GNUC_UNUSED GtkWidget *widget, GdkEventKey *event,
|
|||||||
break;
|
break;
|
||||||
case 0:
|
case 0:
|
||||||
switch (event->keyval) {
|
switch (event->keyval) {
|
||||||
|
case GDK_KEY_BackSpace:
|
||||||
|
go_back();
|
||||||
|
return TRUE;
|
||||||
case GDK_KEY_q:
|
case GDK_KEY_q:
|
||||||
gtk_widget_destroy(g.window);
|
gtk_widget_destroy(g.window);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
Loading…
Reference in New Issue
Block a user