code cleanup
This commit is contained in:
parent
1edef6c48b
commit
8adca254f6
|
@ -46,14 +46,14 @@ namespace SparkleShare {
|
||||||
switch (SparklePlatform.Name) {
|
switch (SparklePlatform.Name) {
|
||||||
case "GNOME":
|
case "GNOME":
|
||||||
Process.StartInfo.FileName = "gvfs-set-attribute";
|
Process.StartInfo.FileName = "gvfs-set-attribute";
|
||||||
Process.StartInfo.Arguments = SparklePath +
|
Process.StartInfo.Arguments =
|
||||||
" metadata::custom-icon " +
|
SparklePath + " metadata::custom-icon " +
|
||||||
"file:///usr/share/icons/hicolor/" +
|
"file:///usr/share/icons/hicolor/48x48/places/" +
|
||||||
"48x48/places/" +
|
|
||||||
"folder-sparkleshare.png";
|
"folder-sparkleshare.png";
|
||||||
|
Process.Start ();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
Process.Start ();
|
|
||||||
|
|
||||||
// Add the SparkleShare folder to the bookmarks
|
// Add the SparkleShare folder to the bookmarks
|
||||||
switch (SparklePlatform.Name) {
|
switch (SparklePlatform.Name) {
|
||||||
|
@ -95,12 +95,12 @@ namespace SparkleShare {
|
||||||
switch (SparklePlatform.Name) {
|
switch (SparklePlatform.Name) {
|
||||||
case "GNOME":
|
case "GNOME":
|
||||||
Process.StartInfo.FileName = "gvfs-set-attribute";
|
Process.StartInfo.FileName = "gvfs-set-attribute";
|
||||||
Process.StartInfo.Arguments = " file://" + Folder +
|
Process.StartInfo.Arguments =
|
||||||
" metadata::emblems " +
|
Folder + " metadata::emblems [synced]";
|
||||||
"[synced]";
|
Console.WriteLine (Process.StartInfo.FileName + " " + Process.StartInfo.Arguments);
|
||||||
|
Process.Start ();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
Process.Start ();
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue