From eedd25aa7fa0efec280d47f1da12159948c0caa7 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Thu, 5 Aug 2010 10:45:37 +0100 Subject: [PATCH] [ui] Use install prefix to set the SparkleShare folde icon --- SparkleShare/SparkleUI.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SparkleShare/SparkleUI.cs b/SparkleShare/SparkleUI.cs index dfae6d80..6cec2384 100644 --- a/SparkleShare/SparkleUI.cs +++ b/SparkleShare/SparkleUI.cs @@ -223,8 +223,8 @@ namespace SparkleShare { // Add a special icon to the SparkleShare folder Process.StartInfo.FileName = "gvfs-set-attribute"; Process.StartInfo.Arguments = SparklePaths.SparklePath + " metadata::custom-icon " + - "file:///usr/share/icons/hicolor/48x48/places/" + - "folder-sparkleshare.png"; + "file://" + SparkleHelpers.CombineMore (Defines.PREFIX, "share", "icons", + "hicolor", "48x48", "places", "folder-sparkleshare.png"); Process.Start (); }