|
@@ -687,24 +687,7 @@
|
|
|
Header="{CompiledBinding Translation.SetAsWallpaper,
|
|
|
Mode=OneWay}"
|
|
|
IsEnabled="{CompiledBinding PicViewer.ImageSource,
|
|
|
- Converter={x:Static ObjectConverters.IsNotNull}}"
|
|
|
- x:Name="MacOSWallpaperMenuItem">
|
|
|
- <MenuItem.Icon>
|
|
|
- <Path
|
|
|
- Data="{StaticResource PanoramaGeometry}"
|
|
|
- Fill="{StaticResource Brush0}"
|
|
|
- Height="10.40"
|
|
|
- Stretch="Fill"
|
|
|
- Width="13" />
|
|
|
- </MenuItem.Icon>
|
|
|
- </MenuItem>
|
|
|
-
|
|
|
- <MenuItem
|
|
|
- Header="{CompiledBinding Translation.SetAsWallpaper,
|
|
|
- Mode=OneWay}"
|
|
|
- IsEnabled="{CompiledBinding PicViewer.ImageSource,
|
|
|
- Converter={x:Static ObjectConverters.IsNotNull}}"
|
|
|
- x:Name="WallpaperMenuItem">
|
|
|
+ Converter={x:Static ObjectConverters.IsNotNull}}">
|
|
|
<MenuItem.Icon>
|
|
|
<Path
|
|
|
Data="{StaticResource PanoramaGeometry}"
|
|
@@ -713,124 +696,6 @@
|
|
|
Stretch="Fill"
|
|
|
Width="13" />
|
|
|
</MenuItem.Icon>
|
|
|
-
|
|
|
- <!-- Set as wallpaper filled -->
|
|
|
- <MenuItem
|
|
|
- Command="{CompiledBinding SetAsWallpaperFilledCommand}"
|
|
|
- CommandParameter="{CompiledBinding PicViewer.FileInfo.FullName,
|
|
|
- FallbackValue=''}"
|
|
|
- Header="{CompiledBinding Translation.Fill,
|
|
|
- Mode=OneWay}"
|
|
|
- IsEnabled="{CompiledBinding PicViewer.ImageSource,
|
|
|
- Converter={x:Static ObjectConverters.IsNotNull}}">
|
|
|
- <MenuItem.Icon>
|
|
|
- <Path
|
|
|
- Data="{StaticResource PanoramaGeometry}"
|
|
|
- Fill="{StaticResource Brush0}"
|
|
|
- Height="10.40"
|
|
|
- Stretch="Fill"
|
|
|
- Width="13" />
|
|
|
- </MenuItem.Icon>
|
|
|
- </MenuItem>
|
|
|
-
|
|
|
- <!-- Set as wallpaper fit -->
|
|
|
- <MenuItem
|
|
|
- Command="{CompiledBinding SetAsWallpaperCommand}"
|
|
|
- CommandParameter="{CompiledBinding PicViewer.FileInfo.FullName,
|
|
|
- FallbackValue=''}"
|
|
|
- Header="{CompiledBinding Translation.Fit,
|
|
|
- Mode=OneWay}"
|
|
|
- IsEnabled="{CompiledBinding PicViewer.ImageSource,
|
|
|
- Converter={x:Static ObjectConverters.IsNotNull}}">
|
|
|
- <MenuItem.Icon>
|
|
|
- <Path
|
|
|
- Data="{StaticResource PanoramaGeometry}"
|
|
|
- Fill="{StaticResource Brush0}"
|
|
|
- Height="10.40"
|
|
|
- Stretch="Fill"
|
|
|
- Width="13" />
|
|
|
- </MenuItem.Icon>
|
|
|
- </MenuItem>
|
|
|
-
|
|
|
- <!-- Set as wallpaper stretched -->
|
|
|
- <MenuItem
|
|
|
- Command="{CompiledBinding SetAsWallpaperStretchedCommand}"
|
|
|
- CommandParameter="{CompiledBinding PicViewer.FileInfo.FullName,
|
|
|
- FallbackValue=''}"
|
|
|
- Header="{CompiledBinding Translation.Stretch,
|
|
|
- Mode=OneWay}"
|
|
|
- IsEnabled="{CompiledBinding PicViewer.ImageSource,
|
|
|
- Converter={x:Static ObjectConverters.IsNotNull}}">
|
|
|
- <MenuItem.Icon>
|
|
|
- <Path
|
|
|
- Data="{StaticResource PanoramaGeometry}"
|
|
|
- Fill="{StaticResource Brush0}"
|
|
|
- Height="10.40"
|
|
|
- Stretch="Fill"
|
|
|
- Width="13" />
|
|
|
- </MenuItem.Icon>
|
|
|
- </MenuItem>
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- <!-- Set as wallpaper centered -->
|
|
|
- <MenuItem
|
|
|
- Command="{CompiledBinding SetAsWallpaperCenteredCommand}"
|
|
|
- CommandParameter="{CompiledBinding PicViewer.FileInfo.FullName,
|
|
|
- FallbackValue=''}"
|
|
|
- Header="{CompiledBinding Translation.Center,
|
|
|
- Mode=OneWay}"
|
|
|
- IsEnabled="{CompiledBinding PicViewer.ImageSource,
|
|
|
- Converter={x:Static ObjectConverters.IsNotNull}}">
|
|
|
- <MenuItem.Icon>
|
|
|
- <Path
|
|
|
- Data="{StaticResource PanoramaGeometry}"
|
|
|
- Fill="{StaticResource Brush0}"
|
|
|
- Height="10.40"
|
|
|
- Stretch="Fill"
|
|
|
- Width="13" />
|
|
|
- </MenuItem.Icon>
|
|
|
- </MenuItem>
|
|
|
-
|
|
|
- <!-- Set as wallpaper tiled -->
|
|
|
- <MenuItem
|
|
|
- Command="{CompiledBinding SetAsWallpaperTiledCommand}"
|
|
|
- CommandParameter="{CompiledBinding PicViewer.FileInfo.FullName,
|
|
|
- FallbackValue=''}"
|
|
|
- Header="{CompiledBinding Translation.Tile,
|
|
|
- Mode=OneWay}"
|
|
|
- IsEnabled="{CompiledBinding PicViewer.ImageSource,
|
|
|
- Converter={x:Static ObjectConverters.IsNotNull}}">
|
|
|
- <MenuItem.Icon>
|
|
|
- <Path
|
|
|
- Data="{StaticResource PanoramaGeometry}"
|
|
|
- Fill="{StaticResource Brush0}"
|
|
|
- Height="10.40"
|
|
|
- Stretch="Fill"
|
|
|
- Width="13" />
|
|
|
- </MenuItem.Icon>
|
|
|
- </MenuItem>
|
|
|
-
|
|
|
- <!-- <Separator /> -->
|
|
|
- <!-- -->
|
|
|
- <!-- ~1~ Set as lock screen @1@ -->
|
|
|
- <!-- <MenuItem -->
|
|
|
- <!-- Command="{CompiledBinding SetAsLockScreenCommand}" -->
|
|
|
- <!-- CommandParameter="{CompiledBinding FileInfo.FullName, -->
|
|
|
- <!-- FallbackValue=''}" -->
|
|
|
- <!-- Header="{CompiledBinding SetAsLockScreenImage, -->
|
|
|
- <!-- Mode=OneWay}" -->
|
|
|
- <!-- IsEnabled="False"> -->
|
|
|
- <!-- <MenuItem.Icon> -->
|
|
|
- <!-- <Path -->
|
|
|
- <!-- Data="{StaticResource PanoramaGeometry}" -->
|
|
|
- <!-- Fill="{StaticResource Brush0}" -->
|
|
|
- <!-- Height="10.40" -->
|
|
|
- <!-- Stretch="Fill" -->
|
|
|
- <!-- Width="13" /> -->
|
|
|
- <!-- </MenuItem.Icon> -->
|
|
|
- <!-- </MenuItem> -->
|
|
|
-
|
|
|
</MenuItem>
|
|
|
|
|
|
<Separator />
|