12 changed files
BExplorer/BetterExplorer | ||
BetterExplorer.csproj | ||
MainWindow.xaml.cs | ||
External References | ||
FluentRibbon | ||
ControlzEx.dll | ||
Fluent.dll | ||
MahApps.Metro.dll | ||
Fluent.dll | ||
Fluent.xml | ||
MahApps.Metro.dll | ||
MahApps.Metro.xml | ||
System.Windows.Interactivity.dll | ||
WpfControlLibrary1 | ||
BetterExplorerControls.csproj | ||
SearchBox.xaml | ||
BetterExplorer.csproj
/BExplorer/BetterExplorer/BetterExplorer.csproj-2+2/BExplorer/BetterExplorer/BetterExplorer.csproj
Add comment 143 <Reference Include="ControlzEx">
Add comment 144 <HintPath>..\..\External References\FluentRibbon\ControlzEx.dll</HintPath>
Add comment 145 </Reference>
Add comment 146 Minus <Reference Include="Fluent, Version=3.5.1.198, Culture=neutral, PublicKeyToken=3e436e32a8c5546f, processorArchitecture=MSIL">
Add comment 146 Plus <Reference Include="Fluent, Version=4.0.0.0, Culture=neutral, PublicKeyToken=3e436e32a8c5546f, processorArchitecture=MSIL">
Add comment 147 <SpecificVersion>False</SpecificVersion>
Add comment 148 Minus <HintPath>..\..\External References\Fluent.dll</HintPath>
Add comment 148 Plus <HintPath>..\..\External References\FluentRibbon\Fluent.dll</HintPath>
Add comment 149 </Reference>
Add comment 150 <Reference Include="Google.Apis, Version=1.16.0.0, Culture=neutral, PublicKeyToken=4b01fa6e34db77ab, processorArchitecture=MSIL">
Add comment 151 <HintPath>..\..\packages\Google.Apis.1.16.0\lib\net45\Google.Apis.dll</HintPath>
MainWindow.xaml.cs
/BExplorer/BetterExplorer/MainWindow.xaml.cs-5+3/BExplorer/BetterExplorer/MainWindow.xaml.cs
Add comment 406 }
Add comment 407
Add comment 408 private void SetUpRibbonTabsVisibilityOnSelectOrNavigate(int selectedItemsCount, IListItemEx selectedItem) {
Add comment 409 Minus if (selectedItem == null) return;
Add comment 410 Minus
Add comment 411 409 #region Search Contextual Tab
Add comment 412 410 ctgSearch.Visibility = BooleanToVisibiliy(_ShellListView.CurrentFolder.IsSearchFolder);
Add comment 413 411 if (ctgSearch.Visibility == Visibility.Visible && !_ShellListView.CurrentFolder.IsSearchFolder) {
Add comment 458 456 #endregion
Add comment 459 457
Add comment 460 458 #region Application Context Tab
Add comment 461 Minus ctgExe.Visibility = BooleanToVisibiliy(selectedItemsCount == 1 && !selectedItem.IsFolder && (Path.GetExtension(selectedItem.ParsingName).ToLowerInvariant() == ".exe" || Path.GetExtension(selectedItem.ParsingName).ToLowerInvariant() == ".msi"));
Add comment 459 Plus ctgExe.Visibility = BooleanToVisibiliy(selectedItemsCount == 1 && selectedItem != null && !selectedItem.IsFolder && (Path.GetExtension(selectedItem.ParsingName).ToLowerInvariant() == ".exe" || Path.GetExtension(selectedItem.ParsingName).ToLowerInvariant() == ".msi"));
Add comment 462 460 if (asApplication && ctgExe.Visibility == Visibility.Visible) {
Add comment 463 461 TheRibbon.SelectedTabItem = ctgExe.Items[0];
Add comment 464 462 }
Add comment 465 463 #endregion
Add comment 466 464
Add comment 467 465 #region Image Context Tab
Add comment 468 Minus ctgImage.Visibility = BooleanToVisibiliy(selectedItemsCount == 1 && !selectedItem.IsFolder && Images.Contains(Path.GetExtension(selectedItem.ParsingName).ToLowerInvariant()));
Add comment 466 Plus ctgImage.Visibility = BooleanToVisibiliy(selectedItemsCount == 1 && selectedItem != null && !selectedItem.IsFolder && Images.Contains(Path.GetExtension(selectedItem.ParsingName).ToLowerInvariant()));
Add comment 469 467 if (ctgImage.Visibility == Visibility.Visible) {
Add comment 470 468 try {
Add comment 471 469 if (new FileInfo(selectedItem.ParsingName).Length != 0) {
Add comment 483 481 #endregion
Add comment 484 482
Add comment 485 483 #region Virtual Disk Context Tab
Add comment 486 Minus ctgVirtualDisk.Visibility = BooleanToVisibiliy(selectedItemsCount == 1 && !selectedItem.IsFolder && Path.GetExtension(selectedItem.ParsingName).ToLowerInvariant() == ".iso");
Add comment 484 Plus ctgVirtualDisk.Visibility = BooleanToVisibiliy(selectedItemsCount == 1 && selectedItem != null && !selectedItem.IsFolder && Path.GetExtension(selectedItem.ParsingName).ToLowerInvariant() == ".iso");
Add comment 487 485 if (asVirtualDrive && ctgVirtualDisk.Visibility == Visibility.Visible) {
Add comment 488 486 TheRibbon.SelectedTabItem = ctgVirtualDisk.Items[0];
Add comment 489 487 }
ControlzEx.dll
/External References/FluentRibbon/ControlzEx.dll/External References/FluentRibbon/ControlzEx.dll
Fluent.dll
/External References/FluentRibbon/Fluent.dll/External References/FluentRibbon/Fluent.dll
MahApps.Metro.dll
/External References/FluentRibbon/MahApps.Metro.dll/External References/FluentRibbon/MahApps.Metro.dll
System.Windows.Interactivity.dll
/External References/System.Windows.Interactivity.dll/External References/System.Windows.Interactivity.dll
BetterExplorerControls.csproj
/WpfControlLibrary1/BetterExplorerControls.csproj/WpfControlLibrary1/BetterExplorerControls.csproj