[chronojump] Force sensor does not show on capture phases, time, videorecord
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Force sensor does not show on capture phases, time, videorecord
- Date: Wed, 11 Oct 2017 17:47:10 +0000 (UTC)
commit 2de362fe11367466d3ec19036aa7bfc9c0a7b4f7
Author: Xavier de Blas <xaviblas gmail com>
Date: Wed Oct 11 19:45:58 2017 +0200
Force sensor does not show on capture phases, time, videorecord
glade/app1.glade | 8 +++++++-
src/gui/chronojump.cs | 5 +++++
2 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/glade/app1.glade b/glade/app1.glade
index 623d97c..209d264 100644
--- a/glade/app1.glade
+++ b/glade/app1.glade
@@ -1381,6 +1381,9 @@
<placeholder/>
</child>
<child>
+ <placeholder/>
+ </child>
+ <child>
<widget class="GtkLabel"
id="label_start_selector_jumps">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -7473,7 +7476,7 @@ after time</property>
</packing>
</child>
<child>
- <widget class="GtkHBox" id="hbox182">
+ <widget class="GtkHBox"
id="hbox_capture_phases_time_record">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">10</property>
@@ -21482,6 +21485,9 @@ then click this button.</property>
<child>
<placeholder/>
</child>
+ <child>
+ <placeholder/>
+ </child>
</widget>
<packing>
<property name="expand">False</property>
diff --git a/src/gui/chronojump.cs b/src/gui/chronojump.cs
index 9a65fc8..4e59e49 100644
--- a/src/gui/chronojump.cs
+++ b/src/gui/chronojump.cs
@@ -283,6 +283,8 @@ public partial class ChronoJumpWindow
[Widget] Gtk.Image image_video_yes;
[Widget] Gtk.Image image_video_no;
+ //force sensor
+ [Widget] Gtk.HBox hbox_capture_phases_time_record;
//multiChronopic
[Widget] Gtk.Button button_edit_selected_multi_chronopic;
@@ -6349,6 +6351,9 @@ LogB.Debug("X");
//LogB.Information("currentPage" + notebook_execute.CurrentPage.ToString());
//LogB.Information("desiredPage" + desiredPage.ToString());
+ //on capture, show phases, time, record if we are not on forcesensor mode
+ hbox_capture_phases_time_record.Visible = (mode != Constants.Menuitem_modes.FORCESENSOR);
+
if(mode == Constants.Menuitem_modes.JUMPSSIMPLE)
{
notebook_execute.CurrentPage = 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]