Revision dcca46c3 trunk/Pithos.Client.WPF/Shell/ShellViewModel.cs
b/trunk/Pithos.Client.WPF/Shell/ShellViewModel.cs | ||
---|---|---|
84 | 84 |
/// * ShowFilePropertiesEvent: Raised when a shell command requests the display of the file/container properties dialog |
85 | 85 |
///</remarks> |
86 | 86 |
//TODO: CODE SMELL Why does the shell handle the SelectiveSynchChanges? |
87 |
[Export(typeof(IShell))]
|
|
87 |
[Export(typeof(IShell)), Export(typeof(ShellViewModel))]
|
|
88 | 88 |
public class ShellViewModel : Screen, IStatusNotification, IShell, |
89 | 89 |
IHandle<Notification>, IHandle<SelectiveSynchChanges>, IHandle<ShowFilePropertiesEvent> |
90 | 90 |
{ |
... | ... | |
228 | 228 |
if (!updaterequired) |
229 | 229 |
//Sparkle raises events on a background thread |
230 | 230 |
Execute.OnUIThread(()=> |
231 |
ShowBalloonFor(new Notification{Title="Pithos+ is up to date",Message="You have the latest Pitsos+ version. No update is required"}));
|
|
231 |
ShowBalloonFor(new Notification{Title="Pithos+ is up to date",Message="You have the latest Pithos+ version. No update is required"}));
|
|
232 | 232 |
} |
233 | 233 |
} |
234 | 234 |
|
Also available in: Unified diff