Revision 74d78c90 trunk/Pithos.Client.WPF/Shell/ShellViewModel.cs
b/trunk/Pithos.Client.WPF/Shell/ShellViewModel.cs | ||
---|---|---|
193 | 193 |
monitor = new PithosMonitor |
194 | 194 |
{ |
195 | 195 |
UserName = accountName, |
196 |
ApiKey = account.ApiKey, |
|
197 |
UsePithos = account.UsePithos, |
|
196 |
ApiKey = account.ApiKey, |
|
198 | 197 |
StatusNotification = this, |
199 | 198 |
RootPath = account.RootPath |
200 | 199 |
}; |
... | ... | |
202 | 201 |
IoC.BuildUp(monitor); |
203 | 202 |
|
204 | 203 |
var appSettings = Properties.Settings.Default; |
205 |
monitor.AuthenticationUrl = account.UsePithos |
|
206 |
? account.ServerUrl.ToString() |
|
207 |
: appSettings.CloudfilesAuthenticationUrl; |
|
204 |
monitor.AuthenticationUrl = account.ServerUrl; |
|
208 | 205 |
|
209 | 206 |
_monitors[accountName] = monitor; |
210 | 207 |
|
Also available in: Unified diff