• R/O
  • SSH
  • HTTPS

scfiler: Commit


Commit MetaInfo

Revision70 (tree)
Time2009-03-02 01:41:51
Authoryuki_sc

Log Message

履歴ビューとドライブバーの表示しないオプションを追加

Change Summary

Incremental Difference

--- SCFiler2/OptionDialog.cs (revision 69)
+++ SCFiler2/OptionDialog.cs (revision 70)
@@ -47,6 +47,8 @@
4747 //■表示タブ
4848 system.Option.FileView.IsHideHiddenFile = this.IsHideHiddenFileCheckBox.Checked;
4949 system.Option.FileView.IsHideSystemFile = this.IsHideSystemFileCheckbox.Checked;
50+ system.Option.FileView.IsDisplayDriveToolbar = !this.IsHideDriveToolbarCheckbox.Checked;
51+ system.Option.FileView.IsDisplayHistoryView = !this.IsHideHistoryViewCheckbox.Checked;
5052
5153 //■色タブ
5254 system.Option.Color.ActiveViewTitleText = colorActiveViewTitle.ForegroundColor;
@@ -144,6 +146,8 @@
144146 //■表示タブ
145147 this.IsHideHiddenFileCheckBox.Checked = system.Option.FileView.IsHideHiddenFile;
146148 this.IsHideSystemFileCheckbox.Checked = system.Option.FileView.IsHideSystemFile;
149+ this.IsHideDriveToolbarCheckbox.Checked = !system.Option.FileView.IsDisplayDriveToolbar;
150+ this.IsHideHistoryViewCheckbox.Checked = !system.Option.FileView.IsDisplayHistoryView;
147151
148152 //■履歴タブ
149153 historyview1ValidExtensionsString.Text = MainForm.Instance.FileHistoryManager1.GetValidExtension();
--- SCFiler2/MainForm.cs (revision 69)
+++ SCFiler2/MainForm.cs (revision 70)
@@ -138,7 +138,11 @@
138138 incrementProgressbarDelegate = new IncrementProgressbarDelegate(IncrementProgressbar);
139139 printToJobInfoAreaDelegate = new PrintToJobInfoAreaDelegate(PrintToJobInfoArea);
140140
141- InitializeComponent();
141+ InitializeComponent();
142+
143+ //非表示のものを設定
144+ this.driveToolbar.Visible = SCFiler2System.Instance.Option.FileView.IsDisplayDriveToolbar;
145+ this.Level1_SplitContainer.Panel2Collapsed = !SCFiler2System.Instance.Option.FileView.IsDisplayHistoryView;
142146 }
143147
144148 /// <summary>
--- SCFiler2/SCFiler2System.cs (revision 69)
+++ SCFiler2/SCFiler2System.cs (revision 70)
@@ -58,6 +58,8 @@
5858 public List<string> excludeExtensions = new List<string>();
5959 public bool IsHideHiddenFile = false;
6060 public bool IsHideSystemFile = true;
61+ public bool IsDisplayDriveToolbar = true;
62+ public bool IsDisplayHistoryView = true;
6163
6264 public void Save() {
6365 OptionUtil.Save("FileViewOption", this);
--- SCFiler2/OptionDialog.Designer.cs (revision 69)
+++ SCFiler2/OptionDialog.Designer.cs (revision 70)
@@ -42,6 +42,7 @@
4242 this.tabPage3 = new System.Windows.Forms.TabPage();
4343 this.changeDriveByNumkeyCheckbox = new System.Windows.Forms.CheckBox();
4444 this.tabPage7 = new System.Windows.Forms.TabPage();
45+ this.IsHideDriveToolbarCheckbox = new System.Windows.Forms.CheckBox();
4546 this.label6 = new System.Windows.Forms.Label();
4647 this.excludeExtension = new System.Windows.Forms.TextBox();
4748 this.IsHideSystemFileCheckbox = new System.Windows.Forms.CheckBox();
@@ -54,6 +55,9 @@
5455 this.historyview2ValidExtensionsString = new System.Windows.Forms.TextBox();
5556 this.historyview1ValidExtensionsString = new System.Windows.Forms.TextBox();
5657 this.tabPage5 = new System.Windows.Forms.TabPage();
58+ this.colorInactiveViewTitle = new SCFiler2.ColorAssignControl();
59+ this.colorActiveViewTitle = new SCFiler2.ColorAssignControl();
60+ this.colorFocusedWithoutSelectedListViewItem = new SCFiler2.ColorAssignControl();
5761 this.tabPage6 = new System.Windows.Forms.TabPage();
5862 this.label12 = new System.Windows.Forms.Label();
5963 this.label11 = new System.Windows.Forms.Label();
@@ -61,6 +65,11 @@
6165 this.label9 = new System.Windows.Forms.Label();
6266 this.label8 = new System.Windows.Forms.Label();
6367 this.label7 = new System.Windows.Forms.Label();
68+ this.externalToolAssignControl5 = new SCFiler2.ExternalToolAssignControl();
69+ this.externalToolAssignControl4 = new SCFiler2.ExternalToolAssignControl();
70+ this.externalToolAssignControl3 = new SCFiler2.ExternalToolAssignControl();
71+ this.externalToolAssignControl2 = new SCFiler2.ExternalToolAssignControl();
72+ this.externalToolAssignControl1 = new SCFiler2.ExternalToolAssignControl();
6473 this.tabPage8 = new System.Windows.Forms.TabPage();
6574 this.IsUseExeIconCheckBox = new System.Windows.Forms.CheckBox();
6675 this.groupBox1 = new System.Windows.Forms.GroupBox();
@@ -88,14 +97,7 @@
8897 this.cancel_button = new System.Windows.Forms.Button();
8998 this.ok_button = new System.Windows.Forms.Button();
9099 this.colorDialog = new System.Windows.Forms.ColorDialog();
91- this.colorInactiveViewTitle = new SCFiler2.ColorAssignControl();
92- this.colorActiveViewTitle = new SCFiler2.ColorAssignControl();
93- this.colorFocusedWithoutSelectedListViewItem = new SCFiler2.ColorAssignControl();
94- this.externalToolAssignControl5 = new SCFiler2.ExternalToolAssignControl();
95- this.externalToolAssignControl4 = new SCFiler2.ExternalToolAssignControl();
96- this.externalToolAssignControl3 = new SCFiler2.ExternalToolAssignControl();
97- this.externalToolAssignControl2 = new SCFiler2.ExternalToolAssignControl();
98- this.externalToolAssignControl1 = new SCFiler2.ExternalToolAssignControl();
100+ this.IsHideHistoryViewCheckbox = new System.Windows.Forms.CheckBox();
99101 this.tabControl1.SuspendLayout();
100102 this.tabPage1.SuspendLayout();
101103 this.tabPage2.SuspendLayout();
@@ -316,6 +318,8 @@
316318 //
317319 // tabPage7
318320 //
321+ this.tabPage7.Controls.Add(this.IsHideHistoryViewCheckbox);
322+ this.tabPage7.Controls.Add(this.IsHideDriveToolbarCheckbox);
319323 this.tabPage7.Controls.Add(this.label6);
320324 this.tabPage7.Controls.Add(this.excludeExtension);
321325 this.tabPage7.Controls.Add(this.IsHideSystemFileCheckbox);
@@ -328,6 +332,16 @@
328332 this.tabPage7.Text = "表示";
329333 this.tabPage7.UseVisualStyleBackColor = true;
330334 //
335+ // IsHideDriveToolbar
336+ //
337+ this.IsHideDriveToolbarCheckbox.AutoSize = true;
338+ this.IsHideDriveToolbarCheckbox.Location = new System.Drawing.Point(6, 112);
339+ this.IsHideDriveToolbarCheckbox.Name = "IsHideDriveToolbar";
340+ this.IsHideDriveToolbarCheckbox.Size = new System.Drawing.Size(272, 16);
341+ this.IsHideDriveToolbarCheckbox.TabIndex = 6;
342+ this.IsHideDriveToolbarCheckbox.Text = "ドライブツールバーは表示しない (次回起動より有効)";
343+ this.IsHideDriveToolbarCheckbox.UseVisualStyleBackColor = true;
344+ //
331345 // label6
332346 //
333347 this.label6.AutoSize = true;
@@ -444,6 +458,27 @@
444458 this.tabPage5.Text = "色";
445459 this.tabPage5.UseVisualStyleBackColor = true;
446460 //
461+ // colorInactiveViewTitle
462+ //
463+ this.colorInactiveViewTitle.Location = new System.Drawing.Point(8, 37);
464+ this.colorInactiveViewTitle.Name = "colorInactiveViewTitle";
465+ this.colorInactiveViewTitle.Size = new System.Drawing.Size(293, 27);
466+ this.colorInactiveViewTitle.TabIndex = 8;
467+ //
468+ // colorActiveViewTitle
469+ //
470+ this.colorActiveViewTitle.Location = new System.Drawing.Point(8, 6);
471+ this.colorActiveViewTitle.Name = "colorActiveViewTitle";
472+ this.colorActiveViewTitle.Size = new System.Drawing.Size(293, 27);
473+ this.colorActiveViewTitle.TabIndex = 7;
474+ //
475+ // colorFocusedWithoutSelectedListViewItem
476+ //
477+ this.colorFocusedWithoutSelectedListViewItem.Location = new System.Drawing.Point(8, 68);
478+ this.colorFocusedWithoutSelectedListViewItem.Name = "colorFocusedWithoutSelectedListViewItem";
479+ this.colorFocusedWithoutSelectedListViewItem.Size = new System.Drawing.Size(293, 27);
480+ this.colorFocusedWithoutSelectedListViewItem.TabIndex = 6;
481+ //
447482 // tabPage6
448483 //
449484 this.tabPage6.Controls.Add(this.label12);
@@ -519,6 +554,41 @@
519554 this.label7.TabIndex = 1;
520555 this.label7.Text = "タイトル";
521556 //
557+ // externalToolAssignControl5
558+ //
559+ this.externalToolAssignControl5.Location = new System.Drawing.Point(8, 141);
560+ this.externalToolAssignControl5.Name = "externalToolAssignControl5";
561+ this.externalToolAssignControl5.Size = new System.Drawing.Size(548, 29);
562+ this.externalToolAssignControl5.TabIndex = 7;
563+ //
564+ // externalToolAssignControl4
565+ //
566+ this.externalToolAssignControl4.Location = new System.Drawing.Point(8, 112);
567+ this.externalToolAssignControl4.Name = "externalToolAssignControl4";
568+ this.externalToolAssignControl4.Size = new System.Drawing.Size(548, 29);
569+ this.externalToolAssignControl4.TabIndex = 6;
570+ //
571+ // externalToolAssignControl3
572+ //
573+ this.externalToolAssignControl3.Location = new System.Drawing.Point(8, 83);
574+ this.externalToolAssignControl3.Name = "externalToolAssignControl3";
575+ this.externalToolAssignControl3.Size = new System.Drawing.Size(548, 29);
576+ this.externalToolAssignControl3.TabIndex = 5;
577+ //
578+ // externalToolAssignControl2
579+ //
580+ this.externalToolAssignControl2.Location = new System.Drawing.Point(8, 54);
581+ this.externalToolAssignControl2.Name = "externalToolAssignControl2";
582+ this.externalToolAssignControl2.Size = new System.Drawing.Size(548, 29);
583+ this.externalToolAssignControl2.TabIndex = 4;
584+ //
585+ // externalToolAssignControl1
586+ //
587+ this.externalToolAssignControl1.Location = new System.Drawing.Point(8, 25);
588+ this.externalToolAssignControl1.Name = "externalToolAssignControl1";
589+ this.externalToolAssignControl1.Size = new System.Drawing.Size(548, 29);
590+ this.externalToolAssignControl1.TabIndex = 0;
591+ //
522592 // tabPage8
523593 //
524594 this.tabPage8.Controls.Add(this.IsUseExeIconCheckBox);
@@ -789,62 +859,16 @@
789859 this.colorDialog.AnyColor = true;
790860 this.colorDialog.FullOpen = true;
791861 //
792- // colorInactiveViewTitle
862+ // IsHideHistoryViewCheckbox
793863 //
794- this.colorInactiveViewTitle.Location = new System.Drawing.Point(8, 37);
795- this.colorInactiveViewTitle.Name = "colorInactiveViewTitle";
796- this.colorInactiveViewTitle.Size = new System.Drawing.Size(293, 27);
797- this.colorInactiveViewTitle.TabIndex = 8;
864+ this.IsHideHistoryViewCheckbox.AutoSize = true;
865+ this.IsHideHistoryViewCheckbox.Location = new System.Drawing.Point(6, 134);
866+ this.IsHideHistoryViewCheckbox.Name = "IsHideHistoryViewCheckbox";
867+ this.IsHideHistoryViewCheckbox.Size = new System.Drawing.Size(237, 16);
868+ this.IsHideHistoryViewCheckbox.TabIndex = 7;
869+ this.IsHideHistoryViewCheckbox.Text = "履歴ビューを表示しない (次回起動より有効)";
870+ this.IsHideHistoryViewCheckbox.UseVisualStyleBackColor = true;
798871 //
799- // colorActiveViewTitle
800- //
801- this.colorActiveViewTitle.Location = new System.Drawing.Point(8, 6);
802- this.colorActiveViewTitle.Name = "colorActiveViewTitle";
803- this.colorActiveViewTitle.Size = new System.Drawing.Size(293, 27);
804- this.colorActiveViewTitle.TabIndex = 7;
805- //
806- // colorFocusedWithoutSelectedListViewItem
807- //
808- this.colorFocusedWithoutSelectedListViewItem.Location = new System.Drawing.Point(8, 68);
809- this.colorFocusedWithoutSelectedListViewItem.Name = "colorFocusedWithoutSelectedListViewItem";
810- this.colorFocusedWithoutSelectedListViewItem.Size = new System.Drawing.Size(293, 27);
811- this.colorFocusedWithoutSelectedListViewItem.TabIndex = 6;
812- //
813- // externalToolAssignControl5
814- //
815- this.externalToolAssignControl5.Location = new System.Drawing.Point(8, 141);
816- this.externalToolAssignControl5.Name = "externalToolAssignControl5";
817- this.externalToolAssignControl5.Size = new System.Drawing.Size(548, 29);
818- this.externalToolAssignControl5.TabIndex = 7;
819- //
820- // externalToolAssignControl4
821- //
822- this.externalToolAssignControl4.Location = new System.Drawing.Point(8, 112);
823- this.externalToolAssignControl4.Name = "externalToolAssignControl4";
824- this.externalToolAssignControl4.Size = new System.Drawing.Size(548, 29);
825- this.externalToolAssignControl4.TabIndex = 6;
826- //
827- // externalToolAssignControl3
828- //
829- this.externalToolAssignControl3.Location = new System.Drawing.Point(8, 83);
830- this.externalToolAssignControl3.Name = "externalToolAssignControl3";
831- this.externalToolAssignControl3.Size = new System.Drawing.Size(548, 29);
832- this.externalToolAssignControl3.TabIndex = 5;
833- //
834- // externalToolAssignControl2
835- //
836- this.externalToolAssignControl2.Location = new System.Drawing.Point(8, 54);
837- this.externalToolAssignControl2.Name = "externalToolAssignControl2";
838- this.externalToolAssignControl2.Size = new System.Drawing.Size(548, 29);
839- this.externalToolAssignControl2.TabIndex = 4;
840- //
841- // externalToolAssignControl1
842- //
843- this.externalToolAssignControl1.Location = new System.Drawing.Point(8, 25);
844- this.externalToolAssignControl1.Name = "externalToolAssignControl1";
845- this.externalToolAssignControl1.Size = new System.Drawing.Size(548, 29);
846- this.externalToolAssignControl1.TabIndex = 0;
847- //
848872 // OptionDialog
849873 //
850874 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
@@ -955,5 +979,7 @@
955979 private System.Windows.Forms.Button button1;
956980 private System.Windows.Forms.Label label17;
957981 private System.Windows.Forms.Label label16;
982+ private System.Windows.Forms.CheckBox IsHideDriveToolbarCheckbox;
983+ private System.Windows.Forms.CheckBox IsHideHistoryViewCheckbox;
958984 }
959985 }
\ No newline at end of file
--- SCFiler2/bin/Release/ReleaseNote.txt (revision 69)
+++ SCFiler2/bin/Release/ReleaseNote.txt (revision 70)
@@ -2,6 +2,7 @@
22
33 ■0.33
44 ・「ドライブ一覧に移動」コマンドを追加
5+・「ドライブツールバーを表示しない」「履歴ビューを表示しない」のオプションを追加
56 ・「名前の変更」ダイアログの初期状態は、拡張子をのぞいて選択しておくようにした
67  また各ドライブのルートで一つ上のフォルダに移動コマンドを使用してもドライブ一覧を表示
78 ・スペースキーで選択機能が動作しなくなっていた不具合を修正
Show on old repository browser