[Xfce4-commits] <thunar:nick/tabs> Keep delaying selecing files if not loaded yet (bug #7328).
Nick Schermer
noreply at xfce.org
Sun Oct 28 20:14:01 CET 2012
Updating branch refs/heads/nick/tabs
to 259d5b65b84345a91b63c279b40801af350e99d4 (commit)
from 1eb2a9e7d2e3ac857da69f1c8de70fd39c4f4ac6 (commit)
commit 259d5b65b84345a91b63c279b40801af350e99d4
Author: Nick Schermer <nick at xfce.org>
Date: Sun Oct 28 20:11:25 2012 +0100
Keep delaying selecing files if not loaded yet (bug #7328).
thunar/thunar-standard-view.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/thunar/thunar-standard-view.c b/thunar/thunar-standard-view.c
index 1101d80..c063818 100644
--- a/thunar/thunar-standard-view.c
+++ b/thunar/thunar-standard-view.c
@@ -2801,6 +2801,11 @@ thunar_standard_view_new_files (ThunarStandardView *standard_view,
/* grab the focus to the view widget */
gtk_widget_grab_focus (GTK_BIN (standard_view)->child);
}
+ else
+ {
+ /* thunar files are not created yet, try again later */
+ standard_view->priv->new_files_path_list = thunar_g_file_list_copy (path_list);
+ }
}
/* when performing dnd between 2 views, we force a review on the source as well */
More information about the Xfce4-commits
mailing list