From d4c961faaaff41917d03071bdc5b1e6db3c2e780 Mon Sep 17 00:00:00 2001 From: Harald Judt Date: Mon, 18 May 2015 21:37:01 +0200 Subject: Really fix trash state at startup (bug #9513 and #11913) This should fix the trash state at startup and work correctly on all systems. --- thunar/thunar-trash-action.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/thunar/thunar-trash-action.c b/thunar/thunar-trash-action.c index 9978ada..86f7652 100644 --- a/thunar/thunar-trash-action.c +++ b/thunar/thunar-trash-action.c @@ -88,6 +88,9 @@ thunar_trash_action_init (ThunarTrashAction *trash_action) /* initially update the stock icon */ thunar_trash_action_changed (trash_action, trash_action->trash_bin); + + /* schedule a reload in idle (fix for bug #9513) */ + thunar_file_reload_idle (trash_action->trash_bin); } } -- 2.4.1