From 4ff2548b1fce6cfb12c2d5117698d426c70a8e65 Mon Sep 17 00:00:00 2001 From: Thomas Leonard Date: Wed, 12 Jun 2002 16:02:09 +0000 Subject: [PATCH] r1568: Bugfix: Filer sometimes failed to load the backdrop supplied by a program (reported by Arnaud Calvo). --- ROX-Filer/Help/Changes | 2 ++ ROX-Filer/src/pinboard.c | 8 ++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ROX-Filer/Help/Changes b/ROX-Filer/Help/Changes index b341bd6e..d9408ef0 100644 --- a/ROX-Filer/Help/Changes +++ b/ROX-Filer/Help/Changes @@ -8,6 +8,8 @@ Require version 2.0.1 or later of Gtk, due to bugs in 2.0.0. Changing the pinboard font realigns the icons. Bugfix: Symlinked items in the SendTo menu didn't use globicons correctly (spotted by Arnaud Calvo). +Bugfix: Filer sometimes failed to load the backdrop supplied by a program + (reported by Arnaud Calvo). 10-Jun-2002 ~~~~~~~~~~~ diff --git a/ROX-Filer/src/pinboard.c b/ROX-Filer/src/pinboard.c index ba7f8ef2..e3d42763 100644 --- a/ROX-Filer/src/pinboard.c +++ b/ROX-Filer/src/pinboard.c @@ -1831,6 +1831,12 @@ static void command_from_backdrop_app(Pinboard *pinboard, const gchar *command) return; } + /* Load the backdrop. May abandon the program if loading fails. */ + reload_backdrop(pinboard, command, style); + + if (pinboard->to_backdrop_app == -1) + return; + while (*ok) { int sent; @@ -1844,8 +1850,6 @@ static void command_from_backdrop_app(Pinboard *pinboard, const gchar *command) } ok += sent; } - - reload_backdrop(pinboard, command, style); } static void backdrop_from_child(Pinboard *pinboard, -- 2.11.4.GIT