From 654c97e89e5d69c0edc33d786fec308e39ba7d85 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Sat, 20 Aug 2016 07:01:42 -0300 Subject: [PATCH] eeshow/: don't use ? for help We may want to use it in the future for searching (/ forward, ? backward, etc.) --- eeshow/README | 2 +- eeshow/gui/help.c | 1 - eeshow/gui/sheet.c | 1 - eeshow/help.html | 2 +- eeshow/help.txt | 2 +- 5 files changed, 3 insertions(+), 5 deletions(-) diff --git a/eeshow/README b/eeshow/README index fa00a63..bb99078 100644 --- a/eeshow/README +++ b/eeshow/README @@ -175,7 +175,7 @@ PgUp go to the previous sheet in sequence PgDn go to the next sheet in sequence Up or Down invoke the revision history (WIP) Tab toggle between old and new revision -? or H show/hide help window +H show/hide help window D when comparing revisions, show difference (default) N show newer sheet O show older sheet diff --git a/eeshow/gui/help.c b/eeshow/gui/help.c index ea21276..9236c0a 100644 --- a/eeshow/gui/help.c +++ b/eeshow/gui/help.c @@ -37,7 +37,6 @@ static gboolean key_press_event(GtkWidget *widget, GdkEventKey *event, { switch (event->keyval) { case GDK_KEY_h: - case GDK_KEY_question: case GDK_KEY_q: gtk_widget_hide(window); visible = 0; diff --git a/eeshow/gui/sheet.c b/eeshow/gui/sheet.c index 1baf3ac..a0ba819 100644 --- a/eeshow/gui/sheet.c +++ b/eeshow/gui/sheet.c @@ -530,7 +530,6 @@ static void sheet_key(void *user, int x, int y, int keyval) break; case GDK_KEY_h: - case GDK_KEY_question: help(); break; diff --git a/eeshow/help.html b/eeshow/help.html index 5bd11b9..d66db87 100644 --- a/eeshow/help.html +++ b/eeshow/help.html @@ -29,7 +29,7 @@ Tab toggle between old and new revision - ? or H + H open/close help window D diff --git a/eeshow/help.txt b/eeshow/help.txt index 15992ef..b3e6e5a 100644 --- a/eeshow/help.txt +++ b/eeshow/help.txt @@ -9,7 +9,7 @@ PgUp go to the previous sheet in sequence PgDn go to the next sheet in sequence Up or Down invoke the revision history (WIP) Tab toggle between old and new revision -? or H show/hide help window +H show/hide help window D when comparing revisions, show difference N show newer sheet O show older sheet