Added Details field in Jobs

git-svn-id: https://duplicati.googlecode.com/svn/trunk@1094 59da171f-624f-0410-aa54-27559c288bec
This commit is contained in:
kenb@programmer.net
2012-01-11 20:53:44 +00:00
parent 462c94d999
commit fac4a0ffa8
5 changed files with 17 additions and 18 deletions
@@ -37,7 +37,8 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>Duplicati.ico</ApplicationIcon>
<ApplicationIcon>
</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.ExceptionMessageBox, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL" />
@@ -297,9 +298,6 @@
<Name>Duplicati.Scheduler.Utility</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Content Include="Duplicati.ico" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
+2 -2
View File
@@ -67,7 +67,7 @@
this.MaxAgeCheckBox = new System.Windows.Forms.CheckBox();
this.CleanFullBackupHelptext = new System.Windows.Forms.Label();
this.SummaryTabPage = new System.Windows.Forms.TabPage();
this.jobSummary1 = new Duplicati.Scheduler.JobSummary();
this.jobSummary1 = new Duplicati.Scheduler.Data.JobSummary();
this.TabsImageList = new System.Windows.Forms.ImageList(this.components);
this.BottomToolStrip = new System.Windows.Forms.ToolStrip();
this.CanButton = new System.Windows.Forms.ToolStripButton();
@@ -1084,7 +1084,7 @@
private System.Windows.Forms.NumericUpDown FullAfterNNumericUpDown;
private System.Windows.Forms.NumericUpDown FullDaysNumericUpDown;
private TaskEditControl TaskEditor;
private JobSummary jobSummary1;
private Duplicati.Scheduler.Data.JobSummary jobSummary1;
private System.Windows.Forms.ImageList TabsImageList;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.Label label2;
+10 -10
View File
@@ -319,20 +319,20 @@
#endregion
private System.Windows.Forms.RichTextBox MaxAgeTextBox;
private System.Windows.Forms.RichTextBox MaxFullTextBox;
private System.Windows.Forms.RichTextBox nameTextBox;
private System.Windows.Forms.RichTextBox sourceTextBox;
private System.Windows.Forms.RichTextBox destinationTextBox;
private System.Windows.Forms.RichTextBox DescriptionTextBox;
private System.Windows.Forms.RichTextBox fullRepeatStrTextBox;
private System.Windows.Forms.ErrorProvider SourceErrorProvider;
private System.Windows.Forms.ErrorProvider DestErrorProvider;
private System.Windows.Forms.Label EnableLabel;
private System.Windows.Forms.RichTextBox PassRichTextBox;
private System.Windows.Forms.ToolTip toolTip1;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.ListBox listBox1;
private System.Windows.Forms.Label LastModLabel;
protected System.Windows.Forms.RichTextBox MaxAgeTextBox;
protected System.Windows.Forms.RichTextBox MaxFullTextBox;
protected System.Windows.Forms.RichTextBox nameTextBox;
protected System.Windows.Forms.RichTextBox sourceTextBox;
protected System.Windows.Forms.RichTextBox destinationTextBox;
protected System.Windows.Forms.RichTextBox DescriptionTextBox;
protected System.Windows.Forms.RichTextBox fullRepeatStrTextBox;
protected System.Windows.Forms.RichTextBox PassRichTextBox;
protected System.Windows.Forms.Label EnableLabel;
protected System.Windows.Forms.Label LastModLabel;
}
}
+2 -2
View File
@@ -56,7 +56,7 @@
this.JobsBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.SchedulerDataSet = new Duplicati.Scheduler.Data.SchedulerDataSet();
this.optionsBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.jobSummary1 = new Duplicati.Scheduler.JobSummary();
this.jobSummary1 = new Duplicati.Scheduler.Data.JobSummary();
this.toolStrip1.SuspendLayout();
this.panel1.SuspendLayout();
this.panel2.SuspendLayout();
@@ -369,7 +369,7 @@
private System.Windows.Forms.ToolStripButton PrevToolStripButton;
private System.Windows.Forms.ToolStripDropDownButton SelectToolStripDropDownButton;
private System.Windows.Forms.ToolStripButton NextToolStripButton;
private JobSummary jobSummary1;
private Duplicati.Scheduler.Data.JobSummary jobSummary1;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
private System.Windows.Forms.ToolStripButton helpToolStripButton;
private System.Windows.Forms.StatusStrip statusStrip1;
+1
View File
@@ -171,6 +171,7 @@ namespace Duplicati.Scheduler
{
if (aRow == null) return; //
aRow.LastMod = DateTime.Now;
aRow.Details = TaskScheduler.Describe(aRow.TaskName);
// Update the drive table
System.Collections.Generic.Dictionary<string, string> DriveMap = new System.Collections.Generic.Dictionary<string, string>();
foreach (System.IO.DriveInfo di in System.IO.DriveInfo.GetDrives())