Revision 73cdd135 trunk/Pithos.Client.WPF/Shell/ShellView.xaml
b/trunk/Pithos.Client.WPF/Shell/ShellView.xaml | ||
---|---|---|
34 | 34 |
> |
35 | 35 |
<tb:TaskbarIcon.ContextMenu> |
36 | 36 |
<ContextMenu x:Name="TaskbarMenu" > |
37 |
<MenuItem Header="{Binding OpenFolderCaption}" IsEnabled="{Binding HasAccounts}" x:Name="OpenPithosFolder" ItemsSource="{Binding Accounts}" > |
|
37 |
<MenuItem Header="{Binding OpenFolderCaption}" IsEnabled="{Binding HasAccounts}" x:Name="OpenPithosFolder" ItemsSource="{Binding Accounts}" >
|
|
38 | 38 |
<MenuItem.ItemTemplate> |
39 | 39 |
<DataTemplate> |
40 | 40 |
<TextBlock x:Name="AccountLink" Text="{Binding Path=UserName}" cal:Message.Attach="[Event MouseLeftButtonUp]=[Action OpenPithosFolder($dataContext)]" |
41 | 41 |
cal:Action.TargetWithoutContext="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=MenuItem, AncestorLevel=2}, Path=DataContext}" /> |
42 | 42 |
</DataTemplate> |
43 |
</MenuItem.ItemTemplate> |
|
43 |
</MenuItem.ItemTemplate>
|
|
44 | 44 |
<MenuItem.Icon> |
45 | 45 |
<Image Source="/Pithos.Client.WPF;component/Images/Folder.ico" /> |
46 | 46 |
</MenuItem.Icon> |
Also available in: Unified diff