[chronojump] Run simple track distance (better without image)



commit 5152bb75722b836f0aafdbe97d50a6dd7bf650a1
Author: Xavier de Blas <xaviblas gmail com>
Date:   Thu Feb 8 16:26:56 2018 +0100

    Run simple track distance (better without image)

 glade/app1.glade           |   34 ++++++++++++++++++++++++++++++----
 src/gui/chronojumpIcons.cs |    6 ------
 2 files changed, 30 insertions(+), 10 deletions(-)
---
diff --git a/glade/app1.glade b/glade/app1.glade
index 3102ab4..b502f10 100644
--- a/glade/app1.glade
+++ b/glade/app1.glade
@@ -1542,6 +1542,9 @@
                                                             <placeholder/>
                                                             </child>
                                                             <child>
+                                                            <placeholder/>
+                                                            </child>
+                                                            <child>
                                                             <widget class="GtkLabel" 
id="label_start_selector_jumps">
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">False</property>
@@ -6558,6 +6561,7 @@ EncoderInertialCapture</property>
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">True</property>
                                                             <property name="receives_default">True</property>
+                                                            <property name="relief">half</property>
                                                             <signal name="clicked" 
handler="on_button_runs_simple_track_distance_clicked" swapped="no"/>
                                                             <child>
                                                             <widget class="GtkHBox" id="hbox246">
@@ -6565,10 +6569,10 @@ EncoderInertialCapture</property>
                                                             <property name="can_focus">False</property>
                                                             <property name="spacing">4</property>
                                                             <child>
-                                                            <widget class="GtkImage" 
id="image_runs_simple_track_distance">
+                                                            <widget class="GtkLabel" id="label286">
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">False</property>
-                                                            <property 
name="stock">gtk-missing-image</property>
+                                                            <property name="label">|--</property>
                                                             </widget>
                                                             <packing>
                                                             <property name="expand">True</property>
@@ -6598,6 +6602,18 @@ EncoderInertialCapture</property>
                                                             <property name="position">2</property>
                                                             </packing>
                                                             </child>
+                                                            <child>
+                                                            <widget class="GtkLabel" id="label293">
+                                                            <property name="visible">True</property>
+                                                            <property name="can_focus">False</property>
+                                                            <property name="label">--|</property>
+                                                            </widget>
+                                                            <packing>
+                                                            <property name="expand">True</property>
+                                                            <property name="fill">True</property>
+                                                            <property name="position">3</property>
+                                                            </packing>
+                                                            </child>
                                                             </widget>
                                                             </child>
                                                             </widget>
@@ -6632,6 +6648,7 @@ EncoderInertialCapture</property>
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">True</property>
                                                             <property name="receives_default">True</property>
+                                                            <property name="relief">half</property>
                                                             <signal name="clicked" 
handler="on_button_run_with_reaction_time_help_clicked" swapped="no"/>
                                                             <child>
                                                             <widget class="GtkImage" 
id="image_run_simple_with_reaction_time_help">
@@ -6723,6 +6740,9 @@ EncoderInertialCapture</property>
                                                             </packing>
                                                             </child>
                                                             <child>
+                                                            <placeholder/>
+                                                            </child>
+                                                            <child>
                                                             <widget class="GtkSpinButton" 
id="extra_window_runs_interval_spinbutton_distance">
                                                             <property name="can_focus">True</property>
                                                             <property name="invisible_char">●</property>
@@ -6741,7 +6761,7 @@ EncoderInertialCapture</property>
                                                             <packing>
                                                             <property name="expand">False</property>
                                                             <property name="fill">True</property>
-                                                            <property name="position">1</property>
+                                                            <property name="position">2</property>
                                                             </packing>
                                                             </child>
                                                             <child>
@@ -6753,9 +6773,12 @@ EncoderInertialCapture</property>
                                                             <packing>
                                                             <property name="expand">True</property>
                                                             <property name="fill">True</property>
-                                                            <property name="position">2</property>
+                                                            <property name="position">3</property>
                                                             </packing>
                                                             </child>
+                                                            <child>
+                                                            <placeholder/>
+                                                            </child>
                                                             </widget>
                                                             <packing>
                                                             <property name="expand">False</property>
@@ -22770,6 +22793,9 @@ then click this button.</property>
                                                             <child>
                                                             <placeholder/>
                                                             </child>
+                                                            <child>
+                                                            <placeholder/>
+                                                            </child>
                                                             </widget>
                                                             <packing>
                                                             <property name="expand">False</property>
diff --git a/src/gui/chronojumpIcons.cs b/src/gui/chronojumpIcons.cs
index c23b396..4947b12 100644
--- a/src/gui/chronojumpIcons.cs
+++ b/src/gui/chronojumpIcons.cs
@@ -68,8 +68,6 @@ public partial class ChronoJumpWindow
        [Widget] Gtk.Image image_add_test2;
        [Widget] Gtk.Image image_add_test3;
        [Widget] Gtk.Image image_add_test4;
-       [Widget] Gtk.Image image_runs_simple_track_distance;
-       [Widget] Gtk.Image image_runs_interval_track_distance;
 
        [Widget] Gtk.Image image_selector_start_jumps;
        [Widget] Gtk.Image image_selector_start_runs;
@@ -156,10 +154,6 @@ public partial class ChronoJumpWindow
                image_quit2.Pixbuf = pixbuf;
                image_quit_from_app1.Pixbuf = pixbuf;
 
-               pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "run_track_distance.png");
-               image_runs_simple_track_distance.Pixbuf = pixbuf;
-               image_runs_interval_track_distance.Pixbuf = pixbuf;
-
                pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "muscle-concentric.png");
                image_top_eccon.Pixbuf = pixbuf;
 


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