summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-10-30 17:47:19 (GMT)
committerWerner Almesberger <werner@almesberger.net>2016-10-30 17:47:19 (GMT)
commit11004ca33cab18d184a7a403fbc882c765c664a7 (patch)
tree61c02f427a787c2339b0ba65239a4528ea1c9d33
parent32c6791ddb35361df2432fdcfee9a4e0c0a2f954 (diff)
downloadeeshow-11004ca33cab18d184a7a403fbc882c765c664a7.zip
eeshow-11004ca33cab18d184a7a403fbc882c765c664a7.tar.gz
eeshow-11004ca33cab18d184a7a403fbc882c765c664a7.tar.bz2
gui/history.c (history_key): add invocation of help (with H or Help)
-rw-r--r--gui/history.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/gui/history.c b/gui/history.c
index 178084d..c89a68b 100644
--- a/gui/history.c
+++ b/gui/history.c
@@ -27,6 +27,7 @@
#include "gui/aoi.h"
#include "gui/over.h"
#include "gui/input.h"
+#include "gui/help.h"
#include "gui/common.h"
@@ -484,13 +485,17 @@ static void history_key(void *user, int x, int y, int keyval)
case GDK_KEY_Escape:
hide_history(gui);
break;
- case GDK_KEY_q:
- gtk_main_quit();
+ case GDK_KEY_h:
+ case GDK_KEY_Help:
+ help();
break;
case GDK_KEY_v:
if (gui->commit_hover)
view_full_commit(gui);
break;
+ case GDK_KEY_q:
+ gtk_main_quit();
+ break;
}
}