[Xfce4-commits] <thunar:master> Check trash status 2s after startup.

Nick Schermer noreply at xfce.org
Fri Dec 7 21:00:02 CET 2012


Updating branch refs/heads/master
         to b0d722672269b3a9315b9a79badad5158aae9164 (commit)
       from 65dd2ddba44e7bf809fc0bbacb63bd6eb4d24d99 (commit)

commit b0d722672269b3a9315b9a79badad5158aae9164
Author: Nick Schermer <nick at xfce.org>
Date:   Fri Dec 7 20:58:47 2012 +0100

    Check trash status 2s after startup.

 thunar/thunar-session-client.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/thunar/thunar-session-client.c b/thunar/thunar-session-client.c
index 30e5864..1c529f4 100644
--- a/thunar/thunar-session-client.c
+++ b/thunar/thunar-session-client.c
@@ -342,7 +342,7 @@ thunar_session_client_restore (ThunarSessionClient *session_client)
       if (thunar_window_set_directories (THUNAR_WINDOW (window), uris, active_tab))
         {
           /* add idle to make sure the trash status is up2date (bug #9513) */
-          session_client->trash_load_idle = g_idle_add (thunar_session_client_restore_trash, session_client);
+          session_client->trash_load_idle = g_timeout_add_seconds (2, thunar_session_client_restore_trash, session_client);
         }
       else
         {


More information about the Xfce4-commits mailing list