@@ -101,7 +101,7 @@ public async void DetectQuickLook()
101
101
catch ( Exception ex )
102
102
{
103
103
NLog . LogManager . GetCurrentClassLogger ( ) . Warn ( ex , ex . Message ) ;
104
- }
104
+ }
105
105
}
106
106
107
107
private void DetectRecycleBinPreference ( )
@@ -229,23 +229,7 @@ public TimeStyle DisplayedTimeStyle
229
229
}
230
230
}
231
231
232
- public string OneDriveCommercialPath { get ; set ; } = Environment . GetEnvironmentVariable ( "OneDriveCommercial" ) ;
233
- public string OneDrivePath { get ; set ; } = Environment . GetEnvironmentVariable ( "OneDriveConsumer" ) ;
234
-
235
- public bool ShowFileOwner
236
- {
237
- get => Get ( false ) ;
238
- set => Set ( value ) ;
239
- }
240
-
241
- /// <summary>
242
- /// Gets or sets a value indicating whether or not to cache files and folders.
243
- /// </summary>
244
- public bool UseFileListCache
245
- {
246
- get => Get ( false ) ;
247
- set => Set ( value ) ;
248
- }
232
+ #region DetailsView Column Settings
249
233
250
234
/// <summary>
251
235
/// Gets or sets a value indicating whether or not the date column should be visible.
@@ -274,10 +258,12 @@ public bool ShowSizeColumn
274
258
set => Set ( value ) ;
275
259
}
276
260
277
- #region CommonPaths
261
+ #endregion
278
262
279
- // Any distinguishable path here is fine
263
+ #region CommonPaths
280
264
265
+ public string OneDriveCommercialPath { get ; set ; } = Environment . GetEnvironmentVariable ( "OneDriveCommercial" ) ;
266
+ public string OneDrivePath { get ; set ; } = Environment . GetEnvironmentVariable ( "OneDriveConsumer" ) ;
281
267
public string DesktopPath { get ; set ; } = UserDataPaths . GetDefault ( ) . Desktop ;
282
268
public string DocumentsPath { get ; set ; } = UserDataPaths . GetDefault ( ) . Documents ;
283
269
public string DownloadsPath { get ; set ; } = UserDataPaths . GetDefault ( ) . Downloads ;
@@ -601,30 +587,30 @@ public bool ShowOpenInNewTabMenuItem
601
587
602
588
#endregion Appearance
603
589
590
+ #region Experimental
591
+
604
592
/// <summary>
605
- /// Gets or sets a value indicating whether or not WSL is supported .
593
+ /// Gets or sets a value indicating whether or not to show the item owner in the properties window .
606
594
/// </summary>
607
- public bool AreLinuxFilesSupported
595
+ public bool ShowFileOwner
608
596
{
609
597
get => Get ( false ) ;
610
598
set => Set ( value ) ;
611
599
}
612
600
613
- public bool OpenNewTabPageOnStartup
614
- {
615
- get => Get ( true ) ;
616
- set => Set ( value ) ;
617
- }
618
-
619
601
/// <summary>
620
- /// Gets or sets a value indicating whether or not to show a teaching tip informing the user about the status center .
602
+ /// Gets or sets a value indicating whether or not to cache files and folders .
621
603
/// </summary>
622
- public bool ShowStatusCenterTeachingTip
604
+ public bool UseFileListCache
623
605
{
624
606
get => Get ( true ) ;
625
607
set => Set ( value ) ;
626
608
}
627
609
610
+ #endregion Experimental
611
+
612
+ #region Startup
613
+
628
614
/// <summary>
629
615
/// Gets or sets a value indicating whether or not to navigate to a specific location when launching the app.
630
616
/// </summary>
@@ -635,29 +621,29 @@ public bool OpenASpecificPageOnStartup
635
621
}
636
622
637
623
/// <summary>
638
- /// Gets or sets a value indicating whether or not continue the last session whenever the app is launched .
624
+ /// Gets or sets a value indicating the default startup location .
639
625
/// </summary>
640
- public bool ContinueLastSessionOnStartUp
626
+ public string OpenASpecificPageOnStartupPath
641
627
{
642
- get => Get ( false ) ;
628
+ get => Get ( "" ) ;
643
629
set => Set ( value ) ;
644
630
}
645
631
646
632
/// <summary>
647
- /// Gets or sets a value indicating whether or not to restore tabs after restarting the app.
633
+ /// Gets or sets a value indicating whether or not continue the last session whenever the app is launched .
648
634
/// </summary>
649
- public bool ResumeAfterRestart
635
+ public bool ContinueLastSessionOnStartUp
650
636
{
651
637
get => Get ( false ) ;
652
638
set => Set ( value ) ;
653
639
}
654
640
655
641
/// <summary>
656
- /// Gets or sets a value indicating the default startup location .
642
+ /// Gets or sets a value indicating whether or not to open a page when the app is launched .
657
643
/// </summary>
658
- public string OpenASpecificPageOnStartupPath
644
+ public bool OpenNewTabPageOnStartup
659
645
{
660
- get => Get ( "" ) ;
646
+ get => Get ( true ) ;
661
647
set => Set ( value ) ;
662
648
}
663
649
@@ -669,7 +655,7 @@ public bool AlwaysOpenANewInstance
669
655
get => Get ( false ) ;
670
656
set => Set ( value ) ;
671
657
}
672
-
658
+
673
659
public string [ ] PagesOnStartupList
674
660
{
675
661
get => Get < string [ ] > ( null ) ;
@@ -682,6 +668,35 @@ public string[] LastSessionPages
682
668
set => Set ( value ) ;
683
669
}
684
670
671
+ #endregion Startup
672
+
673
+ /// <summary>
674
+ /// Gets or sets a value indicating whether or not WSL is supported.
675
+ /// </summary>
676
+ public bool AreLinuxFilesSupported
677
+ {
678
+ get => Get ( false ) ;
679
+ set => Set ( value ) ;
680
+ }
681
+
682
+ /// <summary>
683
+ /// Gets or sets a value indicating whether or not to show a teaching tip informing the user about the status center.
684
+ /// </summary>
685
+ public bool ShowStatusCenterTeachingTip
686
+ {
687
+ get => Get ( true ) ;
688
+ set => Set ( value ) ;
689
+ }
690
+
691
+ /// <summary>
692
+ /// Gets or sets a value indicating whether or not to restore tabs after restarting the app.
693
+ /// </summary>
694
+ public bool ResumeAfterRestart
695
+ {
696
+ get => Get ( false ) ;
697
+ set => Set ( value ) ;
698
+ }
699
+
685
700
public event EventHandler ThemeModeChanged ;
686
701
687
702
public RelayCommand UpdateThemeElements => new RelayCommand ( ( ) =>
@@ -801,4 +816,4 @@ public void Dispose()
801
816
DrivesManager ? . Dispose ( ) ;
802
817
}
803
818
}
804
- }
819
+ }
0 commit comments