[chronojump] ForceSensor minor gui improvements
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] ForceSensor minor gui improvements
- Date: Thu, 26 Sep 2019 14:18:08 +0000 (UTC)
commit cddab5214159fd8d5c056676e1130f5762f60848
Author: Xavier de Blas <xaviblas gmail com>
Date: Thu Sep 26 16:17:57 2019 +0200
ForceSensor minor gui improvements
glade/app1.glade | 32 +++++++++++++++++++-------------
src/gui/forceSensor.cs | 4 ++++
2 files changed, 23 insertions(+), 13 deletions(-)
---
diff --git a/glade/app1.glade b/glade/app1.glade
index 160345df..3d0aefc0 100644
--- a/glade/app1.glade
+++ b/glade/app1.glade
@@ -14462,7 +14462,7 @@ Resisted race analyzer</property>
<widget class="GtkHBox" id="hbox17">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="spacing">6</property>
+ <property name="spacing">8</property>
<child>
<widget class="GtkDrawingArea"
id="force_capture_drawingarea">
<property name="visible">True</property>
@@ -21873,6 +21873,9 @@ Concentric</property>
<child>
<placeholder/>
</child>
+ <child>
+ <placeholder/>
+ </child>
</widget>
<packing>
<property name="expand">False</property>
@@ -23821,18 +23824,6 @@ Concentric</property>
<property name="can_focus">False</property>
<property name="spacing">6</property>
<child>
- <widget class="GtkLabel"
id="label_video_encoder_tests_will_be_filmed">
- <property name="can_focus">False</property>
- <property name="label" translatable="yes">Tests
will be filmed</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="pack_type">end</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
<widget class="GtkHBox"
id="hbox_video_encoder_capturing">
<property name="can_focus">False</property>
<property name="spacing">4</property>
@@ -23869,6 +23860,18 @@ Concentric</property>
</packing>
</child>
<child>
+ <widget class="GtkLabel"
id="label_video_encoder_tests_will_be_filmed">
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">Tests
will be filmed</property>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="pack_type">end</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
<widget class="GtkHBox"
id="hbox_video_encoder_no_capturing">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -30773,6 +30776,9 @@ then click this button.</property>
<child>
<placeholder/>
</child>
+ <child>
+ <placeholder/>
+ </child>
</widget>
<packing>
<property name="expand">False</property>
diff --git a/src/gui/forceSensor.cs b/src/gui/forceSensor.cs
index a657cd76..84ace3d0 100644
--- a/src/gui/forceSensor.cs
+++ b/src/gui/forceSensor.cs
@@ -447,6 +447,10 @@ public partial class ChronoJumpWindow
if(force_capture_drawingarea != null)
UtilGtk.ErasePaint(force_capture_drawingarea, force_capture_pixmap);
+ label_force_sensor_value_max.Text = "";
+ label_force_sensor_value.Text = "";
+ label_force_sensor_value_min.Text = "";
+
button_force_sensor_image_save_signal.Sensitive = false;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]