* cmd.c (quick_cd_cmd) [HAVE_GNOME]: Disable.

* main.c (sort_cmd) [HAVE_GNOME]: Likewise.
(ctl_x_map) [HAVE_GNOME]: Disable "Ctrl-x j" - background jobs.
This commit is contained in:
Pavel Roskin 2001-05-30 00:16:19 +00:00
parent 6b317d088e
commit 17724b4004
3 changed files with 9 additions and 3 deletions

View File

@ -1,5 +1,9 @@
2001-05-29 Pavel Roskin <proski@gnu.org> 2001-05-29 Pavel Roskin <proski@gnu.org>
* cmd.c (quick_cd_cmd) [HAVE_GNOME]: Disable.
* main.c (sort_cmd) [HAVE_GNOME]: Likewise.
(ctl_x_map) [HAVE_GNOME]: Disable "Ctrl-x j" - background jobs.
* color.c (init_colors) [HAVE_SLANG]: Use "default" instead of * color.c (init_colors) [HAVE_SLANG]: Use "default" instead of
NULL as color names - this works even if COLORFGBG is unset. NULL as color names - this works even if COLORFGBG is unset.
Don't check HAS_DIRECT_COLOR_ACCESS - it's now meaningless. Don't check HAS_DIRECT_COLOR_ACCESS - it's now meaningless.

View File

@ -1424,8 +1424,9 @@ void undelete_cmd (void)
" files on: (F1 for details)"), " files on: (F1 for details)"),
"[Undelete File System]", "/#undel:", 0); "[Undelete File System]", "/#undel:", 0);
} }
#endif #endif /* USE_EXT2FSLIB */
#ifndef HAVE_GNOME
void quick_cd_cmd (void) void quick_cd_cmd (void)
{ {
char *p = cd_dialog (); char *p = cd_dialog ();
@ -1439,6 +1440,7 @@ void quick_cd_cmd (void)
if (p) if (p)
g_free (p); g_free (p);
} }
#endif /* !HAVE_GNOME */
void void
dirsizes_cmd (void) dirsizes_cmd (void)

View File

@ -1193,6 +1193,7 @@ set_sort_to (WPanel *p, sortfn *sort_order)
do_re_sort (p); do_re_sort (p);
} }
#endif #endif
#ifndef HAVE_GNOME
void void
sort_cmd (void) sort_cmd (void)
{ {
@ -1209,7 +1210,6 @@ sort_cmd (void)
} }
#ifndef HAVE_GNOME
static void static void
tree_box (void) tree_box (void)
{ {
@ -1763,7 +1763,7 @@ static const key_map ctl_x_map [] = {
#endif #endif
{ 'h', add2hotlist_cmd }, { 'h', add2hotlist_cmd },
{ '!', external_panelize }, { '!', external_panelize },
#ifdef WITH_BACKGROUND #if defined(WITH_BACKGROUND) && !defined(HAVE_GNOME)
{ 'j', jobs_cmd }, { 'j', jobs_cmd },
#endif #endif
#ifdef HAVE_SETSOCKOPT #ifdef HAVE_SETSOCKOPT