diff options
author | Werner Almesberger <werner@almesberger.net> | 2016-10-30 14:47:19 -0300 |
---|---|---|
committer | Werner Almesberger <werner@almesberger.net> | 2016-10-30 14:47:19 -0300 |
commit | 11004ca33cab18d184a7a403fbc882c765c664a7 (patch) | |
tree | 61c02f427a787c2339b0ba65239a4528ea1c9d33 /gui | |
parent | 32c6791ddb35361df2432fdcfee9a4e0c0a2f954 (diff) | |
download | eeshow-11004ca33cab18d184a7a403fbc882c765c664a7.tar.gz eeshow-11004ca33cab18d184a7a403fbc882c765c664a7.tar.bz2 eeshow-11004ca33cab18d184a7a403fbc882c765c664a7.zip |
gui/history.c (history_key): add invocation of help (with H or Help)
Diffstat (limited to 'gui')
-rw-r--r-- | gui/history.c | 9 |
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; } } |