command: Only log working dir when it's explicitly set
This commit is contained in:
parent
1369ac07b4
commit
e0a2e2a0b6
|
@ -50,8 +50,8 @@ namespace SparkleShare {
|
|||
var gvfs_set_attribute = new Command ("gvfs-set-attribute", "\"" + Configuration.DefaultConfiguration.FoldersPath + "\" " +
|
||||
"metadata::custom-icon-name org.sparkleshare.SparkleShare");
|
||||
|
||||
gvfs_set_attribute.StartInfo.EnvironmentVariables ["XDG_DATA_HOME"] =
|
||||
Path.Combine (Config.HomePath, ".local", "share");
|
||||
string XDG_DATA_HOME = Path.Combine (Config.HomePath, ".local", "share");
|
||||
gvfs_set_attribute.StartInfo.EnvironmentVariables ["XDG_DATA_HOME"] = XDG_DATA_HOME;
|
||||
|
||||
gvfs_set_attribute.StartAndWaitForExit ();
|
||||
}
|
||||
|
|
|
@ -52,7 +52,7 @@ namespace Sparkles {
|
|||
{
|
||||
string folder = "";
|
||||
|
||||
if (!string.IsNullOrEmpty (StartInfo.WorkingDirectory))
|
||||
if (StartInfo.WorkingDirectory != Path.GetTempPath ())
|
||||
folder = Path.GetFileName (StartInfo.WorkingDirectory) + " | ";
|
||||
|
||||
if (write_output)
|
||||
|
|
Loading…
Reference in a new issue