[chronojump] Fixed crash for missing alignment_session_person since last commits



commit 776a843716a2ba62a731c0da6803cb94b3b8ec97
Author: Xavier de Blas <xaviblas gmail com>
Date:   Sat Mar 21 14:00:57 2020 +0100

    Fixed crash for missing alignment_session_person since last commits

 src/gui/app1/chronojump.cs         | 2 --
 src/gui/app1/contactsExercise.cs   | 4 ++--
 src/gui/app1/encoder.cs            | 4 ++--
 src/gui/app1/forceSensor.cs        | 2 +-
 src/gui/app1/forceSensorAnalyze.cs | 2 +-
 5 files changed, 6 insertions(+), 8 deletions(-)
---
diff --git a/src/gui/app1/chronojump.cs b/src/gui/app1/chronojump.cs
index 7cc7809f..eb4201d2 100644
--- a/src/gui/app1/chronojump.cs
+++ b/src/gui/app1/chronojump.cs
@@ -134,8 +134,6 @@ public partial class ChronoJumpWindow
        [Widget] Gtk.Image image_encoder_capture_finish;
        [Widget] Gtk.Image image_encoder_capture_cancel;
 
-       [Widget] Gtk.Alignment alignment_session_person;
-
        [Widget] Gtk.TreeView treeview_persons;
        [Widget] Gtk.TreeView treeview_jumps;
        [Widget] Gtk.TreeView treeview_jumps_rj;
diff --git a/src/gui/app1/contactsExercise.cs b/src/gui/app1/contactsExercise.cs
index 8262b2cd..c6333ead 100644
--- a/src/gui/app1/contactsExercise.cs
+++ b/src/gui/app1/contactsExercise.cs
@@ -30,7 +30,7 @@ public partial class ChronoJumpWindow
        {
                notebook_contacts_capture_doing_wait.Sensitive = false;
                vbox_contacts_device_adjust_threshold.Sensitive = false;
-               alignment_session_person.Sensitive = false;
+               viewport_persons.Sensitive = false;
                main_menu.Sensitive = false;
                button_contacts_exercise.Sensitive = false;
                hbox_contacts_sup_capture_analyze_two_buttons.Sensitive = false;
@@ -43,7 +43,7 @@ public partial class ChronoJumpWindow
        {
                notebook_contacts_capture_doing_wait.Sensitive = true;
                vbox_contacts_device_adjust_threshold.Sensitive = true;
-               alignment_session_person.Sensitive = true;
+               viewport_persons.Sensitive = true;
                main_menu.Sensitive = true;
                button_contacts_exercise.Sensitive = true;
                hbox_contacts_sup_capture_analyze_two_buttons.Sensitive = true;
diff --git a/src/gui/app1/encoder.cs b/src/gui/app1/encoder.cs
index d3b0f258..168751fd 100644
--- a/src/gui/app1/encoder.cs
+++ b/src/gui/app1/encoder.cs
@@ -3727,7 +3727,7 @@ public partial class ChronoJumpWindow
 
                table_encoder_analyze_options.Sensitive = s;
                main_menu.Sensitive = s;
-               alignment_session_person.Sensitive = s;
+               viewport_persons.Sensitive = s;
                hbox_encoder_sup_capture_analyze_two_buttons.Sensitive = s;
                hbox_top_person_encoder.Sensitive = s;
        }
@@ -4675,7 +4675,7 @@ public partial class ChronoJumpWindow
 
                main_menu.Sensitive = ! show;
                hbox_encoder_sup_capture_analyze.Sensitive = ! show;
-               alignment_session_person.Sensitive = ! show;
+               viewport_persons.Sensitive = ! show;
                hbox_encoder_configuration.Sensitive = ! show;
                hbox_encoder_capture_top.Sensitive = ! show;
                vpaned_encoder_capture_video_and_set_graph.Sensitive = ! show;
diff --git a/src/gui/app1/forceSensor.cs b/src/gui/app1/forceSensor.cs
index e886eeb1..de981381 100644
--- a/src/gui/app1/forceSensor.cs
+++ b/src/gui/app1/forceSensor.cs
@@ -2285,7 +2285,7 @@ LogB.Information(" fs R ");
                button_force_sensor_image_save_signal.Sensitive = s;
 
                main_menu.Sensitive = s;
-               alignment_session_person.Sensitive = s;
+               viewport_persons.Sensitive = s;
                hbox_contacts_sup_capture_analyze_two_buttons.Sensitive = s;
                hbox_top_person.Sensitive = s;
        }
diff --git a/src/gui/app1/forceSensorAnalyze.cs b/src/gui/app1/forceSensorAnalyze.cs
index ba6ea2f2..5c9d7aa6 100644
--- a/src/gui/app1/forceSensorAnalyze.cs
+++ b/src/gui/app1/forceSensorAnalyze.cs
@@ -153,7 +153,7 @@ public partial class ChronoJumpWindow
                }
 
                main_menu.Sensitive = s;
-               alignment_session_person.Sensitive = s;
+               viewport_persons.Sensitive = s;
                hbox_contacts_sup_capture_analyze_two_buttons.Sensitive = s;
                hbox_top_person.Sensitive = s;
        }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]