[chronojump] Fixed sending log after unsuccessful sending
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Fixed sending log after unsuccessful sending
- Date: Thu, 29 Jan 2015 11:49:21 +0000 (UTC)
commit c853d2906cd68eb5785ab6d0c5c4e3862127d84d
Author: Xavier de Blas <xaviblas gmail com>
Date: Thu Jan 29 12:48:54 2015 +0100
Fixed sending log after unsuccessful sending
src/gui/error.cs | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/gui/error.cs b/src/gui/error.cs
index 28c0637..acdfe0e 100644
--- a/src/gui/error.cs
+++ b/src/gui/error.cs
@@ -110,10 +110,16 @@ public class ErrorWindow
bool success = js.PostCrashLog(email);
if(success) {
+ button_send_log.Label = Catalog.GetString("Thanks");
+ button_send_log.Sensitive = false;
+
image_send_log_yes.Show();
+ image_send_log_no.Hide();
LogB.Information(js.ResultMessage);
} else {
button_send_log.Label = Catalog.GetString("Try again");
+
+ image_send_log_yes.Hide();
image_send_log_no.Show();
LogB.Error(js.ResultMessage);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]