[ui] Use install prefix to set the SparkleShare folde icon

This commit is contained in:
Hylke Bons 2010-08-05 10:45:37 +01:00
parent 1fcd6b6c6f
commit eedd25aa7f

View file

@ -223,8 +223,8 @@ namespace SparkleShare {
// Add a special icon to the SparkleShare folder // Add a special icon to the SparkleShare folder
Process.StartInfo.FileName = "gvfs-set-attribute"; Process.StartInfo.FileName = "gvfs-set-attribute";
Process.StartInfo.Arguments = SparklePaths.SparklePath + " metadata::custom-icon " + Process.StartInfo.Arguments = SparklePaths.SparklePath + " metadata::custom-icon " +
"file:///usr/share/icons/hicolor/48x48/places/" + "file://" + SparkleHelpers.CombineMore (Defines.PREFIX, "share", "icons",
"folder-sparkleshare.png"; "hicolor", "48x48", "places", "folder-sparkleshare.png");
Process.Start (); Process.Start ();
} }