[Geany-devel] --readonly handling
Thomas Martitz
thomas.martitz at xxxxx
Thu Nov 17 20:07:41 UTC 2011
Am 17.11.2011 19:20, schrieb Dimitar Zhekov:
> Hi,
>
> Is there any technical reason to check cl_options.readonly in
> document.c, and clear it load_startup_files(), instead of simply
> invoking document_open_file(filename, cl_options.readonly, ...) from
> main_handle_filename()?
>
In an earlier version it also worked when opening a .geany file (so all
session files would be opened readonly). As opening via socket also goes
through main_handle_filename() (and hopefully nothing else?), I guess
there's no real reason anymore.
Best regards.
More information about the Devel
mailing list