[chronojump] button_run_encoder_analyze_analyze made invisible, is not useful at the moment



commit 6d887ef094b4a8c69a4796e6ca955c0a2c667c2f
Author: Xavier de Blas <xaviblas gmail com>
Date:   Wed Mar 3 13:46:01 2021 +0100

    button_run_encoder_analyze_analyze made invisible, is not useful at the moment

 glade/app1.glade                   | 12 ++----------
 src/gui/app1/forceSensorAnalyze.cs |  2 --
 src/gui/app1/runEncoder.cs         | 12 +++++++-----
 src/gui/app1/runEncoderAnalyze.cs  |  8 ++++----
 4 files changed, 13 insertions(+), 21 deletions(-)
---
diff --git a/glade/app1.glade b/glade/app1.glade
index 2f2f1db0..7187d687 100644
--- a/glade/app1.glade
+++ b/glade/app1.glade
@@ -26842,7 +26842,6 @@ Concentric</property>
                                                             </child>
                                                             <child>
                                                             <widget class="GtkButton" 
id="button_run_encoder_analyze_analyze">
-                                                            <property name="visible">True</property>
                                                             <property name="sensitive">False</property>
                                                             <property name="can_focus">True</property>
                                                             <property name="receives_default">True</property>
@@ -26886,11 +26885,6 @@ Concentric</property>
                                                             </packing>
                                                             </child>
                                                             <child>
-                                                            <widget class="GtkAlignment" id="alignment70">
-                                                            <property name="visible">True</property>
-                                                            <property name="can_focus">False</property>
-                                                            <property name="left_padding">12</property>
-                                                            <child>
                                                             <widget class="GtkButton" 
id="button_run_encoder_analyze_options">
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">True</property>
@@ -26928,11 +26922,9 @@ Concentric</property>
                                                             </widget>
                                                             </child>
                                                             </widget>
-                                                            </child>
-                                                            </widget>
                                                             <packing>
-                                                            <property name="expand">False</property>
-                                                            <property name="fill">False</property>
+                                                            <property name="expand">True</property>
+                                                            <property name="fill">True</property>
                                                             <property name="position">2</property>
                                                             </packing>
                                                             </child>
diff --git a/src/gui/app1/forceSensorAnalyze.cs b/src/gui/app1/forceSensorAnalyze.cs
index 7df38b48..7a1f5b13 100644
--- a/src/gui/app1/forceSensorAnalyze.cs
+++ b/src/gui/app1/forceSensorAnalyze.cs
@@ -34,10 +34,8 @@ public partial class ChronoJumpWindow
        [Widget] Gtk.RadioButton radio_force_sensor_analyze_individual_current_set;
        [Widget] Gtk.RadioButton radio_force_sensor_analyze_individual_current_session;
        [Widget] Gtk.RadioButton radio_force_sensor_analyze_groupal_current_session;
-
        [Widget] Gtk.Image image_force_sensor_analyze_individual_current_set;
        [Widget] Gtk.Image image_force_sensor_analyze_individual_current_session;
-       [Widget] Gtk.Image image_force_sensor_analyze_individual_all_sessions;
        [Widget] Gtk.Image image_force_sensor_analyze_groupal_current_session;
 
        [Widget] Gtk.Notebook notebook_force_sensor_analyze_top;
diff --git a/src/gui/app1/runEncoder.cs b/src/gui/app1/runEncoder.cs
index a121720e..fb2f7774 100644
--- a/src/gui/app1/runEncoder.cs
+++ b/src/gui/app1/runEncoder.cs
@@ -306,7 +306,7 @@ public partial class ChronoJumpWindow
                clearRaceAnalyzerTriggers();
 
                button_run_encoder_analyze_options_close_and_analyze.Sensitive = false;
-               button_run_encoder_analyze_analyze.Sensitive = false;
+               //button_run_encoder_analyze_analyze.Sensitive = false;
                button_delete_last_test.Sensitive = false;
                button_run_encoder_image_save.Sensitive = false;
        }
@@ -1037,7 +1037,7 @@ public partial class ChronoJumpWindow
                runEncoderAnalyzeOpenImage();
                notebook_analyze.CurrentPage = Convert.ToInt32(notebook_analyze_pages.RACEENCODER);
                radio_mode_contacts_analyze.Active = true;
-               button_run_encoder_analyze_analyze.Sensitive = true;
+               //button_run_encoder_analyze_analyze.Sensitive = true;
 
                // 3) display table
                treeview_raceAnalyzer = UtilGtk.RemoveColumns(treeview_raceAnalyzer);
@@ -1298,7 +1298,7 @@ public partial class ChronoJumpWindow
                                        radio_mode_contacts_analyze.Active = true;
                                        button_contacts_exercise_close_and_recalculate.Sensitive = true;
                                        button_run_encoder_analyze_options_close_and_analyze.Sensitive = true;
-                                       button_run_encoder_analyze_analyze.Sensitive = true;
+                                       //button_run_encoder_analyze_analyze.Sensitive = true;
                                        button_run_encoder_image_save.Sensitive = true;
                                        button_delete_last_test.Sensitive = true;
 
@@ -1321,7 +1321,7 @@ public partial class ChronoJumpWindow
                                sensitiveLastTestButtons(false);
                                contactsShowCaptureDoingButtons(false);
                                button_run_encoder_analyze_options_close_and_analyze.Sensitive = false;
-                               button_run_encoder_analyze_analyze.Sensitive = false;
+                               //button_run_encoder_analyze_analyze.Sensitive = false;
                                button_run_encoder_image_save.Sensitive = false;
                                button_delete_last_test.Sensitive = false;
 
@@ -1421,7 +1421,7 @@ public partial class ChronoJumpWindow
                return true;
        }
 
-       private bool button_run_encoder_analyze_analyze_was_sensitive; //needed this temp variable
+       //private bool button_run_encoder_analyze_analyze_was_sensitive; //needed this temp variable
 
        void runEncoderButtonsSensitive(bool sensitive)
        {
@@ -1431,12 +1431,14 @@ public partial class ChronoJumpWindow
                button_contacts_exercise.Sensitive = sensitive;
                button_execute_test.Sensitive = sensitive;
 
+               /*
                if(sensitive)
                        button_run_encoder_analyze_analyze.Sensitive = 
button_run_encoder_analyze_analyze_was_sensitive;
                else {
                        button_run_encoder_analyze_analyze_was_sensitive = 
button_run_encoder_analyze_analyze.Sensitive;
                        button_run_encoder_analyze_analyze.Sensitive = false;
                }
+               */
 
                hbox_contacts_camera.Sensitive = sensitive;
 
diff --git a/src/gui/app1/runEncoderAnalyze.cs b/src/gui/app1/runEncoderAnalyze.cs
index d03080a0..42ac7e6a 100644
--- a/src/gui/app1/runEncoderAnalyze.cs
+++ b/src/gui/app1/runEncoderAnalyze.cs
@@ -36,7 +36,7 @@ public partial class ChronoJumpWindow
        [Widget] Gtk.ComboBox combo_run_encoder_analyze_force;
        [Widget] Gtk.ComboBox combo_run_encoder_analyze_power;
        [Widget] Gtk.Button button_run_encoder_analyze_options_close_and_analyze;
-       [Widget] Gtk.Button button_run_encoder_analyze_analyze;
+       //[Widget] Gtk.Button button_run_encoder_analyze_analyze; //unneeded at the moment
        [Widget] Gtk.Button button_run_encoder_image_save;
 
        [Widget] Gtk.RadioButton radio_run_encoder_analyze_individual_current_set;
@@ -260,7 +260,7 @@ public partial class ChronoJumpWindow
        private void on_radio_run_encoder_analyze_individual_current_set_toggled (object o, EventArgs args)
        {
                button_run_encoder_analyze_load.Visible = true;
-               button_run_encoder_analyze_analyze.Visible = true;
+               //button_run_encoder_analyze_analyze.Visible = true;
 
                notebook_run_encoder_analyze.CurrentPage = 
Convert.ToInt32(notebook_run_encoder_analyze_pages.CURRENTSET);
                label_run_encoder_export_result.Text = "";
@@ -268,7 +268,7 @@ public partial class ChronoJumpWindow
        private void on_radio_run_encoder_analyze_individual_current_session_toggled (object o, EventArgs 
args)
        {
                button_run_encoder_analyze_load.Visible = false;
-               button_run_encoder_analyze_analyze.Visible = false;
+               //button_run_encoder_analyze_analyze.Visible = false;
 
                if(currentPerson != null)
                        label_run_encoder_export_data.Text = currentPerson.Name;
@@ -281,7 +281,7 @@ public partial class ChronoJumpWindow
        private void on_radio_run_encoder_analyze_groupal_current_session_toggled (object o, EventArgs args)
        {
                button_run_encoder_analyze_load.Visible = false;
-               button_run_encoder_analyze_analyze.Visible = false;
+               //button_run_encoder_analyze_analyze.Visible = false;
 
                label_run_encoder_export_data.Text = currentSession.Name;
 


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