Revision db8a9589 trunk/Pithos.Client.WPF/Shell/ShellViewModel.cs
b/trunk/Pithos.Client.WPF/Shell/ShellViewModel.cs | ||
---|---|---|
118 | 118 |
private ServiceHost _statusService; |
119 | 119 |
|
120 | 120 |
//Logging in the Pithos client is provided by log4net |
121 |
private static readonly log4net.ILog Log = log4net.LogManager.GetLogger("Pithos");
|
|
121 |
private static readonly log4net.ILog Log = log4net.LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
|
122 | 122 |
|
123 | 123 |
//Lazily initialized File Version info. This is done once and lazily to avoid blocking the UI |
124 | 124 |
private readonly Lazy<FileVersionInfo> _fileVersion; |
... | ... | |
423 | 423 |
Process.Start("explorer.exe","/select, " + fullPath); |
424 | 424 |
} |
425 | 425 |
|
426 |
public void ShowFileProperties() |
|
426 |
public void OpenLogPath() |
|
427 |
{ |
|
428 |
var appDataPath = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData); |
|
429 |
var pithosDataPath = Path.Combine(appDataPath, "GRNET"); |
|
430 |
|
|
431 |
Process.Start(pithosDataPath); |
|
432 |
} |
|
433 |
|
|
434 |
public void ShowFileProperties() |
|
427 | 435 |
{ |
428 | 436 |
var account = Settings.Accounts.First(acc => acc.IsActive); |
429 | 437 |
var dir = new DirectoryInfo(account.RootPath + @"\pithos"); |
Also available in: Unified diff