summaryrefslogtreecommitdiff
path: root/gui/sheet.c
diff options
context:
space:
mode:
Diffstat (limited to 'gui/sheet.c')
-rw-r--r--gui/sheet.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gui/sheet.c b/gui/sheet.c
index ec83a7a..98e22be 100644
--- a/gui/sheet.c
+++ b/gui/sheet.c
@@ -155,9 +155,11 @@ static bool show_history_details(void *user, bool on, int dx, int dy)
if (on) {
s = vcs_git_long_for_pango(h->vcs_hist, fmt_pango);
overlay_text_raw(h->over, s);
+ commit_hover(gui, h->vcs_hist);
free(s);
} else {
overlay_text(h->over, "%.40s", vcs_git_summary(h->vcs_hist));
+ commit_hover(gui, NULL);
}
redraw(gui);
return 1;
@@ -662,6 +664,10 @@ static void sheet_key(void *user, int x, int y, int keyval)
redraw(gui);
break;
+ case GDK_KEY_v:
+ view_full_commit(gui);
+ break;
+
case GDK_KEY_q:
gtk_main_quit();
}