summaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-10-30 17:25:53 (GMT)
committerWerner Almesberger <werner@almesberger.net>2016-10-30 17:25:53 (GMT)
commit08655f46fe0f737a0a1af457a2d9e6504307ac49 (patch)
tree1f3ae9658bbc40045114f6c0950bc22b7c65c7bb /gui
parent96ef3e03ac812f3c0fbc863b89e860cd336a9293 (diff)
downloadeeshow-08655f46fe0f737a0a1af457a2d9e6504307ac49.zip
eeshow-08655f46fe0f737a0a1af457a2d9e6504307ac49.tar.gz
eeshow-08655f46fe0f737a0a1af457a2d9e6504307ac49.tar.bz2
file/git-hist.c (vcs_git_long_for_pango): optionally show full commit message
Diffstat (limited to 'gui')
-rw-r--r--gui/history.c4
-rw-r--r--gui/sheet.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/gui/history.c b/gui/history.c
index e4f6a81..f2862df 100644
--- a/gui/history.c
+++ b/gui/history.c
@@ -55,7 +55,7 @@ void commit_hover(struct gui *gui, const struct vcs_hist *vcs_hist)
gui->commit_hover = vcs_hist;
/* should only update if visible */
if (view && vcs_hist) {
- s = vcs_git_long_for_pango(vcs_hist, fmt_pango);
+ s = vcs_git_long_for_pango(vcs_hist, fmt_pango, 1);
view_update(view, s, 1);
free(s);
}
@@ -297,7 +297,7 @@ static bool hover_history(void *user, bool on, int dx, int dy)
overlay_size(h->over, gtk_widget_get_pango_context(gui->da),
NULL, &before);
if (on) {
- s = vcs_git_long_for_pango(h->vcs_hist, fmt_pango);
+ s = vcs_git_long_for_pango(h->vcs_hist, fmt_pango, 0);
commit_hover(gui, h->vcs_hist);
} else {
s = vcs_git_summary_for_pango(h->vcs_hist, fmt_pango);
diff --git a/gui/sheet.c b/gui/sheet.c
index 98e22be..3e83dfe 100644
--- a/gui/sheet.c
+++ b/gui/sheet.c
@@ -153,7 +153,7 @@ static bool show_history_details(void *user, bool on, int dx, int dy)
char *s;
if (on) {
- s = vcs_git_long_for_pango(h->vcs_hist, fmt_pango);
+ s = vcs_git_long_for_pango(h->vcs_hist, fmt_pango, 0);
overlay_text_raw(h->over, s);
commit_hover(gui, h->vcs_hist);
free(s);