Yes, it is exactly as you guessed. The signal is emitted before the files are opened:

gboolean project_load_file_with_session(const gchar *locale_file_name)
{
	if (project_load_file(locale_file_name))  // project-open signal is emitted in this function 
	{
		configuration_open_files(app->project->priv->session_files); // files are opened here
		app->project->priv->session_files = NULL;
		document_new_file_if_non_open();
		ui_focus_current_document();
		return TRUE;
	}
	return FALSE;
}

I have found a (little ugly) way to workaround this, see #1290...


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany-plugins/issues/1289/1793078987@github.com>