nixos-config/modules/gnome-console-tweaks/no-close-tab-prompt.patch
2022-11-17 22:26:44 -05:00

8 lines
281 B
Diff
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

--- 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