Revision 7f5882da trunk/Pithos.Client.WPF/Shell/ShellView.xaml
b/trunk/Pithos.Client.WPF/Shell/ShellView.xaml | ||
---|---|---|
63 | 63 |
<MenuItem Header="Recently Changed Files" x:Name="RecentFiles" ItemsSource="{Binding RecentFiles}"> |
64 | 64 |
<MenuItem.ItemTemplate> |
65 | 65 |
<DataTemplate> |
66 |
<TextBlock Text="{Binding FileName}"/> |
|
66 |
<TextBlock Text="{Binding FileName}" cal:Message.Attach="[Event MouseLeftButtonUp]=[Action GoToFile($dataContext)]" |
|
67 |
cal:Action.TargetWithoutContext="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=MenuItem, AncestorLevel=2}, Path=DataContext}" /> |
|
67 | 68 |
</DataTemplate> |
68 | 69 |
</MenuItem.ItemTemplate> |
69 | 70 |
</MenuItem> |
Also available in: Unified diff