[chronojump] button encoder config: shows gravitatory or inertia on label depending on mode
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] button encoder config: shows gravitatory or inertia on label depending on mode
- Date: Thu, 15 Apr 2021 16:08:44 +0000 (UTC)
commit 3ec2ad87535a8fb7abc2f0b1443de823e9ff4d40
Author: Xavier de Blas <xaviblas gmail com>
Date: Thu Apr 15 18:00:35 2021 +0200
button encoder config: shows gravitatory or inertia on label depending on mode
glade/app1.glade | 4 ++--
src/gui/app1/chronojump.cs | 2 ++
2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/glade/app1.glade b/glade/app1.glade
index d7de15bd..cf267c70 100644
--- a/glade/app1.glade
+++ b/glade/app1.glade
@@ -33839,10 +33839,10 @@ then click this button.</property>
</packing>
</child>
<child>
- <widget class="GtkLabel" id="label64">
+ <widget class="GtkLabel"
id="label_button_encoder_select">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label"
translatable="yes">Configure</property>
+ <property name="label"
translatable="yes">Configure gravitatory encoder</property>
</widget>
<packing>
<property name="expand">True</property>
diff --git a/src/gui/app1/chronojump.cs b/src/gui/app1/chronojump.cs
index 3d4da68e..a1768c9c 100644
--- a/src/gui/app1/chronojump.cs
+++ b/src/gui/app1/chronojump.cs
@@ -3303,6 +3303,7 @@ public partial class ChronoJumpWindow
//notebook_encoder_capture_extra_mass.CurrentPage = 0;
//TODO: show also info on the top
+ label_button_encoder_select.Text = Catalog.GetString("Configure gravitatory
encoder");
label_encoder_exercise_mass.Visible = true;
vbox_encoder_exercise_mass.Visible = true;
label_encoder_exercise_inertia.Visible = false;
@@ -3339,6 +3340,7 @@ public partial class ChronoJumpWindow
//notebook_encoder_capture_extra_mass.CurrentPage = 1;
//TODO: show also info on the top
+ label_button_encoder_select.Text = Catalog.GetString("Configure inertial
encoder");
label_encoder_exercise_mass.Visible = false;
vbox_encoder_exercise_mass.Visible = false;
label_encoder_exercise_inertia.Visible = true;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]