Commit 73876bdc authored by Andrea Azzarone's avatar Andrea Azzarone 🚴 Committed by Carlos Soriano

window-slot: Don't initialize extra widgets if content view is not yet set

The signal 'trash-state-changed' could be emitted by NautilusTrashMonitor while
a NautilusWindowSlot is still initializing the content view. In this case, don't
show/hide extra location widgets to avoid deferencing invalid memory. They will
be created anyway once the content view has been set.

Closes: #890
Closes: #862
parent 6114cb85
Pipeline #69291 passed with stages
in 9 minutes and 30 seconds