[chronojump] Minor changes



commit 9f8aac1d610e7c67ec7c7cc8cefcacdf1b750271
Author: Xavier de Blas <xaviblas gmail com>
Date:   Fri Mar 1 16:07:08 2013 +0100

    Minor changes

 glade/chronojump.glade |    3 ++-
 src/gui/encoder.cs     |   14 ++++++++------
 2 files changed, 10 insertions(+), 7 deletions(-)
---
diff --git a/glade/chronojump.glade b/glade/chronojump.glade
index 68cd17e..fa32856 100644
--- a/glade/chronojump.glade
+++ b/glade/chronojump.glade
@@ -13546,7 +13546,8 @@ on current Chronojump version.</property>
                                                     <child>
                                                       <widget class="GtkLabel" 
id="label_encoder_analyze_side_max">
                                                         <property name="can_focus">False</property>
-                                                        <property name="label" translatable="yes">Side 
compare allows a maximum of 12 graphs.</property>
+                                                        <property name="tooltip" translatable="yes">Side 
compare allows a maximum of 12 graphs.</property>
+                                                        <property name="label" translatable="yes">Maximum 12 
graphs</property>
                                                       </widget>
                                                       <packing>
                                                         <property name="expand">False</property>
diff --git a/src/gui/encoder.cs b/src/gui/encoder.cs
index a37519f..7aee64e 100644
--- a/src/gui/encoder.cs
+++ b/src/gui/encoder.cs
@@ -1202,7 +1202,6 @@ public partial class ChronoJumpWindow
        }
 
 
-       //show curve_num only on simple and superpose
        private void on_radiobutton_encoder_analyze_single_toggled (object obj, EventArgs args) {
                hbox_encoder_analyze_curve_num.Visible=true;
                hbox_combo_encoder_analyze_curve_num_combo.Visible = true;
@@ -1210,8 +1209,9 @@ public partial class ChronoJumpWindow
                hbox_encoder_analyze_mean_or_max.Visible=false;
                encoderAnalysis="single";
                //together, mandatory
-               check_encoder_analyze_eccon_together.Visible=false;
+               check_encoder_analyze_eccon_together.Sensitive=false;
                check_encoder_analyze_eccon_together.Active = true;
+       
                label_encoder_analyze_side_max.Visible = false;
 
                encoderButtonsSensitive(encoderSensEnumStored);
@@ -1226,7 +1226,7 @@ public partial class ChronoJumpWindow
                encoderAnalysis="superpose";
                
                //together, mandatory
-               check_encoder_analyze_eccon_together.Visible=false;
+               check_encoder_analyze_eccon_together.Sensitive=false;
                check_encoder_analyze_eccon_together.Active = true;
                
                encoderButtonsSensitive(encoderSensEnumStored);
@@ -1240,7 +1240,7 @@ public partial class ChronoJumpWindow
                encoderAnalysis="side";
                
                //together, mandatory
-               check_encoder_analyze_eccon_together.Visible=false;
+               check_encoder_analyze_eccon_together.Sensitive=false;
                check_encoder_analyze_eccon_together.Active = true;
 
                encoderButtonsSensitive(encoderSensEnumStored);
@@ -1252,7 +1252,8 @@ public partial class ChronoJumpWindow
                hbox_encoder_analyze_mean_or_max.Visible=false;
                encoderAnalysis="powerBars";
                
-               check_encoder_analyze_eccon_together.Visible=true;
+               check_encoder_analyze_eccon_together.Sensitive=true;
+
                label_encoder_analyze_side_max.Visible = false;
 
                encoderButtonsSensitive(encoderSensEnumStored);
@@ -1265,7 +1266,8 @@ public partial class ChronoJumpWindow
                hbox_encoder_analyze_mean_or_max.Visible=true;
                encoderAnalysis="cross";
                
-               check_encoder_analyze_eccon_together.Visible=true;
+               check_encoder_analyze_eccon_together.Sensitive=true;
+
                label_encoder_analyze_side_max.Visible = false;
 
                encoderButtonsSensitive(encoderSensEnumStored);


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