6 changed files
BExplorer/BetterExplorer | ||
_MainWindow | ||
MainWindow_Tabs.cs | ||
MainWindow_Updating.cs | ||
HelperClasses | ||
Utilities.cs | ||
MainWindow.xaml.cs | ||
Settings | ||
BESettings.cs | ||
Rebracer.xml + | ||
MainWindow_Tabs.cs
/BExplorer/BetterExplorer/_MainWindow/MainWindow_Tabs.cs-5+10/BExplorer/BetterExplorer/_MainWindow/MainWindow_Tabs.cs
Add comment 35
Add comment 36 if (this.tcMain.Items.OfType<Wpf.Controls.TabItem>().Any()) {
Add comment 37 this.NavigationController(sho);
Add comment 38 Minus } else {
Add comment 38 Plus }
Add comment 39 Plus else {
Add comment 39 40 this.SelectTab(this.tcMain.NewTab(sho, true));
Add comment 40 41 }
Add comment 41 42 }
Add comment 61 62
Add comment 62 63 this.SelectTab(tab);
Add comment 63 64 this.bcbc.SetPathWithoutNavigate(str);
Add comment 64 Minus } catch {
Add comment 65 Plus }
Add comment 66 Plus catch {
Add comment 65 67 // AddToLog(String.Format("Unable to load {0} into a tab!", str));
Add comment 66 68 MessageBox.Show("BetterExplorer is unable to load one of the tabs from your last session. Your other tabs are perfectly okay though! \r\n\r\nThis location was unable to be loaded: " + str, "Unable to Create New Tab", MessageBoxButton.OK, MessageBoxImage.Error);
Add comment 67 69 }
Add comment 131 133
Add comment 132 134 mimDocuments = Utilities.Build_MenuItem(this.FindResource("btnctDocumentsCP"), icon: bmpSourceDocuments, onClick: new RoutedEventHandler(this.btnmtDocuments_Click));
Add comment 133 135 micDocuments = Utilities.Build_MenuItem(this.FindResource("btnctDocumentsCP"), icon: bmpSourceDocuments, onClick: new RoutedEventHandler(this.btnctDocuments_Click));
Add comment 134 Minus } catch (Exception) {
Add comment 136 Plus }
Add comment 137 Plus catch (Exception) {
Add comment 135 138 mimDocuments = null;
Add comment 136 139 micDocuments = null;
Add comment 137 140
Add comment 145 148
Add comment 146 149 mimDownloads = Utilities.Build_MenuItem(this.FindResource("btnctDownloadsCP"), icon: bmpSourceDownloads, onClick: new RoutedEventHandler(this.btnmtDounloads_Click));
Add comment 147 150 micDownloads = Utilities.Build_MenuItem(this.FindResource("btnctDownloadsCP"), icon: bmpSourceDownloads, onClick: new RoutedEventHandler(this.btnctDounloads_Click));
Add comment 148 Minus } catch (Exception) {
Add comment 151 Plus }
Add comment 152 Plus catch (Exception) {
Add comment 149 153 micDownloads = null;
Add comment 150 154 mimDownloads = null;
Add comment 151 155
Add comment 189 193 var bmpSource = so.ThumbnailSource(16, ShellThumbnailFormatOption.IconOnly, ShellThumbnailRetrievalOption.Default);
Add comment 190 194 this.btnMoveto.Items.Add(Utilities.Build_MenuItem(item.ShellObject.DisplayName, item.ShellObject, bmpSource, onClick: new RoutedEventHandler(this.mim_Click)));
Add comment 191 195 this.btnCopyto.Items.Add(Utilities.Build_MenuItem(item.ShellObject.DisplayName, item.ShellObject, bmpSource, onClick: new RoutedEventHandler(this.mico_Click)));
Add comment 192 Minus } catch {
Add comment 196 Plus }
Add comment 197 Plus catch {
Add comment 193 198
Add comment 194 199 // Do nothing if ShellItem is not available anymore and close the problematic item
Add comment 195 200 // tcMain.RemoveTabItem(item);
MainWindow_Updating.cs
/BExplorer/BetterExplorer/_MainWindow/MainWindow_Updating.cs/BExplorer/BetterExplorer/_MainWindow/MainWindow_Updating.cs
The file differs only in whitespace.
Utilities.cs
/BExplorer/BetterExplorer/HelperClasses/Utilities.cs/BExplorer/BetterExplorer/HelperClasses/Utilities.cs
The file differs only in whitespace.
MainWindow.xaml.cs
/BExplorer/BetterExplorer/MainWindow.xaml.cs/BExplorer/BetterExplorer/MainWindow.xaml.cs