* main.c [HAVE_GNOME]: disable chmod and chown - they were

broken and obsoleted by the "Properties" dialog
This commit is contained in:
Pavel Roskin 2000-08-22 22:07:26 +00:00
parent c9cc154b7d
commit 7264379530
2 changed files with 8 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2000-08-22 Pavel Roskin <proski@gnu.org> 2000-08-22 Pavel Roskin <proski@gnu.org>
* main.c [HAVE_GNOME]: disable chmod and chown - they were
broken and obsoleted by the "Properties" dialog
* cmd.c [HAVE_X]: Removed dependency on status_using_ncurses * cmd.c [HAVE_X]: Removed dependency on status_using_ncurses
* man2hlp.c: Removed undocumented feature - when converting * man2hlp.c: Removed undocumented feature - when converting

View File

@ -1289,6 +1289,7 @@ static menu_entry RightMenu [] = {
{ ' ', N_("&Rescan C-r"), 'R', reread_cmd } { ' ', N_("&Rescan C-r"), 'R', reread_cmd }
}; };
#ifndef HAVE_GNOME
static menu_entry FileMenu [] = { static menu_entry FileMenu [] = {
{ ' ', N_("&User menu F2"), 'U', user_file_menu_cmd }, { ' ', N_("&User menu F2"), 'U', user_file_menu_cmd },
{ ' ', N_("&View F3"), 'V', view_cmd }, { ' ', N_("&View F3"), 'V', view_cmd },
@ -1315,6 +1316,7 @@ static menu_entry FileMenu [] = {
{ ' ', "", ' ', 0 }, { ' ', "", ' ', 0 },
{ ' ', N_("e&Xit F10"), 'X', (callfn) quit_cmd } { ' ', N_("e&Xit F10"), 'X', (callfn) quit_cmd }
}; };
#endif
void external_panelize (void); void external_panelize (void);
static menu_entry CmdMenu [] = { static menu_entry CmdMenu [] = {
@ -1740,10 +1742,12 @@ static const key_map ctl_x_map [] = {
{ XCTRL('p'), copy_other_pathname }, { XCTRL('p'), copy_other_pathname },
{ 't', copy_current_tagged }, { 't', copy_current_tagged },
{ XCTRL('t'), copy_other_tagged }, { XCTRL('t'), copy_other_tagged },
#endif
{ 'c', chmod_cmd }, { 'c', chmod_cmd },
#endif
#ifndef OS2_NT #ifndef OS2_NT
#ifndef HAVE_GNOME
{ 'o', chown_cmd }, { 'o', chown_cmd },
#endif
{ 'l', link_cmd }, { 'l', link_cmd },
{ XCTRL('l'), other_symlink_cmd }, { XCTRL('l'), other_symlink_cmd },
{ 's', symlink_cmd }, { 's', symlink_cmd },