lin controller: wait for the folder icon commands to exit

This commit is contained in:
Hylke Bons 2011-05-25 19:40:51 +01:00
parent ae87d1e68b
commit 38c8ae3a3a

View file

@ -148,10 +148,12 @@ namespace SparkleShare {
// Clear the custom (legacy) icon path
process.StartInfo.Arguments = "-t unset " + SparklePaths.SparklePath + " metadata::custom-icon"; "";
process.Start ();
process.WaitForExit ();
// Give the SparkleShare folder an icon name, so that it scales
process.StartInfo.Arguments = SparklePaths.SparklePath + " metadata::custom-icon-name 'folder-sparkleshare'"; "";
process.Start ();
process.WaitForExit ();
}
return true;