linux controller: Fix indentation and change custom icon name

This commit is contained in:
Hylke Bons 2016-03-28 11:49:43 +01:00
parent 73d483af93
commit 0423b423f9

View file

@ -109,12 +109,11 @@ namespace SparkleShare {
// Add a special icon to the SparkleShare folder
if (File.Exists (gvfs_command_path)) {
Process process = new Process ();
process.StartInfo.FileName = "gvfs-set-attribute";
var process = new Process ();
// Give the SparkleShare folder an icon name, so that it scales
process.StartInfo.FileName = "gvfs-set-attribute";
process.StartInfo.Arguments = SparkleConfig.DefaultConfig.FoldersPath +
" metadata::custom-icon-name 'sparkleshare'";
" metadata::custom-icon-name 'folder-sparkleshare'";
process.Start ();
process.WaitForExit ();