Handle the situation where gnome-vfs gives us a 'quoted' command Index: Tiles/Tile.cs =================================================================== RCS file: /cvs/gnome/beagle/Tiles/Tile.cs,v retrieving revision 1.31 diff -u -B -p -r1.31 Tile.cs --- Tiles/Tile.cs 21 Jul 2005 14:51:23 -0000 1.31 +++ Tiles/Tile.cs 2 Aug 2005 22:21:40 -0000 @@ -192,7 +192,11 @@ namespace Beagle.Tile { } else { argument = String.Format ("{0} {1}", argument, hit.PathQuoted); } - + + // Sometimes the command is 'quoted' + if (command.IndexOf ('\'') == 0 && command.LastIndexOf ('\'') == command.Length - 1) + command = command.Trim ('\''); + // This won't work if a program really has a space in // the filename, but I think other things would break // with that too, and in practice it doesn't seem to