Restore Last Window Tabs on Startup#3661
Restore Last Window Tabs on Startup#3661kavehtehrani wants to merge 11 commits intolinuxmint:masterfrom
Conversation
Save split view and tab URIs on window close and restore them when starting Nemo with no explicit locations.
|
I read through 3240 and 2832 and seems like this was previously requested and closed due to resource constraints and being a low priority request. I have tested this on my machine on Fedora and Ubuntu and has been working fine without any issues. I love Nemo and this is the only major things for me that Nemo is lacking. Happy to make any feedback and make my favorite file manager even better. |
|
@mtwebster you are correct on both accounts. It is the most recent window that comes back (https://docs.gtk.org/gtk3/method.Application.get_windows.html) I had to move the "#include "nemo-desktop-window.h"" outside the conditional include, since the NEMO_IS_DESKTOP_WINDOW is included in that header file and it was a conditional include. Hope I did this right. |
Adds an optional feature to restore the tabs and split-view state of the last closed Nemo window when launching without explicit file arguments. This is similar to the 'session restore' feature in most modern web browsers.
Changes
Implementation Details
org.nemo.window-stateschema