Quote:
Originally Posted by KevinH
I have found an objective-c code snippet that might be workable. I will run some tests to see how doable this is. But be aware, that the App specific recent files will be inconsistent with any macOS generates until enough time has passed for the history to "catch up", if we do decide to include this.
|
It was easy enough to try this change on my own Mac as we already have one objective-C .mm file of code used in Sigil on a Mac and so adding that code snippet to it was straightforward.
I then ifdef'd some code in MainWindow.cpp where Sigil keeps track of its own recently opened files to use this snippet but only on a Mac.
If you build your own on MacOS, I have attached a patch and a screenshot showing the dock when *no* Sigil app is running.
Note: I have only opened two epubs in the Sigil version built with this patch, so its recent files in the dock is not as complete as the Sigil recent files menu, but they will sync over longer term use.
So unless these changes cause side-effects, this should be doable.