From d0db6d8b1d7fc4087cd8a6732051287d0efa49a4 Mon Sep 17 00:00:00 2001 From: Alexander Schwinn Date: Sun, 13 Feb 2022 21:42:39 +0100 Subject: [PATCH] Dont reload the view when text is copied (Issue #706) --- thunar/thunar-window.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/thunar/thunar-window.c b/thunar/thunar-window.c index 98be4e82..01f3560f 100644 --- a/thunar/thunar-window.c +++ b/thunar/thunar-window.c @@ -1525,7 +1525,11 @@ thunar_window_clipboard_manager_changed (GtkWidget *widget) { ThunarWindow *window = THUNAR_WINDOW (widget); - thunar_window_reload (window, FALSE); + /* check if the content actually can be pasted into thunar, + * in order to do not trigger if just some text is copied. + */ + if (thunar_clipboard_manager_get_can_paste (window->clipboard)) + thunar_window_reload (window, FALSE); }