Skip to content

Commit 12832b3

Browse files
committed
nemo-window-manager-views.c: When removing a folder, don't close
the entire window if that folder is open on another tab. Fixes #2829.
1 parent 8580163 commit 12832b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nemo-window-manage-views.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ viewed_file_changed_callback (NemoFile *file,
285285
if (slot->back_list == NULL) {
286286
end_location_change (slot);
287287
gtk_widget_destroy (GTK_WIDGET (slot->content_view));
288-
nemo_window_close (nemo_window_slot_get_window (slot));
288+
nemo_window_pane_close_slot (slot->pane, slot);
289289
return;
290290
}
291291

0 commit comments

Comments
 (0)