directory in wrong panel (Michael Panteleit)
Mike Smithson
mdooligan at gmail.com
Sun Nov 24 17:39:23 UTC 2013
On Sun, 24 Nov 2013 04:00:04 -0800, <mc-request at gnome.org> wrote:
> Message: 1
> Date: Sat, 23 Nov 2013 13:27:48 +0100
> From: Michael Panteleit <pantelmi at web.de>
> To: mc at gnome.org
> Subject: Re: directory in wrong panel
> Message-ID: <87bo1be20r.fsf at derry.pan>
> Content-Type: text/plain
>
> I found, if I revert this patch
>
> diff --git a/src/setup.c b/src/setup.c
> index 1e5e8c6..dcbf929 100644
> --- a/src/setup.c
> +++ b/src/setup.c
> @@ -984,13 +989,13 @@ load_setup (void)
> if (startup_left_mode != view_listing && startup_right_mode !=
> view_listing)
> startup_left_mode = view_listing;
> - if (mc_run_param1 == NULL)
> {
> vfs_path_t *vpath;
> +
> buffer = mc_config_get_string (mc_panels_config, "Dirs",
> "other_dir", ".");
> vpath = vfs_path_from_str (buffer);
> if (vfs_file_is_local (vpath))
> - mc_run_param1 = buffer;
> + saved_other_dir = buffer;
> else
> g_free (buffer);
> vfs_path_free (vpath);
>
>
> the old behaviour is back. I like this much better (btw I am using mc
> 4.8.10)
>
> Is there a reason the old behaviour was changed?
>
> Bye,
> Michael
>
I posted about this a little while ago too.
Somehow it got goofed up for 4.8.10, but it's fixed in the git repo.
Check midnight.c:576, create_panels().
--
Peace and Cheer
More information about the mc
mailing list