Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
BlythMeister committed Jun 9, 2014
2 parents b1d2c58 + 5947182 commit 229d9d1
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
<ProductName>Gallifrey %28Beta%29</ProductName>
<PublisherName>Gallifrey</PublisherName>
<MinimumRequiredVersion>1.0.0.0</MinimumRequiredVersion>
<ApplicationRevision>1</ApplicationRevision>
<ApplicationVersion>1.0.2.%2a</ApplicationVersion>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.3.%2a</ApplicationVersion>
<UseApplicationTrust>true</UseApplicationTrust>
<CreateDesktopShortcut>true</CreateDesktopShortcut>
<PublishWizardCompleted>true</PublishWizardCompleted>
Expand Down
2 changes: 1 addition & 1 deletion src/Gallifrey.UI.Classic/ExportTimerWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ private bool ExportTime()
{
int hours, minutes;

if (!int.TryParse(txtSetValueHours.Text, out hours) || !int.TryParse(txtSetValueMins.Text, out minutes))
if (!int.TryParse(txtExportHours.Text, out hours) || !int.TryParse(txtExportMins.Text, out minutes))
{
MessageBox.Show("Invalid Hours/Minutes Entered For Export!", "Invalid Export", MessageBoxButtons.OK, MessageBoxIcon.Error);
return false;
Expand Down
2 changes: 1 addition & 1 deletion src/Gallifrey.UI.Classic/Gallifrey.UI.Classic.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<PublisherName>Gallifrey</PublisherName>
<MinimumRequiredVersion>1.0.0.0</MinimumRequiredVersion>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.1.0</ApplicationVersion>
<ApplicationVersion>1.0.2.0</ApplicationVersion>
<UseApplicationTrust>true</UseApplicationTrust>
<CreateDesktopShortcut>true</CreateDesktopShortcut>
<PublishWizardCompleted>true</PublishWizardCompleted>
Expand Down
8 changes: 8 additions & 0 deletions src/Gallifrey.UI.Classic/MainWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,14 @@ public MainWindow(bool isBeta)
SystemEvents.SessionSwitch += SessionSwitchHandler;

ExceptionlessClient.Current.Register();
ExceptionlessClient.Current.UnhandledExceptionReporting += OnUnhandledExceptionReporting;
}

private void OnUnhandledExceptionReporting(object sender, UnhandledExceptionReportingEventArgs e)
{
e.Error.Tags.Add(lblVersion.Text);
e.Error.UserEmail = gallifrey.Settings.JiraConnectionSettings.JiraUsername;
e.Error.UserName = gallifrey.Settings.JiraConnectionSettings.JiraUsername;
}

private void MainWindow_Load(object sender, EventArgs e)
Expand Down
2 changes: 1 addition & 1 deletion src/Gallifrey/IntegrationPoints/JiraConnection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ public void LogTime(Issue jiraIssue, DateTime exportTimeStamp, TimeSpan exportTi
string remaining = null;
if (remainingTime.HasValue)
{
remaining = string.Format("{0}h {1}m", exportTime.Hours, exportTime.Minutes);
remaining = string.Format("{0}h {1}m", remainingTime.Value.Hours, remainingTime.Value.Minutes);
}
try
{
Expand Down

0 comments on commit 229d9d1

Please sign in to comment.