[Xfce4-commits] <thunar:master> Force a reload when the new_file closure is finished (bug #6409).
Nick Schermer
noreply at xfce.org
Tue May 25 19:20:01 CEST 2010
Updating branch refs/heads/master
to e5e26b967203ae7d0b12925cbb0f56942fe51b68 (commit)
from fbfb59594e7badd29adac85a78db76778ccc8a28 (commit)
commit e5e26b967203ae7d0b12925cbb0f56942fe51b68
Author: Nick Schermer <nick at xfce.org>
Date: Tue May 25 19:15:14 2010 +0200
Force a reload when the new_file closure is finished (bug #6409).
This doesn't work for all actions yet, but it make the
experience with copy/past actions a lot snappier.
thunar/thunar-standard-view.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/thunar/thunar-standard-view.c b/thunar/thunar-standard-view.c
index e6fb490..aed6542 100644
--- a/thunar/thunar-standard-view.c
+++ b/thunar/thunar-standard-view.c
@@ -2321,6 +2321,9 @@ thunar_standard_view_new_files (ThunarStandardView *standard_view,
/* grab the focus to the view widget */
gtk_widget_grab_focus (GTK_BIN (standard_view)->child);
}
+
+ /* manually reload the folder to avoid a delay */
+ thunar_standard_view_reload (THUNAR_VIEW (standard_view));
}
}
More information about the Xfce4-commits
mailing list