From 3f48ae491f1533b1cf2983767b652e904cfee771 Mon Sep 17 00:00:00 2001 From: Laurent MONIN Date: Wed, 3 Oct 2007 11:16:37 +0200 Subject: [PATCH] Add an "Authors" entry to the Help menu. It displays the ELinks website's authors page. --- src/dialogs/menu.c | 1 + src/setup.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/dialogs/menu.c b/src/dialogs/menu.c index 744a4b788..181c36167 100644 --- a/src/dialogs/menu.c +++ b/src/dialogs/menu.c @@ -449,6 +449,7 @@ static struct menu_item help_menu[] = { #endif BAR_MENU_ITEM, INIT_MENU_ITEM(N_("~Copying"), NULL, ACT_MAIN_NONE, menu_copying, NULL, 0), + INIT_MENU_ITEM(N_("Autho~rs"), NULL, ACT_MAIN_NONE, menu_url_shortcut, ELINKS_AUTHORS_URL, 0), INIT_MENU_ITEM(N_("~About"), NULL, ACT_MAIN_NONE, menu_about, NULL, 0), NULL_MENU_ITEM }; diff --git a/src/setup.h b/src/setup.h index 7ac026b01..f0a786c33 100644 --- a/src/setup.h +++ b/src/setup.h @@ -11,6 +11,7 @@ #define WWW_HOME_URL "" #define ELINKS_HOMEPAGE "http://elinks.cz/" +#define ELINKS_AUTHORS_URL "http://elinks.cz/authors.html" #define ELINKS_DOC_URL "http://elinks.cz/documentation/" #define ELINKS_BUGS_URL "http://bugzilla.elinks.cz/" #define ELINKS_GITWEB_URL "http://repo.or.cz/w/elinks.git"