[Xfce4-commits] <thunar:master> Keep delaying selecing files if not loaded yet (bug #7328).

Nick Schermer noreply at xfce.org
Sun Oct 28 20:16:05 CET 2012


Updating branch refs/heads/master
         to e5f5087c2a1e1de38e269838a4b4ced9dc72de6c (commit)
       from b23507e7bcfa73be6c13c4ce308a1434a333054c (commit)

commit e5f5087c2a1e1de38e269838a4b4ced9dc72de6c
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