[chronojump] Now capture button in all tests is a timer



commit 967452fc5e61e38ca38c93b28e1acedb242ce8b8
Author: Xavier de Blas <xaviblas gmail com>
Date:   Sat Mar 18 14:12:16 2017 +0100

    Now capture button in all tests is a timer

 glade/app1.glade           |   26 +++-----------------------
 src/Makefile.am            |    1 +
 src/gui/chronojump.cs      |    1 -
 src/gui/chronojumpIcons.cs |    5 ++++-
 4 files changed, 8 insertions(+), 25 deletions(-)
---
diff --git a/glade/app1.glade b/glade/app1.glade
index 101398d..5a6e166 100644
--- a/glade/app1.glade
+++ b/glade/app1.glade
@@ -6754,34 +6754,11 @@ after time</property>
                                                             <signal name="clicked" 
handler="on_button_execute_test_clicked" swapped="no"/>
                                                             <accelerator key="space" signal="clicked"/>
                                                             <child>
-                                                            <widget class="GtkVBox" id="vbox72">
-                                                            <property name="visible">True</property>
-                                                            <property name="can_focus">False</property>
-                                                            <child>
                                                             <widget class="GtkImage" 
id="image_button_execute">
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">False</property>
                                                             <property name="stock">gtk-apply</property>
                                                             </widget>
-                                                            <packing>
-                                                            <property name="expand">True</property>
-                                                            <property name="fill">True</property>
-                                                            <property name="position">0</property>
-                                                            </packing>
-                                                            </child>
-                                                            <child>
-                                                            <widget class="GtkLabel" id="label41">
-                                                            <property name="visible">True</property>
-                                                            <property name="can_focus">False</property>
-                                                            <property name="label" 
translatable="yes">Execute test</property>
-                                                            </widget>
-                                                            <packing>
-                                                            <property name="expand">True</property>
-                                                            <property name="fill">True</property>
-                                                            <property name="position">1</property>
-                                                            </packing>
-                                                            </child>
-                                                            </widget>
                                                             </child>
                                                             </widget>
                                                             <packing>
@@ -19664,6 +19641,9 @@ then click this button.</property>
                                                             <child>
                                                             <placeholder/>
                                                             </child>
+                                                            <child>
+                                                            <placeholder/>
+                                                            </child>
                                                             </widget>
                                                             <packing>
                                                             <property name="expand">False</property>
diff --git a/src/Makefile.am b/src/Makefile.am
index 80c1b69..be4f808 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -358,6 +358,7 @@ RESOURCES = \
        ../images/md/ic_gravity_1x.png,image_gravity.png \
        ../images/md/ic_settings_backup_restore_blue_24dp_1x.png,image_inertia.png \
        ../images/md/ic_timer_blue_24dp_1x.png,image_capture.png \
+       ../images/md/ic_timer_blue_24dp_2x.png,image_capture_big.png \
        ../images/md/ic_insert_chart_blue_24dp_1x.png,image_analyze.png \
        ../images/md/ic_developer_board_blue_24dp_1x.png,image_chronopic_connect.png \
        ../images/md/ic_person_blue_24dp_1x.png,image_person.png \
diff --git a/src/gui/chronojump.cs b/src/gui/chronojump.cs
index 7f5bfe3..3731ef6 100644
--- a/src/gui/chronojump.cs
+++ b/src/gui/chronojump.cs
@@ -118,7 +118,6 @@ public partial class ChronoJumpWindow
        [Widget] Gtk.Image image_export_encoder_signal;
 
        //contact tests execute buttons
-       //[Widget] Gtk.Image image_button_execute;
        [Widget] Gtk.Image image_button_finish;
        [Widget] Gtk.Image image_button_cancel; //needed this specially because theme cancel sometimes seems 
"record"
        //encoder tests execute buttons
diff --git a/src/gui/chronojumpIcons.cs b/src/gui/chronojumpIcons.cs
index 7b59c85..07bffcb 100644
--- a/src/gui/chronojumpIcons.cs
+++ b/src/gui/chronojumpIcons.cs
@@ -42,6 +42,7 @@ public partial class ChronoJumpWindow
        [Widget] Gtk.Image image_all_persons_events;
        [Widget] Gtk.Image image_encoder_1RM_info;
        [Widget] Gtk.Image image_chronopic_connect;
+       [Widget] Gtk.Image image_button_execute;
        [Widget] Gtk.Image image_recalculate;
        [Widget] Gtk.Image image_encoder_configuration;
        [Widget] Gtk.Image image_encoder_exercise;
@@ -124,8 +125,10 @@ public partial class ChronoJumpWindow
                image_encoder_capture_1set.Pixbuf = pixbuf;
                pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "cont.png");
                image_encoder_capture_cont.Pixbuf = pixbuf;
-               pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "run.png"); //or use "timer"
+               //pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "run.png");
+               pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "image_capture_big.png");
                image_encoder_capture_execute.Pixbuf = pixbuf;
+               image_button_execute.Pixbuf = pixbuf;
 
                pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "image_add.png");
                image_encoder_exercise_add.Pixbuf = pixbuf;


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