|
|
@@ -27,88 +27,94 @@
|
|
|
<NativeMenu>
|
|
|
<NativeMenuItem Header="{CompiledBinding File}">
|
|
|
<NativeMenu>
|
|
|
- <NativeMenuItem Command="{CompiledBinding OpenFileCommand}" Header="{CompiledBinding Open}" />
|
|
|
+ <NativeMenuItem Command="{CompiledBinding OpenFileCommand}" Header="{CompiledBinding Open, Mode=OneWay}" />
|
|
|
<NativeMenuItem
|
|
|
Command="{CompiledBinding OpenWithCommand}"
|
|
|
CommandParameter="{CompiledBinding FileInfo.FullName,
|
|
|
FallbackValue=''}"
|
|
|
- Header="{CompiledBinding OpenWith}" />
|
|
|
- <NativeMenuItem Command="{CompiledBinding SaveFileCommand}" Header="{CompiledBinding Save}" />
|
|
|
+ Header="{CompiledBinding OpenWith,
|
|
|
+ Mode=OneWay}" />
|
|
|
+ <NativeMenuItem Command="{CompiledBinding SaveFileCommand}" Header="{CompiledBinding Save, Mode=OneWay}" />
|
|
|
<NativeMenuItem
|
|
|
Command="{CompiledBinding PrintCommand}"
|
|
|
CommandParameter="{CompiledBinding FileInfo.FullName,
|
|
|
FallbackValue=''}"
|
|
|
- Header="{CompiledBinding Print}" />
|
|
|
- <NativeMenuItem Command="{CompiledBinding LocateOnDiskCommand}" Header="{CompiledBinding ShowInFolder}" />
|
|
|
+ Header="{CompiledBinding Print,
|
|
|
+ Mode=OneWay}" />
|
|
|
+ <NativeMenuItem Command="{CompiledBinding LocateOnDiskCommand}" Header="{CompiledBinding ShowInFolder, Mode=OneWay}" />
|
|
|
<NativeMenuItemSeparator />
|
|
|
- <NativeMenuItem Command="{CompiledBinding DeleteFileCommand}" Header="{CompiledBinding DeleteFile}" />
|
|
|
+ <NativeMenuItem Command="{CompiledBinding DeleteFileCommand}" Header="{CompiledBinding DeleteFile, Mode=OneWay}" />
|
|
|
<NativeMenuItemSeparator />
|
|
|
- <NativeMenuItem Command="{CompiledBinding ReloadCommand}" Header="{CompiledBinding Reload}" />
|
|
|
- <NativeMenuItem Command="{CompiledBinding NewWindowCommand}" Header="{CompiledBinding NewWindow}" />
|
|
|
+ <NativeMenuItem Command="{CompiledBinding ReloadCommand}" Header="{CompiledBinding Reload, Mode=OneWay}" />
|
|
|
+ <NativeMenuItem Command="{CompiledBinding NewWindowCommand}" Header="{CompiledBinding NewWindow, Mode=OneWay}" />
|
|
|
<NativeMenuItemSeparator />
|
|
|
- <NativeMenuItem Command="{CompiledBinding RenameCommand}" Header="{CompiledBinding RenameFile}" />
|
|
|
+ <NativeMenuItem Command="{CompiledBinding RenameCommand}" Header="{CompiledBinding RenameFile, Mode=OneWay}" />
|
|
|
<NativeMenuItemSeparator />
|
|
|
- <NativeMenuItem Command="{CompiledBinding PasteCommand}" Header="{CompiledBinding FilePaste}" />
|
|
|
+ <NativeMenuItem Command="{CompiledBinding PasteCommand}" Header="{CompiledBinding FilePaste, Mode=OneWay}" />
|
|
|
<NativeMenuItemSeparator />
|
|
|
<NativeMenuItem
|
|
|
Command="{CompiledBinding CopyFileCommand}"
|
|
|
CommandParameter="{CompiledBinding FileInfo.FullName,
|
|
|
FallbackValue=''}"
|
|
|
- Header="{CompiledBinding CopyFile}" />
|
|
|
- <NativeMenuItem Command="{CompiledBinding CopyImageCommand}" Header="{CompiledBinding CopyImage}" />
|
|
|
- <NativeMenuItem Command="{CompiledBinding CopyFilePathCommand}" Header="{CompiledBinding FileCopyPath}" />
|
|
|
+ Header="{CompiledBinding CopyFile,
|
|
|
+ Mode=OneWay}" />
|
|
|
+ <NativeMenuItem Command="{CompiledBinding CopyImageCommand}" Header="{CompiledBinding CopyImage, Mode=OneWay}" />
|
|
|
+ <NativeMenuItem Command="{CompiledBinding CopyFilePathCommand}" Header="{CompiledBinding FileCopyPath, Mode=OneWay}" />
|
|
|
<NativeMenuItem
|
|
|
Command="{CompiledBinding DuplicateFileCommand}"
|
|
|
CommandParameter="{CompiledBinding FileInfo.FullName,
|
|
|
FallbackValue=''}"
|
|
|
- Header="{CompiledBinding DuplicateFile}" />
|
|
|
- <NativeMenuItem Command="{CompiledBinding CutCommand}" Header="{CompiledBinding FileCut}" />
|
|
|
+ Header="{CompiledBinding DuplicateFile,
|
|
|
+ Mode=OneWay}" />
|
|
|
+ <NativeMenuItem Command="{CompiledBinding CutCommand}" Header="{CompiledBinding FileCut, Mode=OneWay}" />
|
|
|
</NativeMenu>
|
|
|
</NativeMenuItem>
|
|
|
- <NativeMenuItem Header="{CompiledBinding ImageTxt}">
|
|
|
+ <NativeMenuItem Header="{CompiledBinding ImageTxt, Mode=OneWay}">
|
|
|
<NativeMenu>
|
|
|
- <NativeMenuItem Command="{CompiledBinding RotateLeftCommand}" Header="{CompiledBinding RotateLeft}" />
|
|
|
- <NativeMenuItem Command="{CompiledBinding RotateRightCommand}" Header="{CompiledBinding RotateRight}" />
|
|
|
- <NativeMenuItem Command="{CompiledBinding FlipCommand}" Header="{CompiledBinding Flip}" />
|
|
|
+ <NativeMenuItem Command="{CompiledBinding RotateLeftCommand}" Header="{CompiledBinding RotateLeft, Mode=OneWay}" />
|
|
|
+ <NativeMenuItem Command="{CompiledBinding RotateRightCommand}" Header="{CompiledBinding RotateRight, Mode=OneWay}" />
|
|
|
+ <NativeMenuItem Command="{CompiledBinding FlipCommand}" Header="{CompiledBinding Flip, Mode=OneWay}" />
|
|
|
<NativeMenuItemSeparator />
|
|
|
- <NativeMenuItem Command="{CompiledBinding CropCommand}" Header="{CompiledBinding Crop}" />
|
|
|
+ <NativeMenuItem Command="{CompiledBinding CropCommand}" Header="{CompiledBinding Crop, Mode=OneWay}" />
|
|
|
<NativeMenuItemSeparator />
|
|
|
<NativeMenuItem
|
|
|
Command="{CompiledBinding SetAsWallpaperCommand}"
|
|
|
CommandParameter="{CompiledBinding FileInfo.FullName,
|
|
|
FallbackValue=''}"
|
|
|
- Header="{CompiledBinding SetAsWallpaper}" />
|
|
|
+ Header="{CompiledBinding SetAsWallpaper,
|
|
|
+ Mode=OneWay}" />
|
|
|
<NativeMenuItem
|
|
|
Command="{CompiledBinding SetAsLockScreenCommand}"
|
|
|
CommandParameter="{CompiledBinding FileInfo.FullName,
|
|
|
FallbackValue=''}"
|
|
|
- Header="{CompiledBinding SetAsLockScreenImage}" />
|
|
|
+ Header="{CompiledBinding SetAsLockScreenImage,
|
|
|
+ Mode=OneWay}" />
|
|
|
<NativeMenuItemSeparator />
|
|
|
- <NativeMenuItem Command="{CompiledBinding ChangeBackgroundCommand}" Header="{CompiledBinding ChangeBackground}" />
|
|
|
+ <NativeMenuItem Command="{CompiledBinding ChangeBackgroundCommand}" Header="{CompiledBinding ChangeBackground, Mode=OneWay}" />
|
|
|
<NativeMenuItemSeparator />
|
|
|
<NativeMenuItem Header="{CompiledBinding Slideshow}" />
|
|
|
<NativeMenuItemSeparator />
|
|
|
- <NativeMenuItem Command="{CompiledBinding ShowExifWindowCommand}" Header="{CompiledBinding ImageInfo}" />
|
|
|
+ <NativeMenuItem Command="{CompiledBinding ShowExifWindowCommand}" Header="{CompiledBinding ImageInfo, Mode=OneWay}" />
|
|
|
<NativeMenuItem Header="{CompiledBinding FileProperties}" />
|
|
|
<NativeMenuItemSeparator />
|
|
|
<NativeMenuItem Header="{CompiledBinding ResizeImage}" />
|
|
|
<NativeMenuItem Header="{CompiledBinding BatchResize}" />
|
|
|
<NativeMenuItemSeparator />
|
|
|
- <NativeMenuItem Command="{CompiledBinding OptimizeImageCommand}" Header="{CompiledBinding OptimizeImage}" />
|
|
|
+ <NativeMenuItem Command="{CompiledBinding OptimizeImageCommand}" Header="{CompiledBinding OptimizeImage, Mode=OneWay}" />
|
|
|
<NativeMenuItemSeparator />
|
|
|
<NativeMenuItem Header="{CompiledBinding Effects}" />
|
|
|
</NativeMenu>
|
|
|
</NativeMenuItem>
|
|
|
<NativeMenuItem Header="{CompiledBinding InterfaceConfiguration}">
|
|
|
<NativeMenu>
|
|
|
- <NativeMenuItem Command="{CompiledBinding ToggleFullscreenCommand}" Header="{CompiledBinding ToggleFullscreen}" />
|
|
|
+ <NativeMenuItem Command="{CompiledBinding ToggleFullscreenCommand}" Header="{CompiledBinding ToggleFullscreen, Mode=OneWay}" />
|
|
|
<NativeMenuItem
|
|
|
Command="{CompiledBinding ChangeAutoFitCommand}"
|
|
|
Header="{CompiledBinding AutoFitWindow}"
|
|
|
IsChecked="{CompiledBinding IsAutoFit}"
|
|
|
ToggleType="CheckBox" />
|
|
|
- <NativeMenuItem Command="{CompiledBinding ToggleUICommand}" Header="{CompiledBinding HideShowInterface}" />
|
|
|
- <NativeMenuItem Command="{CompiledBinding ToggleGalleryCommand}" Header="{CompiledBinding ShowImageGallery}" />
|
|
|
+ <NativeMenuItem Command="{CompiledBinding ToggleUICommand}" Header="{CompiledBinding GetIsShowingUITranslation, Mode=OneWay}" />
|
|
|
+ <NativeMenuItem Command="{CompiledBinding ToggleGalleryCommand}" Header="{CompiledBinding ShowImageGallery, Mode=OneWay}" />
|
|
|
|
|
|
</NativeMenu>
|
|
|
</NativeMenuItem>
|
|
|
@@ -127,7 +133,7 @@
|
|
|
<NativeMenuItem
|
|
|
Command="{CompiledBinding ToggleScrollCommand}"
|
|
|
Header="{CompiledBinding ToggleScroll}"
|
|
|
- IsChecked="{CompiledBinding GetScrolling}"
|
|
|
+ IsChecked="{CompiledBinding GetIsScrollingTranslation}"
|
|
|
ToggleType="CheckBox" />
|
|
|
<NativeMenuItemSeparator />
|
|
|
<NativeMenuItem
|