linux controller: Fix indentation and change custom icon name
This commit is contained in:
parent
73d483af93
commit
0423b423f9
|
@ -109,12 +109,11 @@ namespace SparkleShare {
|
||||||
|
|
||||||
// Add a special icon to the SparkleShare folder
|
// Add a special icon to the SparkleShare folder
|
||||||
if (File.Exists (gvfs_command_path)) {
|
if (File.Exists (gvfs_command_path)) {
|
||||||
Process process = new Process ();
|
var process = new Process ();
|
||||||
process.StartInfo.FileName = "gvfs-set-attribute";
|
|
||||||
|
|
||||||
// Give the SparkleShare folder an icon name, so that it scales
|
process.StartInfo.FileName = "gvfs-set-attribute";
|
||||||
process.StartInfo.Arguments = SparkleConfig.DefaultConfig.FoldersPath +
|
process.StartInfo.Arguments = SparkleConfig.DefaultConfig.FoldersPath +
|
||||||
" metadata::custom-icon-name 'sparkleshare'";
|
" metadata::custom-icon-name 'folder-sparkleshare'";
|
||||||
|
|
||||||
process.Start ();
|
process.Start ();
|
||||||
process.WaitForExit ();
|
process.WaitForExit ();
|
||||||
|
|
Loading…
Reference in a new issue