From e0fd85b5ddce0831f0fe9a13b5bf80566d722bb9 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Mon, 3 Dec 2012 15:54:06 +0000 Subject: [PATCH] windows: fix setting of custom folder icon --- SparkleShare/Windows/SparkleController.cs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/SparkleShare/Windows/SparkleController.cs b/SparkleShare/Windows/SparkleController.cs index e28be872..60ad3e90 100644 --- a/SparkleShare/Windows/SparkleController.cs +++ b/SparkleShare/Windows/SparkleController.cs @@ -140,10 +140,11 @@ namespace SparkleShare { if (!File.Exists (icon_file_path)) { string ini_file_path = Path.Combine (FoldersPath, "desktop.ini"); - - string ini_file = "[.ShellClassInfo]" + - "IconFile=" + icon_file_path + - "IconIndex=0" + + string n = Environment.NewLine; + + string ini_file = "[.ShellClassInfo]" + n + + "IconFile=" + icon_file_path + n + + "IconIndex=0" + n + "InfoTip=SparkleShare"; try {