summaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-26 10:31:31 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-26 10:31:31 -0300
commit7680a153e8ec3993774f025d3209c3d750ed098c (patch)
tree3f2b7de850c2abb6f8c4636db17ec14a9940c334 /gui
parent9272a71513938713357de0c0fb6db5c47409b8a0 (diff)
downloadeeshow-7680a153e8ec3993774f025d3209c3d750ed098c.tar.gz
eeshow-7680a153e8ec3993774f025d3209c3d750ed098c.tar.bz2
eeshow-7680a153e8ec3993774f025d3209c3d750ed098c.zip
gui/sheet.c (sheet_key): toggle diff/delta with Shift+D; document it
This frees "A" for other uses.
Diffstat (limited to 'gui')
-rw-r--r--gui/sheet.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gui/sheet.c b/gui/sheet.c
index df780ec..aea2e27 100644
--- a/gui/sheet.c
+++ b/gui/sheet.c
@@ -555,11 +555,6 @@ static void sheet_key(void *user, int x, int y, int keyval)
redraw(gui);
break;
- case GDK_KEY_a:
- use_delta = !use_delta;
- do_revision_overlays(gui);
- redraw(gui);
- break;
case GDK_KEY_e:
show_extra = !show_extra;
redraw(gui);
@@ -577,6 +572,11 @@ static void sheet_key(void *user, int x, int y, int keyval)
gui->diff_mode = diff_delta;
redraw(gui);
break;
+ case GDK_KEY_D: /* Shift + D */
+ use_delta = !use_delta;
+ do_revision_overlays(gui);
+ redraw(gui);
+ break;
case GDK_KEY_h:
case GDK_KEY_Help: