> It would probably be possible to add a document_before_open signal that > provides the filename and returns true to continue opening and false to not > do the open. Then you can stash the filename and stop the open until you are > ready to do it.
Thanks but it's not needed I think. As the open happens on clicking a row in the Workbench sidebar, I can make the catch there and move my project switching code in the "row-activate" callback before calling document-open (haven't looked at it for some time but should be possible). -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/2234#issuecomment-517915487
