nixos-config/modules/gnome-console-tweaks/no-close-tab-prompt.patch

9 lines
281 B
Diff
Raw Normal View History

--- a/src/kgx-pages.c
+++ b/src/kgx-pages.c
@@ -487,4 +487,5 @@ close_page (HdyTabView *view,
children = kgx_tab_get_children (KGX_TAB (hdy_tab_page_get_child (page)));
+ return FALSE;
if (children->len < 1) {
return FALSE; // Aka no, I dont want to block closing