When a drive is ejected or a volume unmounted the current directory doesn't change most of the times being empty or being a directory that user shouldn't take care about, like /run/media
Seems more useful to change to $HOME directory in that case so the user can see something useful and familiar just after unmounting.
https://bugzilla.gnome.org/show_bug.cgi?id=737983
f6870e5 gtkplacessidebar: Open $HOME after unmounting or ejecting
gtk/gtkplacessidebar.c | 128 +++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 126 insertions(+), 2 deletions(-)
Upstream: git.gnome.org