[chronojump] Removed string "decimal point char" on run type add



commit e079cbe247e6af1f9f2d35d4eb53e866913ab685
Author: Xavier de Blas <xaviblas gmail com>
Date:   Thu Feb 8 17:04:09 2018 +0100

    Removed string "decimal point char" on run type add

 glade/run_type_add.glade |   13 +------------
 src/gui/runType.cs       |    2 --
 2 files changed, 1 insertions(+), 14 deletions(-)
---
diff --git a/glade/run_type_add.glade b/glade/run_type_add.glade
index 50a54c7..18547e6 100644
--- a/glade/run_type_add.glade
+++ b/glade/run_type_add.glade
@@ -403,7 +403,7 @@ options</property>
                             <property name="secondary_icon_activatable">False</property>
                             <property name="primary_icon_sensitive">True</property>
                             <property name="secondary_icon_sensitive">True</property>
-                            <property name="adjustment">100 0 99999 1 10 0</property>
+                            <property name="adjustment">100 0 99999 0.10000000000000001 1 0</property>
                             <property name="climb_rate">1</property>
                             <property name="digits">2</property>
                             <property name="numeric">True</property>
@@ -427,17 +427,6 @@ options</property>
                             <property name="position">1</property>
                           </packing>
                         </child>
-                        <child>
-                          <widget class="GtkLabel" id="label_decimal">
-                            <property name="visible">True</property>
-                            <property name="can_focus">False</property>
-                          </widget>
-                          <packing>
-                            <property name="expand">False</property>
-                            <property name="fill">False</property>
-                            <property name="position">2</property>
-                          </packing>
-                        </child>
                       </widget>
                       <packing>
                         <property name="expand">False</property>
diff --git a/src/gui/runType.cs b/src/gui/runType.cs
index 4e0f9ed..23073e7 100644
--- a/src/gui/runType.cs
+++ b/src/gui/runType.cs
@@ -51,7 +51,6 @@ public class RunTypeAddWindow
        [Widget] Gtk.SpinButton spin_fixed_tracks_or_time;
 
        [Widget] Gtk.Label label_distance;
-       [Widget] Gtk.Label label_decimal;
        [Widget] Gtk.RadioButton radiobutton_dist_variable;
        [Widget] Gtk.RadioButton radiobutton_dist_fixed;
        [Widget] Gtk.RadioButton radiobutton_dist_different;
@@ -128,7 +127,6 @@ public class RunTypeAddWindow
                spin_fixed_tracks_or_time.Sensitive = false;
                label_distance.Text = Catalog.GetString("Distance");
                System.Globalization.NumberFormatInfo localeInfo = new 
System.Globalization.NumberFormatInfo();
-               label_decimal.Text = string.Format(Catalog.GetString("\n(decimal separator: '{0}')"), 
localeInfo.NumberDecimalSeparator);
                
                radiobutton_dist_different.Visible = ! simple;
                hbox_distance_fixed.Hide();     


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