[Xfce4-commits] [apps/xfce4-terminal] 01/01: Check for running processes when closing other tabs
noreply at xfce.org
noreply at xfce.org
Wed Oct 4 15:17:04 CEST 2017
This is an automated email from the git hooks/post-receive script.
f 2 4 0 4 p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository apps/xfce4-terminal.
commit f6d840b6b130bc52d8f9e570e988d72d370a8eee
Author: Igor <f2404 at yandex.ru>
Date: Wed Oct 4 09:16:58 2017 -0400
Check for running processes when closing other tabs
---
terminal/terminal-window.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/terminal/terminal-window.c b/terminal/terminal-window.c
index 33fa4c9..d03f3a8 100644
--- a/terminal/terminal-window.c
+++ b/terminal/terminal-window.c
@@ -1717,7 +1717,8 @@ terminal_window_action_close_other_tabs (GtkAction *action,
/* remove the others */
npages = gtk_notebook_get_n_pages (notebook);
for (n = npages - 1; n > 0; n--)
- gtk_notebook_remove_page (notebook, n);
+ if (terminal_window_confirm_close (TERMINAL_SCREEN (gtk_notebook_get_nth_page (notebook, n)), window))
+ gtk_notebook_remove_page (notebook, n);
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list