[chronojump] Analyze tab not shown on "other" tests



commit e236316600aa846314f5a03611b9f6d1e717626e
Author: Xavier de Blas <xaviblas gmail com>
Date:   Sat Jul 23 19:19:39 2016 +0200

    Analyze tab not shown on "other" tests

 glade/chronojump.glade |   69 +++++++++++++++++++++++++++++++++++++++++------
 src/gui/chronojump.cs  |    7 ++++-
 2 files changed, 66 insertions(+), 10 deletions(-)
---
diff --git a/glade/chronojump.glade b/glade/chronojump.glade
index eba675c..8fef7ac 100644
--- a/glade/chronojump.glade
+++ b/glade/chronojump.glade
@@ -2890,7 +2890,6 @@
                                                         <property name="visible">True</property>
                                                         <property name="can_focus">False</property>
                                                         <property name="top_padding">8</property>
-                                                        <property name="left_padding">8</property>
                                                         <child>
                                                           <widget class="GtkVBox" id="vbox7">
                                                             <property name="visible">True</property>
@@ -3100,7 +3099,6 @@
                                                         <property name="visible">True</property>
                                                         <property name="can_focus">False</property>
                                                         <property name="top_padding">8</property>
-                                                        <property name="left_padding">8</property>
                                                         <child>
                                                           <widget class="GtkVBox" id="vbox10">
                                                             <property name="visible">True</property>
@@ -3256,7 +3254,6 @@
                                                         <property name="visible">True</property>
                                                         <property name="can_focus">False</property>
                                                         <property name="top_padding">8</property>
-                                                        <property name="left_padding">8</property>
                                                         <child>
                                                           <widget class="GtkVBox" id="vbox32">
                                                             <property name="visible">True</property>
@@ -3466,7 +3463,6 @@
                                                         <property name="visible">True</property>
                                                         <property name="can_focus">False</property>
                                                         <property name="top_padding">8</property>
-                                                        <property name="left_padding">8</property>
                                                         <child>
                                                           <widget class="GtkVBox" id="vbox49">
                                                             <property name="visible">True</property>
@@ -3599,7 +3595,6 @@
                                                         <property name="visible">True</property>
                                                         <property name="can_focus">False</property>
                                                         <property name="top_padding">8</property>
-                                                        <property name="left_padding">8</property>
                                                         <child>
                                                           <widget class="GtkVBox" id="vbox52">
                                                             <property name="visible">True</property>
@@ -3686,7 +3681,6 @@
                                                         <property name="visible">True</property>
                                                         <property name="can_focus">False</property>
                                                         <property name="top_padding">8</property>
-                                                        <property name="left_padding">8</property>
                                                         <child>
                                                           <widget class="GtkVBox" id="vbox58">
                                                             <property name="visible">True</property>
@@ -13022,6 +13016,9 @@ low ressistance</property>
                                                 <child>
                                                   <placeholder/>
                                                 </child>
+                                                <child>
+                                                  <placeholder/>
+                                                </child>
                                               </widget>
                                               <packing>
                                                 <property name="expand">False</property>
@@ -17936,6 +17933,9 @@ low ressistance</property>
                                                             <child>
                                                             <placeholder/>
                                                             </child>
+                                                            <child>
+                                                            <placeholder/>
+                                                            </child>
                                                             </widget>
                                                             <packing>
                                                             <property name="expand">False</property>
@@ -22697,6 +22697,9 @@ by you</property>
                         <child>
                           <placeholder/>
                         </child>
+                        <child>
+                          <placeholder/>
+                        </child>
                       </widget>
                     </child>
                   </widget>
@@ -23939,6 +23942,9 @@ by you</property>
                         <child>
                           <placeholder/>
                         </child>
+                        <child>
+                          <placeholder/>
+                        </child>
                       </widget>
                     </child>
                   </widget>
@@ -25673,6 +25679,9 @@ by you</property>
               <placeholder/>
             </child>
             <child>
+              <placeholder/>
+            </child>
+            <child>
               <widget class="GtkButton" id="button_video_url">
                 <property name="visible">True</property>
                 <property name="can_focus">True</property>
@@ -26464,6 +26473,9 @@ by you</property>
             <child>
               <placeholder/>
             </child>
+            <child>
+              <placeholder/>
+            </child>
           </widget>
           <packing>
             <property name="expand">True</property>
@@ -39868,6 +39880,24 @@ options</property>
                             <child>
                               <placeholder/>
                             </child>
+                            <child>
+                              <placeholder/>
+                            </child>
+                            <child>
+                              <placeholder/>
+                            </child>
+                            <child>
+                              <placeholder/>
+                            </child>
+                            <child>
+                              <placeholder/>
+                            </child>
+                            <child>
+                              <placeholder/>
+                            </child>
+                            <child>
+                              <placeholder/>
+                            </child>
                           </widget>
                         </child>
                       </widget>
@@ -42799,6 +42829,18 @@ To differentiate between male and female, use the values 1/0, or m/f, or M/F on
                     <child>
                       <placeholder/>
                     </child>
+                    <child>
+                      <placeholder/>
+                    </child>
+                    <child>
+                      <placeholder/>
+                    </child>
+                    <child>
+                      <placeholder/>
+                    </child>
+                    <child>
+                      <placeholder/>
+                    </child>
                   </widget>
                 </child>
               </widget>
@@ -43982,9 +44024,6 @@ To differentiate between male and female, use the values 1/0, or m/f, or M/F on
                                       <placeholder/>
                                     </child>
                                     <child>
-                                      <placeholder/>
-                                    </child>
-                                    <child>
                                       <widget class="GtkLabel" id="label218">
                                         <property name="visible">True</property>
                                         <property name="can_focus">False</property>
@@ -45226,6 +45265,9 @@ To differentiate between male and female, use the values 1/0, or m/f, or M/F on
                                     <child>
                                       <placeholder/>
                                     </child>
+                                    <child>
+                                      <placeholder/>
+                                    </child>
                                   </widget>
                                 </child>
                               </widget>
@@ -49435,6 +49477,9 @@ It starts before and arrives there with some speed.</property>
                         <child>
                           <placeholder/>
                         </child>
+                        <child>
+                          <placeholder/>
+                        </child>
                       </widget>
                       <packing>
                         <property name="left_attach">2</property>
@@ -50341,6 +50386,9 @@ It starts before and arrives there with some speed.</property>
                     <child>
                       <placeholder/>
                     </child>
+                    <child>
+                      <placeholder/>
+                    </child>
                   </widget>
                 </child>
               </widget>
@@ -51262,6 +51310,9 @@ It starts before and arrives there with some speed.</property>
                     <child>
                       <placeholder/>
                     </child>
+                    <child>
+                      <placeholder/>
+                    </child>
                   </widget>
                 </child>
               </widget>
diff --git a/src/gui/chronojump.cs b/src/gui/chronojump.cs
index 4e54b45..da1c58b 100644
--- a/src/gui/chronojump.cs
+++ b/src/gui/chronojump.cs
@@ -3098,6 +3098,7 @@ public partial class ChronoJumpWindow
                        notebook_sup_contacts.CurrentPage = 0;
                        menuitem_mode_selected_jumps.Visible = true;
                        radio_mode_jumps_small.Active = true;
+                       notebook_capture_analyze.ShowTabs = true;
                        notebook_capture_analyze.GetNthPage(2).Show(); //show jumpsProfile on jumps
                } else if(m == Constants.Menuitem_modes.RUNS) 
                {
@@ -3105,6 +3106,7 @@ public partial class ChronoJumpWindow
                        notebook_sup_contacts.CurrentPage = 1;
                        menuitem_mode_selected_runs.Visible = true;
                        radio_mode_runs_small.Active = true;
+                       notebook_capture_analyze.ShowTabs = true;
                        notebook_capture_analyze.GetNthPage(2).Hide(); //hide jumpsProfile on runs
                } else if(m == Constants.Menuitem_modes.POWERGRAVITATORY || m == 
Constants.Menuitem_modes.POWERINERTIAL) 
                {
@@ -3168,7 +3170,10 @@ public partial class ChronoJumpWindow
                        notebook_sup_contacts.CurrentPage = 2;
                        menuitem_mode_selected_other.Visible = true;
                        radio_mode_reaction_times_small.Active = true;
-                       notebook_capture_analyze.GetNthPage(2).Hide(); //hide jumpsProfile on other tests
+
+                       notebook_capture_analyze.CurrentPage = 0;
+                       notebook_capture_analyze.ShowTabs = false; //only capture tab is shown (only valid 
for "OTHER" tests)
+                       //notebook_capture_analyze.GetNthPage(2).Hide(); //hide jumpsProfile on other tests
                }
 
                //show the program


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