Changeset 7409


Ignore:
Timestamp:
11/22/17 11:28:03 (17 months ago)
Author:
rohit_tandon
Message:

UI changes in Import audio file dialog to include "Import audio files in each section".

Location:
trunk/Obi/Obi
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Obi/Obi/Dialogs/ImportFileSplitSize.Designer.cs

    r6873 r7409  
    5555            this.m_rdbSplitPhrasesOnImport = new System.Windows.Forms.RadioButton(); 
    5656            this.helpProvider1 = new System.Windows.Forms.HelpProvider(); 
     57            this.m_rdbImportAudioInSelectedSection = new System.Windows.Forms.RadioButton(); 
     58            this.m_rdbImportAudioFileInEachSection = new System.Windows.Forms.RadioButton(); 
     59            this.m_rdbCreateAudioFilePerSection = new System.Windows.Forms.RadioButton(); 
    5760            this.m_grpAddFiles.SuspendLayout(); 
    5861            this.m_grpArrangeAudioFiles.SuspendLayout(); 
     
    188191            //  
    189192            resources.ApplyResources(this.m_grpCreateSectionForEachAudioFile, "m_grpCreateSectionForEachAudioFile"); 
     193            this.m_grpCreateSectionForEachAudioFile.Controls.Add(this.m_rdbCreateAudioFilePerSection); 
     194            this.m_grpCreateSectionForEachAudioFile.Controls.Add(this.m_rdbImportAudioFileInEachSection); 
     195            this.m_grpCreateSectionForEachAudioFile.Controls.Add(this.m_rdbImportAudioInSelectedSection); 
    190196            this.m_grpCreateSectionForEachAudioFile.Controls.Add(this.mchktPageIdentificationString); 
    191197            this.m_grpCreateSectionForEachAudioFile.Controls.Add(this.mchkCountToTruncateFromStart); 
     
    247253            //  
    248254            resources.ApplyResources(this.helpProvider1, "helpProvider1"); 
     255            //  
     256            // m_rdbImportAudioInSelectedSection 
     257            //  
     258            resources.ApplyResources(this.m_rdbImportAudioInSelectedSection, "m_rdbImportAudioInSelectedSection"); 
     259            this.m_rdbImportAudioInSelectedSection.Name = "m_rdbImportAudioInSelectedSection"; 
     260            this.helpProvider1.SetShowHelp(this.m_rdbImportAudioInSelectedSection, ((bool)(resources.GetObject("m_rdbImportAudioInSelectedSection.ShowHelp")))); 
     261            this.m_rdbImportAudioInSelectedSection.TabStop = true; 
     262            this.m_rdbImportAudioInSelectedSection.UseVisualStyleBackColor = true; 
     263            //  
     264            // m_rdbImportAudioFileInEachSection 
     265            //  
     266            resources.ApplyResources(this.m_rdbImportAudioFileInEachSection, "m_rdbImportAudioFileInEachSection"); 
     267            this.m_rdbImportAudioFileInEachSection.Name = "m_rdbImportAudioFileInEachSection"; 
     268            this.m_rdbImportAudioFileInEachSection.TabStop = true; 
     269            this.m_rdbImportAudioFileInEachSection.UseVisualStyleBackColor = true; 
     270            this.m_rdbImportAudioFileInEachSection.CheckedChanged += new System.EventHandler(this.m_rdbImportAudioFileInEachSection_CheckedChanged); 
     271            //  
     272            // m_rdbCreateAudioFilePerSection 
     273            //  
     274            resources.ApplyResources(this.m_rdbCreateAudioFilePerSection, "m_rdbCreateAudioFilePerSection"); 
     275            this.m_rdbCreateAudioFilePerSection.Name = "m_rdbCreateAudioFilePerSection"; 
     276            this.m_rdbCreateAudioFilePerSection.TabStop = true; 
     277            this.m_rdbCreateAudioFilePerSection.UseVisualStyleBackColor = true; 
     278            this.m_rdbCreateAudioFilePerSection.CheckedChanged += new System.EventHandler(this.m_rdbCreateAudioFilePerSection_CheckedChanged); 
    249279            //  
    250280            // ImportFileSplitSize 
     
    266296            this.ShowInTaskbar = false; 
    267297            this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide; 
     298            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.ImportFileSplitSize_FormClosing); 
    268299            this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.ImportFileSplitSize_FormClosed); 
    269             this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.ImportFileSplitSize_FormClosing); 
    270300            this.m_grpAddFiles.ResumeLayout(false); 
    271301            this.m_grpArrangeAudioFiles.ResumeLayout(false); 
     
    306336        private System.Windows.Forms.CheckBox mchktPageIdentificationString; 
    307337        private System.Windows.Forms.CheckBox mchkCountToTruncateFromStart; 
     338        private System.Windows.Forms.RadioButton m_rdbImportAudioInSelectedSection; 
     339        private System.Windows.Forms.RadioButton m_rdbImportAudioFileInEachSection; 
     340        private System.Windows.Forms.RadioButton m_rdbCreateAudioFilePerSection; 
    308341    } 
    309342} 
  • trunk/Obi/Obi/Dialogs/ImportFileSplitSize.cs

    r6866 r7409  
    5454            mchkCountToTruncateFromStart.Enabled = 
    5555                mchkToReplaceWithSpace.Enabled = 
    56                 mchktPageIdentificationString.Enabled = mCreateAudioFilePerSectionCheckBox.Checked; 
    57  
    58             if (m_Settings.ImportAudioCreateSectionCheck) 
     56                mchktPageIdentificationString.Enabled = m_rdbCreateAudioFilePerSection.Checked; 
     57 
     58            if (m_Settings.ImportAudioRadioButtonIndex == 1) 
    5959            { 
    6060                m_txtCharToReplaceWithSpace.Enabled = true; 
     
    6363                m_txtPageIdentificationString.Enabled = true; 
    6464 
    65                 mCreateAudioFilePerSectionCheckBox.Checked = true; 
     65                m_rdbCreateAudioFilePerSection.Checked = true; 
    6666                
    6767                mchkToReplaceWithSpace.Checked = true; 
     
    6969                mchktPageIdentificationString.Checked = true; 
    7070            } 
     71            else if (m_Settings.ImportAudioRadioButtonIndex == 2) 
     72            { 
     73                m_rdbImportAudioFileInEachSection.Checked = true; 
     74            } 
     75            else 
     76            { 
     77                m_rdbImportAudioInSelectedSection.Checked = true; 
     78            } 
     79 
    7180            if (settings.ObiFont != this.Font.Name) 
    7281            { 
     
    8089        public bool SplitPhrases { get { return m_rdbSplitPhrasesOnImport.Checked; } } 
    8190 
    82         public bool createSectionForEachPhrase { get { return mCreateAudioFilePerSectionCheckBox.Checked; } } 
     91        public bool createSectionForEachPhrase { get { return m_rdbCreateAudioFilePerSection.Checked; } } 
     92        public bool ImportAudioFilesInEachSection { get { return m_rdbImportAudioFileInEachSection.Checked; } } 
    8393       // public bool SortFileNamesAscending { get { return m_radiobtnYes.Checked; } } 
    8494        public string[] FilesPaths  
     
    97107        public uint MaxPhraseDurationMinutes { get { return mMaxPhraseDurationMinutes; } } 
    98108 
    99         public string PageIdentificationString { get { return mCreateAudioFilePerSectionCheckBox.Checked && mchktPageIdentificationString.Checked && !string.IsNullOrEmpty(m_txtPageIdentificationString.Text)? m_txtPageIdentificationString.Text: null; } } 
    100  
    101         public string CharactersToBeReplacedWithSpaces { get { return mCreateAudioFilePerSectionCheckBox.Checked && mchkToReplaceWithSpace.Checked && !string.IsNullOrEmpty(m_txtCharToReplaceWithSpace.Text)? m_txtCharToReplaceWithSpace.Text: null; } } 
    102  
    103         public int CharacterCountToTruncateFromStart { get { return mCreateAudioFilePerSectionCheckBox.Checked && mchkCountToTruncateFromStart.Checked? Convert.ToInt32(m_numCharCountToTruncateFromStart.Value) : 0 ; } } 
     109        public string PageIdentificationString { get { return m_rdbCreateAudioFilePerSection.Checked && mchktPageIdentificationString.Checked && !string.IsNullOrEmpty(m_txtPageIdentificationString.Text)? m_txtPageIdentificationString.Text: null; } } 
     110 
     111        public string CharactersToBeReplacedWithSpaces { get { return m_rdbCreateAudioFilePerSection.Checked && mchkToReplaceWithSpace.Checked && !string.IsNullOrEmpty(m_txtCharToReplaceWithSpace.Text)? m_txtCharToReplaceWithSpace.Text: null; } } 
     112 
     113        public int CharacterCountToTruncateFromStart { get { return m_rdbCreateAudioFilePerSection.Checked && mchkCountToTruncateFromStart.Checked? Convert.ToInt32(m_numCharCountToTruncateFromStart.Value) : 0 ; } } 
    104114 
    105115        public bool ApplyPhraseDetection { get { return m_rdbPhraseDetectionOnImportedFiles.Checked; } } 
     
    570580        private void ImportFileSplitSize_FormClosed(object sender, FormClosedEventArgs e) 
    571581        { 
    572             if (mCreateAudioFilePerSectionCheckBox.Checked) 
     582            if (m_rdbCreateAudioFilePerSection.Checked) 
    573583            { 
    574584                m_Settings.ImportAudioCreateSectionCheck = true; 
     585                m_Settings.ImportAudioRadioButtonIndex = 1; 
     586            } 
     587            else if (m_rdbImportAudioFileInEachSection.Checked) 
     588            { 
     589                m_Settings.ImportAudioRadioButtonIndex = 2; 
    575590            } 
    576591            else 
    577592            { 
    578593                m_Settings.ImportAudioCreateSectionCheck = false; 
    579             } 
     594                m_Settings.ImportAudioRadioButtonIndex = 0; 
     595            } 
     596        } 
     597 
     598        private void m_rdbCreateAudioFilePerSection_CheckedChanged(object sender, EventArgs e) 
     599        { 
     600            mchkCountToTruncateFromStart.Enabled = 
     601    mchkToReplaceWithSpace.Enabled = 
     602    mchktPageIdentificationString.Enabled = m_rdbCreateAudioFilePerSection.Checked; 
     603            if (m_rdbCreateAudioFilePerSection.Checked) 
     604            { 
     605                m_txtCharToReplaceWithSpace.Enabled = true; 
     606                m_numCharCountToTruncateFromStart.Enabled = true; 
     607                m_txtPageIdentificationString.Enabled = true; 
     608                mchkToReplaceWithSpace.Checked = true; 
     609                mchkCountToTruncateFromStart.Checked = true; 
     610                mchktPageIdentificationString.Checked = true; 
     611            } 
     612            else 
     613            { 
     614                m_txtCharToReplaceWithSpace.Enabled = false; 
     615                m_numCharCountToTruncateFromStart.Enabled = false; 
     616                m_txtPageIdentificationString.Enabled = false; 
     617                mchkToReplaceWithSpace.Checked = false; 
     618                mchkCountToTruncateFromStart.Checked = false; 
     619                mchktPageIdentificationString.Checked = false; 
     620            } 
     621 
     622        } 
     623 
     624        private void m_rdbImportAudioFileInEachSection_CheckedChanged(object sender, EventArgs e) 
     625        { 
     626               
    580627        } 
    581628 
  • trunk/Obi/Obi/Dialogs/ImportFileSplitSize.resx

    r6873 r7409  
    113113  </resheader> 
    114114  <resheader name="reader"> 
    115     <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
     115    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
    116116  </resheader> 
    117117  <resheader name="writer"> 
    118     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
     118    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
    119119  </resheader> 
    120   <assembly alias="mscorlib" name="mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> 
     120  <assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> 
    121121  <data name="label1.AutoSize" type="System.Boolean, mscorlib"> 
    122122    <value>True</value> 
    123123  </data> 
    124   <assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> 
     124  <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> 
    125125  <data name="label1.Location" type="System.Drawing.Point, System.Drawing"> 
    126126    <value>13, 51</value> 
    127127  </data> 
    128   <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> 
     128  <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> 
    129129  <data name="label1.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms"> 
    130130    <value>4, 0, 4, 0</value> 
     
    134134  </data> 
    135135  <data name="label1.TabIndex" type="System.Int32, mscorlib"> 
    136     <value>20</value> 
     136    <value>21</value> 
    137137  </data> 
    138138  <data name="label1.Text" xml:space="preserve"> 
     
    143143  </data> 
    144144  <data name="&gt;&gt;label1.Type" xml:space="preserve"> 
    145     <value>System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
     145    <value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
    146146  </data> 
    147147  <data name="&gt;&gt;label1.Parent" xml:space="preserve"> 
     
    164164  </data> 
    165165  <data name="mPhraseSizeTextBox.TabIndex" type="System.Int32, mscorlib"> 
    166     <value>21</value> 
     166    <value>22</value> 
    167167  </data> 
    168168  <data name="&gt;&gt;mPhraseSizeTextBox.Name" xml:space="preserve"> 
     
    170170  </data> 
    171171  <data name="&gt;&gt;mPhraseSizeTextBox.Type" xml:space="preserve"> 
    172     <value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
     172    <value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
    173173  </data> 
    174174  <data name="&gt;&gt;mPhraseSizeTextBox.Parent" xml:space="preserve"> 
     
    182182  </data> 
    183183  <data name="mOKButton.Location" type="System.Drawing.Point, System.Drawing"> 
    184     <value>40, 465</value> 
     184    <value>40, 566</value> 
    185185  </data> 
    186186  <data name="mOKButton.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms"> 
     
    191191  </data> 
    192192  <data name="mOKButton.TabIndex" type="System.Int32, mscorlib"> 
    193     <value>22</value> 
     193    <value>24</value> 
    194194  </data> 
    195195  <data name="mOKButton.Text" xml:space="preserve"> 
     
    200200  </data> 
    201201  <data name="&gt;&gt;mOKButton.Type" xml:space="preserve"> 
    202     <value>System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
     202    <value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
    203203  </data> 
    204204  <data name="&gt;&gt;mOKButton.Parent" xml:space="preserve"> 
     
    212212  </data> 
    213213  <data name="mCancelButton.Location" type="System.Drawing.Point, System.Drawing"> 
    214     <value>158, 465</value> 
     214    <value>158, 566</value> 
    215215  </data> 
    216216  <data name="mCancelButton.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms"> 
     
    221221  </data> 
    222222  <data name="mCancelButton.TabIndex" type="System.Int32, mscorlib"> 
    223     <value>23</value> 
     223    <value>25</value> 
    224224  </data> 
    225225  <data name="mCancelButton.Text" xml:space="preserve"> 
     
    230230  </data> 
    231231  <data name="&gt;&gt;mCancelButton.Type" xml:space="preserve"> 
    232     <value>System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
     232    <value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
    233233  </data> 
    234234  <data name="&gt;&gt;mCancelButton.Parent" xml:space="preserve"> 
     
    245245  </data> 
    246246  <data name="mCreateAudioFilePerSectionCheckBox.Location" type="System.Drawing.Point, System.Drawing"> 
    247     <value>9, 15</value> 
     247    <value>13, 47</value> 
    248248  </data> 
    249249  <data name="mCreateAudioFilePerSectionCheckBox.Size" type="System.Drawing.Size, System.Drawing"> 
     
    256256    <value>&amp;Create section for each audio file</value> 
    257257  </data> 
     258  <data name="mCreateAudioFilePerSectionCheckBox.Visible" type="System.Boolean, mscorlib"> 
     259    <value>False</value> 
     260  </data> 
    258261  <data name="&gt;&gt;mCreateAudioFilePerSectionCheckBox.Name" xml:space="preserve"> 
    259262    <value>mCreateAudioFilePerSectionCheckBox</value> 
    260263  </data> 
    261264  <data name="&gt;&gt;mCreateAudioFilePerSectionCheckBox.Type" xml:space="preserve"> 
    262     <value>System.Windows.Forms.CheckBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
     265    <value>System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
    263266  </data> 
    264267  <data name="&gt;&gt;mCreateAudioFilePerSectionCheckBox.Parent" xml:space="preserve"> 
     
    266269  </data> 
    267270  <data name="&gt;&gt;mCreateAudioFilePerSectionCheckBox.ZOrder" xml:space="preserve"> 
    268     <value>3</value> 
     271    <value>6</value> 
    269272  </data> 
    270273  <data name="lstManualArrange.AccessibleName" xml:space="preserve"> 
     
    290293  </data> 
    291294  <data name="&gt;&gt;lstManualArrange.Type" xml:space="preserve"> 
    292     <value>System.Windows.Forms.ListBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
     295    <value>System.Windows.Forms.ListBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
    293296  </data> 
    294297  <data name="&gt;&gt;lstManualArrange.Parent" xml:space="preserve"> 
     
    317320  </data> 
    318321  <data name="&gt;&gt;m_btnMoveUp.Type" xml:space="preserve"> 
    319     <value>System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
     322    <value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
    320323  </data> 
    321324  <data name="&gt;&gt;m_btnMoveUp.Parent" xml:space="preserve"> 
     
    344347  </data> 
    345348  <data name="&gt;&gt;m_btnMoveDown.Type" xml:space="preserve"> 
    346     <value>System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
     349    <value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
    347350  </data> 
    348351  <data name="&gt;&gt;m_btnMoveDown.Parent" xml:space="preserve"> 
     
    371374  </data> 
    372375  <data name="&gt;&gt;m_btnAdd.Type" xml:space="preserve"> 
    373     <value>System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
     376    <value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
    374377  </data> 
    375378  <data name="&gt;&gt;m_btnAdd.Parent" xml:space="preserve"> 
     
    401404  </data> 
    402405  <data name="&gt;&gt;m_btnRemove.Type" xml:space="preserve"> 
    403     <value>System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
     406    <value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
    404407  </data> 
    405408  <data name="&gt;&gt;m_btnRemove.Parent" xml:space="preserve"> 
     
    431434  </data> 
    432435  <data name="&gt;&gt;mbtnDesendingOrder.Type" xml:space="preserve"> 
    433     <value>System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
     436    <value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
    434437  </data> 
    435438  <data name="&gt;&gt;mbtnDesendingOrder.Parent" xml:space="preserve"> 
     
    448451    <value>10, 34</value> 
    449452  </data> 
    450   <metadata name="helpProvider1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> 
     453  <metadata name="helpProvider1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> 
    451454    <value>17, 17</value> 
    452455  </metadata> 
     
    470473  </data> 
    471474  <data name="&gt;&gt;mbtnAscendingOrder.Type" xml:space="preserve"> 
    472     <value>System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
     475    <value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
    473476  </data> 
    474477  <data name="&gt;&gt;mbtnAscendingOrder.Parent" xml:space="preserve"> 
     
    494497  </data> 
    495498  <data name="&gt;&gt;m_grpArrangeAudioFiles.Type" xml:space="preserve"> 
    496     <value>System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
     499    <value>System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
    497500  </data> 
    498501  <data name="&gt;&gt;m_grpArrangeAudioFiles.Parent" xml:space="preserve"> 
     
    515518  </data> 
    516519  <data name="&gt;&gt;m_grpAddFiles.Type" xml:space="preserve"> 
    517     <value>System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
     520    <value>System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
    518521  </data> 
    519522  <data name="&gt;&gt;m_grpAddFiles.Parent" xml:space="preserve"> 
     
    530533  </data> 
    531534  <data name="m_txtCharToReplaceWithSpace.Location" type="System.Drawing.Point, System.Drawing"> 
    532     <value>221, 43</value> 
     535    <value>222, 71</value> 
    533536  </data> 
    534537  <data name="m_txtCharToReplaceWithSpace.Size" type="System.Drawing.Size, System.Drawing"> 
     
    536539  </data> 
    537540  <data name="m_txtCharToReplaceWithSpace.TabIndex" type="System.Int32, mscorlib"> 
    538     <value>12</value> 
     541    <value>13</value> 
    539542  </data> 
    540543  <data name="&gt;&gt;m_txtCharToReplaceWithSpace.Name" xml:space="preserve"> 
     
    542545  </data> 
    543546  <data name="&gt;&gt;m_txtCharToReplaceWithSpace.Type" xml:space="preserve"> 
    544     <value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
     547    <value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
    545548  </data> 
    546549  <data name="&gt;&gt;m_txtCharToReplaceWithSpace.Parent" xml:space="preserve"> 
     
    548551  </data> 
    549552  <data name="&gt;&gt;m_txtCharToReplaceWithSpace.ZOrder" xml:space="preserve"> 
    550     <value>4</value> 
     553    <value>7</value> 
    551554  </data> 
    552555  <data name="m_txtPageIdentificationString.AccessibleName" xml:space="preserve"> 
     
    557560  </data> 
    558561  <data name="m_txtPageIdentificationString.Location" type="System.Drawing.Point, System.Drawing"> 
    559     <value>223, 99</value> 
     562    <value>224, 127</value> 
    560563  </data> 
    561564  <data name="m_txtPageIdentificationString.Size" type="System.Drawing.Size, System.Drawing"> 
     
    563566  </data> 
    564567  <data name="m_txtPageIdentificationString.TabIndex" type="System.Int32, mscorlib"> 
    565     <value>16</value> 
     568    <value>17</value> 
    566569  </data> 
    567570  <data name="&gt;&gt;m_txtPageIdentificationString.Name" xml:space="preserve"> 
     
    569572  </data> 
    570573  <data name="&gt;&gt;m_txtPageIdentificationString.Type" xml:space="preserve"> 
    571     <value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
     574    <value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
    572575  </data> 
    573576  <data name="&gt;&gt;m_txtPageIdentificationString.Parent" xml:space="preserve"> 
     
    575578  </data> 
    576579  <data name="&gt;&gt;m_txtPageIdentificationString.ZOrder" xml:space="preserve"> 
    577     <value>6</value> 
     580    <value>9</value> 
    578581  </data> 
    579582  <data name="m_numCharCountToTruncateFromStart.AccessibleName" xml:space="preserve"> 
     
    584587  </data> 
    585588  <data name="m_numCharCountToTruncateFromStart.Location" type="System.Drawing.Point, System.Drawing"> 
    586     <value>223, 71</value> 
     589    <value>224, 99</value> 
    587590  </data> 
    588591  <data name="m_numCharCountToTruncateFromStart.Size" type="System.Drawing.Size, System.Drawing"> 
     
    590593  </data> 
    591594  <data name="m_numCharCountToTruncateFromStart.TabIndex" type="System.Int32, mscorlib"> 
    592     <value>14</value> 
     595    <value>15</value> 
    593596  </data> 
    594597  <data name="&gt;&gt;m_numCharCountToTruncateFromStart.Name" xml:space="preserve"> 
     
    596599  </data> 
    597600  <data name="&gt;&gt;m_numCharCountToTruncateFromStart.Type" xml:space="preserve"> 
    598     <value>System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
     601    <value>System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
    599602  </data> 
    600603  <data name="&gt;&gt;m_numCharCountToTruncateFromStart.Parent" xml:space="preserve"> 
     
    602605  </data> 
    603606  <data name="&gt;&gt;m_numCharCountToTruncateFromStart.ZOrder" xml:space="preserve"> 
    604     <value>5</value> 
     607    <value>8</value> 
    605608  </data> 
    606609  <data name="m_grpCreateSectionForEachAudioFile.AccessibleName" xml:space="preserve"> 
    607610    <value>Group box to create section for each audio file.</value> 
    608611  </data> 
     612  <data name="m_rdbCreateAudioFilePerSection.AutoSize" type="System.Boolean, mscorlib"> 
     613    <value>True</value> 
     614  </data> 
     615  <data name="m_rdbCreateAudioFilePerSection.Location" type="System.Drawing.Point, System.Drawing"> 
     616    <value>10, 47</value> 
     617  </data> 
     618  <data name="m_rdbCreateAudioFilePerSection.Size" type="System.Drawing.Size, System.Drawing"> 
     619    <value>220, 20</value> 
     620  </data> 
     621  <data name="m_rdbCreateAudioFilePerSection.TabIndex" type="System.Int32, mscorlib"> 
     622    <value>11</value> 
     623  </data> 
     624  <data name="m_rdbCreateAudioFilePerSection.Text" xml:space="preserve"> 
     625    <value>&amp;Create section for each audio file</value> 
     626  </data> 
     627  <data name="&gt;&gt;m_rdbCreateAudioFilePerSection.Name" xml:space="preserve"> 
     628    <value>m_rdbCreateAudioFilePerSection</value> 
     629  </data> 
     630  <data name="&gt;&gt;m_rdbCreateAudioFilePerSection.Type" xml:space="preserve"> 
     631    <value>System.Windows.Forms.RadioButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
     632  </data> 
     633  <data name="&gt;&gt;m_rdbCreateAudioFilePerSection.Parent" xml:space="preserve"> 
     634    <value>m_grpCreateSectionForEachAudioFile</value> 
     635  </data> 
     636  <data name="&gt;&gt;m_rdbCreateAudioFilePerSection.ZOrder" xml:space="preserve"> 
     637    <value>0</value> 
     638  </data> 
     639  <data name="m_rdbImportAudioFileInEachSection.AutoSize" type="System.Boolean, mscorlib"> 
     640    <value>True</value> 
     641  </data> 
     642  <data name="m_rdbImportAudioFileInEachSection.Location" type="System.Drawing.Point, System.Drawing"> 
     643    <value>10, 155</value> 
     644  </data> 
     645  <data name="m_rdbImportAudioFileInEachSection.Size" type="System.Drawing.Size, System.Drawing"> 
     646    <value>219, 20</value> 
     647  </data> 
     648  <data name="m_rdbImportAudioFileInEachSection.TabIndex" type="System.Int32, mscorlib"> 
     649    <value>18</value> 
     650  </data> 
     651  <data name="m_rdbImportAudioFileInEachSection.Text" xml:space="preserve"> 
     652    <value>I&amp;mport audio files in each section</value> 
     653  </data> 
     654  <data name="&gt;&gt;m_rdbImportAudioFileInEachSection.Name" xml:space="preserve"> 
     655    <value>m_rdbImportAudioFileInEachSection</value> 
     656  </data> 
     657  <data name="&gt;&gt;m_rdbImportAudioFileInEachSection.Type" xml:space="preserve"> 
     658    <value>System.Windows.Forms.RadioButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
     659  </data> 
     660  <data name="&gt;&gt;m_rdbImportAudioFileInEachSection.Parent" xml:space="preserve"> 
     661    <value>m_grpCreateSectionForEachAudioFile</value> 
     662  </data> 
     663  <data name="&gt;&gt;m_rdbImportAudioFileInEachSection.ZOrder" xml:space="preserve"> 
     664    <value>1</value> 
     665  </data> 
     666  <data name="m_rdbImportAudioInSelectedSection.AutoSize" type="System.Boolean, mscorlib"> 
     667    <value>True</value> 
     668  </data> 
     669  <data name="m_rdbImportAudioInSelectedSection.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms"> 
     670    <value>NoControl</value> 
     671  </data> 
     672  <data name="m_rdbImportAudioInSelectedSection.Location" type="System.Drawing.Point, System.Drawing"> 
     673    <value>11, 21</value> 
     674  </data> 
     675  <data name="m_rdbImportAudioInSelectedSection.ShowHelp" type="System.Boolean, mscorlib"> 
     676    <value>True</value> 
     677  </data> 
     678  <data name="m_rdbImportAudioInSelectedSection.Size" type="System.Drawing.Size, System.Drawing"> 
     679    <value>241, 20</value> 
     680  </data> 
     681  <data name="m_rdbImportAudioInSelectedSection.TabIndex" type="System.Int32, mscorlib"> 
     682    <value>10</value> 
     683  </data> 
     684  <data name="m_rdbImportAudioInSelectedSection.Text" xml:space="preserve"> 
     685    <value>&amp;Import audio files in selected section</value> 
     686  </data> 
     687  <data name="&gt;&gt;m_rdbImportAudioInSelectedSection.Name" xml:space="preserve"> 
     688    <value>m_rdbImportAudioInSelectedSection</value> 
     689  </data> 
     690  <data name="&gt;&gt;m_rdbImportAudioInSelectedSection.Type" xml:space="preserve"> 
     691    <value>System.Windows.Forms.RadioButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
     692  </data> 
     693  <data name="&gt;&gt;m_rdbImportAudioInSelectedSection.Parent" xml:space="preserve"> 
     694    <value>m_grpCreateSectionForEachAudioFile</value> 
     695  </data> 
     696  <data name="&gt;&gt;m_rdbImportAudioInSelectedSection.ZOrder" xml:space="preserve"> 
     697    <value>2</value> 
     698  </data> 
    609699  <data name="mchktPageIdentificationString.AccessibleName" xml:space="preserve"> 
    610700    <value>Page Identification</value> 
     
    614704  </data> 
    615705  <data name="mchktPageIdentificationString.Location" type="System.Drawing.Point, System.Drawing"> 
    616     <value>9, 99</value> 
     706    <value>10, 127</value> 
    617707  </data> 
    618708  <data name="mchktPageIdentificationString.Size" type="System.Drawing.Size, System.Drawing"> 
     
    620710  </data> 
    621711  <data name="mchktPageIdentificationString.TabIndex" type="System.Int32, mscorlib"> 
    622     <value>15</value> 
     712    <value>16</value> 
    623713  </data> 
    624714  <data name="mchktPageIdentificationString.Text" xml:space="preserve"> 
     
    629719  </data> 
    630720  <data name="&gt;&gt;mchktPageIdentificationString.Type" xml:space="preserve"> 
    631     <value>System.Windows.Forms.CheckBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
     721    <value>System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
    632722  </data> 
    633723  <data name="&gt;&gt;mchktPageIdentificationString.Parent" xml:space="preserve"> 
     
    635725  </data> 
    636726  <data name="&gt;&gt;mchktPageIdentificationString.ZOrder" xml:space="preserve"> 
    637     <value>0</value> 
     727    <value>3</value> 
    638728  </data> 
    639729  <data name="mchkCountToTruncateFromStart.AccessibleName" xml:space="preserve"> 
     
    644734  </data> 
    645735  <data name="mchkCountToTruncateFromStart.Location" type="System.Drawing.Point, System.Drawing"> 
    646     <value>10, 73</value> 
     736    <value>11, 101</value> 
    647737  </data> 
    648738  <data name="mchkCountToTruncateFromStart.Size" type="System.Drawing.Size, System.Drawing"> 
     
    650740  </data> 
    651741  <data name="mchkCountToTruncateFromStart.TabIndex" type="System.Int32, mscorlib"> 
    652     <value>13</value> 
     742    <value>14</value> 
    653743  </data> 
    654744  <data name="mchkCountToTruncateFromStart.Text" xml:space="preserve"> 
     
    659749  </data> 
    660750  <data name="&gt;&gt;mchkCountToTruncateFromStart.Type" xml:space="preserve"> 
    661     <value>System.Windows.Forms.CheckBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
     751    <value>System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
    662752  </data> 
    663753  <data name="&gt;&gt;mchkCountToTruncateFromStart.Parent" xml:space="preserve"> 
     
    665755  </data> 
    666756  <data name="&gt;&gt;mchkCountToTruncateFromStart.ZOrder" xml:space="preserve"> 
    667     <value>1</value> 
     757    <value>4</value> 
    668758  </data> 
    669759  <data name="mchkToReplaceWithSpace.AccessibleName" xml:space="preserve"> 
     
    674764  </data> 
    675765  <data name="mchkToReplaceWithSpace.Location" type="System.Drawing.Point, System.Drawing"> 
    676     <value>9, 45</value> 
     766    <value>10, 73</value> 
    677767  </data> 
    678768  <data name="mchkToReplaceWithSpace.Size" type="System.Drawing.Size, System.Drawing"> 
     
    680770  </data> 
    681771  <data name="mchkToReplaceWithSpace.TabIndex" type="System.Int32, mscorlib"> 
    682     <value>11</value> 
     772    <value>12</value> 
    683773  </data> 
    684774  <data name="mchkToReplaceWithSpace.Text" xml:space="preserve"> 
     
    689779  </data> 
    690780  <data name="&gt;&gt;mchkToReplaceWithSpace.Type" xml:space="preserve"> 
    691     <value>System.Windows.Forms.CheckBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
     781    <value>System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
    692782  </data> 
    693783  <data name="&gt;&gt;mchkToReplaceWithSpace.Parent" xml:space="preserve"> 
     
    695785  </data> 
    696786  <data name="&gt;&gt;mchkToReplaceWithSpace.ZOrder" xml:space="preserve"> 
    697     <value>2</value> 
     787    <value>5</value> 
    698788  </data> 
    699789  <data name="m_grpCreateSectionForEachAudioFile.Location" type="System.Drawing.Point, System.Drawing"> 
    700     <value>12, 215</value> 
     790    <value>12, 221</value> 
    701791  </data> 
    702792  <data name="m_grpCreateSectionForEachAudioFile.Size" type="System.Drawing.Size, System.Drawing"> 
    703     <value>329, 127</value> 
     793    <value>329, 193</value> 
    704794  </data> 
    705795  <data name="m_grpCreateSectionForEachAudioFile.TabIndex" type="System.Int32, mscorlib"> 
     
    710800  </data> 
    711801  <data name="&gt;&gt;m_grpCreateSectionForEachAudioFile.Type" xml:space="preserve"> 
    712     <value>System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
     802    <value>System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
    713803  </data> 
    714804  <data name="&gt;&gt;m_grpCreateSectionForEachAudioFile.Parent" xml:space="preserve"> 
     
    728818  </data> 
    729819  <data name="m_rdbPhraseDetectionOnImportedFiles.TabIndex" type="System.Int32, mscorlib"> 
    730     <value>18</value> 
     820    <value>23</value> 
    731821  </data> 
    732822  <data name="m_rdbPhraseDetectionOnImportedFiles.Text" xml:space="preserve"> 
     
    737827  </data> 
    738828  <data name="&gt;&gt;m_rdbPhraseDetectionOnImportedFiles.Type" xml:space="preserve"> 
    739     <value>System.Windows.Forms.RadioButton, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
     829    <value>System.Windows.Forms.RadioButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
    740830  </data> 
    741831  <data name="&gt;&gt;m_rdbPhraseDetectionOnImportedFiles.Parent" xml:space="preserve"> 
     
    755845  </data> 
    756846  <data name="m_rdbSplitPhrasesOnImport.TabIndex" type="System.Int32, mscorlib"> 
    757     <value>19</value> 
     847    <value>20</value> 
    758848  </data> 
    759849  <data name="m_rdbSplitPhrasesOnImport.Text" xml:space="preserve"> 
     
    764854  </data> 
    765855  <data name="&gt;&gt;m_rdbSplitPhrasesOnImport.Type" xml:space="preserve"> 
    766     <value>System.Windows.Forms.RadioButton, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
     856    <value>System.Windows.Forms.RadioButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
    767857  </data> 
    768858  <data name="&gt;&gt;m_rdbSplitPhrasesOnImport.Parent" xml:space="preserve"> 
     
    773863  </data> 
    774864  <data name="m_grpSplitPhraseOrPhraseDetection.Location" type="System.Drawing.Point, System.Drawing"> 
    775     <value>12, 346</value> 
     865    <value>12, 429</value> 
    776866  </data> 
    777867  <data name="m_grpSplitPhraseOrPhraseDetection.Size" type="System.Drawing.Size, System.Drawing"> 
     
    779869  </data> 
    780870  <data name="m_grpSplitPhraseOrPhraseDetection.TabIndex" type="System.Int32, mscorlib"> 
    781     <value>17</value> 
     871    <value>19</value> 
    782872  </data> 
    783873  <data name="&gt;&gt;m_grpSplitPhraseOrPhraseDetection.Name" xml:space="preserve"> 
     
    785875  </data> 
    786876  <data name="&gt;&gt;m_grpSplitPhraseOrPhraseDetection.Type" xml:space="preserve"> 
    787     <value>System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
     877    <value>System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
    788878  </data> 
    789879  <data name="&gt;&gt;m_grpSplitPhraseOrPhraseDetection.Parent" xml:space="preserve"> 
     
    793883    <value>0</value> 
    794884  </data> 
    795   <metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 
     885  <metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 
    796886    <value>True</value> 
    797887  </metadata> 
     
    800890  </data> 
    801891  <data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing"> 
    802     <value>351, 502</value> 
     892    <value>351, 612</value> 
    803893  </data> 
    804894  <data name="$this.Font" type="System.Drawing.Font, System.Drawing"> 
     
    815905  </data> 
    816906  <data name="&gt;&gt;helpProvider1.Type" xml:space="preserve"> 
    817     <value>System.Windows.Forms.HelpProvider, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
     907    <value>System.Windows.Forms.HelpProvider, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
    818908  </data> 
    819909  <data name="&gt;&gt;$this.Name" xml:space="preserve"> 
     
    821911  </data> 
    822912  <data name="&gt;&gt;$this.Type" xml:space="preserve"> 
    823     <value>System.Windows.Forms.Form, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
     913    <value>System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 
    824914  </data> 
    825915</root> 
  • trunk/Obi/Obi/ProjectView/ProjectView.cs

    r7408 r7409  
    27522752                        ObiForm.Settings.SplitPhrasesOnImport = dialog.SplitPhrases; 
    27532753                        bool createSectionForEachPhrase = dialog.createSectionForEachPhrase; 
     2754                        bool ImportAudioFilesInEachSection = dialog.ImportAudioFilesInEachSection; 
    27542755                         // convert from minutes to milliseconds 
    27552756                        double durationMs = dialog.SplitPhrases ? dialog.MaxPhraseDurationMinutes * 60000.0 : (ObiForm.Settings.MaxAllowedPhraseDurationInMinutes * 60000.0); 
     
    28232824 
    28242825                                        mPresentation.Do(createSectionsCommand); 
     2826                                    } 
     2827                                    else if (ImportAudioFilesInEachSection) 
     2828                                    { 
     2829                                        CompositeCommand ImportSectionCommand = GetCommandForImportAudioFileInEachSection(phraseNodes); 
     2830                                        mPresentation.Do(ImportSectionCommand); 
    28252831                                    } 
    28262832                                    else 
  • trunk/Obi/Obi/Settings.cs

    r7404 r7409  
    313313        [OptionalField] 
    314314        public bool Project_DoNotDisplayMessageBoxForShowingSection; 
     315 
     316        [OptionalField] 
     317        public int ImportAudioRadioButtonIndex; 
    315318 
    316319        protected static void InitializeDefaultSettings(Settings settings) 
     
    458461            // Obi 4.1 beta 
    459462            settings.Project_DoNotDisplayMessageBoxForShowingSection = false; 
     463            settings.ImportAudioRadioButtonIndex = 0; 
    460464        } 
    461465 
Note: See TracChangeset for help on using the changeset viewer.