[chronojump] radio_contacts_graph_currentTest.Label correctly updated for jumps, jumpsRj, runs, runsI
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] radio_contacts_graph_currentTest.Label correctly updated for jumps, jumpsRj, runs, runsI
- Date: Thu, 5 Aug 2021 14:56:48 +0000 (UTC)
commit 25e928d998063fc813008448a8a3c04216240e4c
Author: Xavier de Blas <xaviblas gmail com>
Date: Thu Aug 5 16:56:30 2021 +0200
radio_contacts_graph_currentTest.Label correctly updated for jumps, jumpsRj, runs, runsI
src/gui/app1/jump.cs | 2 ++
src/gui/app1/run.cs | 2 ++
src/gui/eventExecute.cs | 3 ---
3 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/src/gui/app1/jump.cs b/src/gui/app1/jump.cs
index 6f5ce8a7b..1ef374971 100644
--- a/src/gui/app1/jump.cs
+++ b/src/gui/app1/jump.cs
@@ -181,6 +181,7 @@ public partial class ChronoJumpWindow
{
string jumpEnglishName = comboSelectJumps.GetSelectedNameEnglish();
currentJumpType = createJumpType(jumpEnglishName, true);
+ radio_contacts_graph_currentTest.Label = Catalog.GetString(currentJumpType.Name);
extra_window_jumps_initialize(currentJumpType);
}
@@ -199,6 +200,7 @@ public partial class ChronoJumpWindow
{
string jumpEnglishName = comboSelectJumpsRj.GetSelectedNameEnglish();
currentJumpRjType = createJumpType(jumpEnglishName, false);
+ radio_contacts_graph_currentTest.Label = Catalog.GetString(currentJumpRjType.Name);
extra_window_jumps_rj_initialize(currentJumpRjType);
}
diff --git a/src/gui/app1/run.cs b/src/gui/app1/run.cs
index 9b7023283..d7c109d49 100644
--- a/src/gui/app1/run.cs
+++ b/src/gui/app1/run.cs
@@ -112,6 +112,7 @@ public partial class ChronoJumpWindow
{
string runEnglishName = comboSelectRuns.GetSelectedNameEnglish();
currentRunType = createRunType(runEnglishName, true);
+ radio_contacts_graph_currentTest.Label = Catalog.GetString(currentRunType.Name);
extra_window_runs_initialize(currentRunType);
}
@@ -130,6 +131,7 @@ public partial class ChronoJumpWindow
{
string runEnglishName = comboSelectRunsI.GetSelectedNameEnglish();
currentRunIntervalType = createRunType(runEnglishName, false);
+ radio_contacts_graph_currentTest.Label = Catalog.GetString(currentRunIntervalType.Name);
extra_window_runs_interval_initialize(currentRunIntervalType);
}
diff --git a/src/gui/eventExecute.cs b/src/gui/eventExecute.cs
index 8839dab03..acfc6c220 100644
--- a/src/gui/eventExecute.cs
+++ b/src/gui/eventExecute.cs
@@ -203,9 +203,6 @@ public partial class ChronoJumpWindow
event_graph_label_graph_test.Text = "<b>" + event_execute_eventType + "</b>";
event_graph_label_graph_test.UseMarkup = true;
- if(radio_contacts_graph_currentTest.Label != Catalog.GetString(event_execute_eventType))
- radio_contacts_graph_currentTest.Label = Catalog.GetString(event_execute_eventType);
-
event_execute_label_message.Text = "";
//this.event_execute_personName.Text = event_execute_personName; //"Jumps"
(rjInterval), "Runs" (runInterval), "Ticks" (pulses),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]