[Xfce4-commits] [apps/xfce4-terminal] 01/01: sudo alone shouldn't trigger Unsafe Paste dialog
noreply at xfce.org
noreply at xfce.org
Tue Jul 2 21:36:59 CEST 2019
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 7fbf9f8d0fc2fa23a112a59ab436d751ba6616c4
Author: Igor <f2404 at yandex.ru>
Date: Tue Jul 2 15:36:50 2019 -0400
sudo alone shouldn't trigger Unsafe Paste dialog
---
terminal/terminal-screen.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/terminal/terminal-screen.c b/terminal/terminal-screen.c
index 9a23f15..76af514 100644
--- a/terminal/terminal-screen.c
+++ b/terminal/terminal-screen.c
@@ -1771,7 +1771,7 @@ terminal_screen_set_tab_label_color (TerminalScreen *screen,
static gboolean
terminal_screen_is_text_unsafe (const gchar *text)
{
- return text != NULL && (strstr (text, "sudo") != NULL || strchr (text, '\n') != NULL);
+ return text != NULL && strchr (text, '\n') != NULL;
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list