From ead99974fb687130ed08b309802c922070d1efbf Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Fri, 19 Jul 2002 05:03:44 +0000 Subject: [PATCH] * main.c (directory_history_list): Report error if cannot change directory. --- src/ChangeLog | 5 +++++ src/main.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 9c1197e5d..02bc5ccba 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2002-07-19 Pavel Roskin + + * main.c (directory_history_list): Report error if cannot change + directory. + 2002-07-16 Pavel Roskin * main.c (do_execute): Don't ask to press any key when the shell diff --git a/src/main.c b/src/main.c index 3d254b87e..d7a45eee2 100644 --- a/src/main.c +++ b/src/main.c @@ -1003,6 +1003,8 @@ directory_history_list (WPanel * panel) r = _do_panel_cd (panel, s, cd_exact); if (r) directory_history_add (panel, panel->cwd); + else + message (1, MSG_ERROR, _("Could not change directory") ); g_free (s); } }