[Geany-devel] Proposed patch to fix issues with command line file loading

Dimitar Zhekov dimitar.zhekov at xxxxx
Fri Jan 28 17:37:00 UTC 2011


On Fri, 28 Jan 2011 01:15:25 +0100
weltall <weltall2 at gmail.com> wrote:

> > Yes, but the patch never loads the project session from a project on
> > the command line since main_load_project_from_command_line is only
> > ever called with FALSE?
> 
> yes it seems to not

It does, see my reply to Lex.

> before it didn't load project files at all without the flag to load the
> previous sessions set to true due to the fact the whole code was if-ed
> out with the load session setting

To be precise, with prefs.load_session = false it does not load the
project at all, that's why it is a bug.

I'm not sure if the correct behaviour with false should be to load the
project only, like --no-session, or the project and it's session files,
like Project -> Open. But not loading the project is wrong.

-- 
E-gards: Jimmy



More information about the Devel mailing list