From 5a255dd2ea3601a85dd83e3f497f86953ea60958 Mon Sep 17 00:00:00 2001 From: "Andrew V. Samoilov" Date: Fri, 19 Apr 2002 07:21:09 +0000 Subject: [PATCH] * main.c [!WITH_MCFS] (PanelMenu): Eliminate mcfs related entry. (RightMenu): Likewise. * textconf.c (features): Likewise. * cmd.c (netlink_cmd) [!WITH_MCFS]: Eliminate. --- src/ChangeLog | 7 +++++++ src/cmd.c | 4 ++-- src/main.c | 4 ++++ src/textconf.c | 2 ++ 4 files changed, 15 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index e3bdf621c..f90e513ed 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,10 @@ +2002-04-19 Andrew V. Samoilov + + * main.c [!WITH_MCFS] (PanelMenu): Eliminate mcfs related entry. + (RightMenu): Likewise. + * textconf.c (features): Likewise. + * cmd.c (netlink_cmd) [!WITH_MCFS]: Eliminate. + 2002-04-03 Pavel Roskin * Makefile: mc.hlp should be in MAINTAINERCLEANFILES, not in diff --git a/src/cmd.c b/src/cmd.c index 149e0fdde..41c74b186 100644 --- a/src/cmd.c +++ b/src/cmd.c @@ -1289,13 +1289,13 @@ static void nice_cd (char *text, char *xtext, char *help, char *prefix, int to_h g_free (cd_path); g_free (machine); } - +#ifdef WITH_MCFS void netlink_cmd (void) { nice_cd (_(" Link to a remote machine "), _(machine_str), "[Network File System]", "/#mc:", 1); } - +#endif void ftplink_cmd (void) { nice_cd (_(" FTP to machine "), _(machine_str), diff --git a/src/main.c b/src/main.c index c9f110609..8d4831b7b 100644 --- a/src/main.c +++ b/src/main.c @@ -1103,7 +1103,9 @@ static menu_entry PanelMenu [] = { { ' ', N_("&Filter..."), 'F', filter_cmd }, #ifdef USE_NETCODE { ' ', "", ' ', 0 }, +#ifdef WITH_MCFS { ' ', N_("&Network link..."), 'N', netlink_cmd }, +#endif { ' ', N_("FT&P link..."), 'P', ftplink_cmd }, #ifdef WITH_SMBFS { ' ', N_("SM&B link..."), 'B', smblink_cmd }, @@ -1127,7 +1129,9 @@ static menu_entry RightMenu [] = { { ' ', N_("&Filter..."), 'F', filter_cmd }, #ifdef USE_NETCODE { ' ', "", ' ', 0 }, +#ifdef WITH_MCFS { ' ', N_("&Network link..."), 'N', netlink_cmd }, +#endif { ' ', N_("FT&P link..."), 'P', ftplink_cmd }, #ifdef WITH_SMBFS { ' ', N_("SM&B link..."), 'B', smblink_cmd }, diff --git a/src/textconf.c b/src/textconf.c index 8be24f2f0..7aec441ef 100644 --- a/src/textconf.c +++ b/src/textconf.c @@ -13,7 +13,9 @@ static const char * const features [] = { # ifdef HSC_PROXY N_(" (proxies: hsc proxy)"), # endif +# ifdef WITH_MCFS N_(", mcfs"), +# endif # ifdef USE_TERMNET N_(" (with termnet support)"), # endif -- 2.11.4.GIT