controller: fix gvfs command being run twice
This commit is contained in:
parent
5f50302081
commit
f204fd6d3e
|
@ -137,9 +137,6 @@ namespace SparkleShare {
|
||||||
Process process = new Process ();
|
Process process = new Process ();
|
||||||
process.StartInfo.FileName = "gvfs-set-attribute";
|
process.StartInfo.FileName = "gvfs-set-attribute";
|
||||||
|
|
||||||
process.Start ();
|
|
||||||
process.WaitForExit ();
|
|
||||||
|
|
||||||
// Give the SparkleShare folder an icon name, so that it scales
|
// Give the SparkleShare folder an icon name, so that it scales
|
||||||
process.StartInfo.Arguments = SparkleConfig.DefaultConfig.FoldersPath +
|
process.StartInfo.Arguments = SparkleConfig.DefaultConfig.FoldersPath +
|
||||||
" metadata::custom-icon-name 'sparkleshare'";
|
" metadata::custom-icon-name 'sparkleshare'";
|
||||||
|
|
Loading…
Reference in a new issue