there is some intelligent thinking in nautilus 2.30 for this
comment on the upstream patch that was pushed
"""
This patch checks if a window is displaying or has displayed (in history) the
root folder of the mount using g_file_equal in addition to the existing
g_file_has_prefix checks. Note that this change along with the *existing* code
only closes windows who have navigated solely around the mount. If you have
navigated anywhere else in the window it won't be closed."""
there is some intelligent thinking in nautilus 2.30 for this
comment on the upstream patch that was pushed
"""
This patch checks if a window is displaying or has displayed (in history) the
root folder of the mount using g_file_equal in addition to the existing
g_file_has_prefix checks. Note that this change along with the *existing* code
only closes windows who have navigated solely around the mount. If you have
navigated anywhere else in the window it won't be closed."""