* main.c [!WITH_MCFS] (PanelMenu): Eliminate mcfs related entry.

(RightMenu): Likewise.
* textconf.c (features): Likewise.
* cmd.c (netlink_cmd) [!WITH_MCFS]: Eliminate.
This commit is contained in:
Andrew V. Samoilov 2002-04-19 07:21:09 +00:00
parent 4c1b2cf8df
commit 5a255dd2ea
4 changed files with 15 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2002-04-19 Andrew V. Samoilov <kai@cmail.ru>
* 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 <proski@gnu.org>
* Makefile: mc.hlp should be in MAINTAINERCLEANFILES, not in

View File

@ -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),

View File

@ -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 },

View File

@ -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