Skip to content

Commit 04fc27a

Browse files
committed
Add slot close to page_removed_cb
1 parent 38f08ae commit 04fc27a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/nemo-window-pane.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -632,6 +632,9 @@ notebook_page_removed_cb (GtkNotebook *notebook,
632632
next_slot = get_first_inactive_slot (pane);
633633
nemo_window_set_active_slot (pane->window, next_slot);
634634
}
635+
636+
nemo_window_manage_views_close_slot (slot);
637+
pane->slots = g_list_remove (pane->slots, slot);
635638
}
636639

637640
static void

0 commit comments

Comments
 (0)