From 17b8f532933198f8898a042f82faef176032ab3e Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Tue, 1 Jun 2010 17:20:53 +0200 Subject: [PATCH] code cleanup --- SparkleShare/SparkleUI.cs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/SparkleShare/SparkleUI.cs b/SparkleShare/SparkleUI.cs index 70b23b8f..2aa0a5ab 100644 --- a/SparkleShare/SparkleUI.cs +++ b/SparkleShare/SparkleUI.cs @@ -46,14 +46,14 @@ namespace SparkleShare { switch (SparklePlatform.Name) { case "GNOME": Process.StartInfo.FileName = "gvfs-set-attribute"; - Process.StartInfo.Arguments = SparklePath + - " metadata::custom-icon " + - "file:///usr/share/icons/hicolor/" + - "48x48/places/" + - "folder-sparkleshare.png"; + Process.StartInfo.Arguments = + SparklePath + " metadata::custom-icon " + + "file:///usr/share/icons/hicolor/48x48/places/" + + "folder-sparkleshare.png"; + Process.Start (); break; } - Process.Start (); + // Add the SparkleShare folder to the bookmarks switch (SparklePlatform.Name) { @@ -95,12 +95,12 @@ namespace SparkleShare { switch (SparklePlatform.Name) { case "GNOME": Process.StartInfo.FileName = "gvfs-set-attribute"; - Process.StartInfo.Arguments = " file://" + Folder + - " metadata::emblems " + - "[synced]"; + Process.StartInfo.Arguments = + Folder + " metadata::emblems [synced]"; + Console.WriteLine (Process.StartInfo.FileName + " " + Process.StartInfo.Arguments); + Process.Start (); break; } - Process.Start (); }