[chronojump] Added image for run interval inspect



commit 6f75c258385e22c2c192fcb56137fb3f4bea4eb9
Author: Xavier de Blas <xaviblas gmail com>
Date:   Mon Mar 19 21:44:38 2018 +0100

    Added image for run interval inspect

 glade/app1.glade                           |    9 ++++++++-
 images/md/ic_test_inspect_blue_24dp_1x.png |  Bin 0 -> 498 bytes
 src/Makefile.am                            |    1 +
 src/gui/chronojumpIcons.cs                 |    4 ++++
 4 files changed, 13 insertions(+), 1 deletions(-)
---
diff --git a/glade/app1.glade b/glade/app1.glade
index af8e0cd..189c6b0 100644
--- a/glade/app1.glade
+++ b/glade/app1.glade
@@ -8712,12 +8712,19 @@ EncoderInertialCapture</property>
                                                             </child>
                                                             <child>
                                                             <widget class="GtkButton" 
id="button_inspect_last_test">
-                                                            <property name="label">Inspect</property>
                                                             <property name="can_focus">True</property>
                                                             <property name="receives_default">True</property>
                                                             <property name="has_tooltip">True</property>
+                                                            <property name="tooltip" 
translatable="yes">Inspect</property>
                                                             <signal name="clicked" 
handler="on_button_inspect_last_test_clicked" swapped="no"/>
                                                             <accelerator key="v" signal="clicked"/>
+                                                            <child>
+                                                            <widget class="GtkImage" id="image_test_inspect">
+                                                            <property name="visible">True</property>
+                                                            <property name="can_focus">False</property>
+                                                            <property 
name="stock">gtk-missing-image</property>
+                                                            </widget>
+                                                            </child>
                                                             </widget>
                                                             <packing>
                                                             <property name="expand">True</property>
diff --git a/images/md/ic_test_inspect_blue_24dp_1x.png b/images/md/ic_test_inspect_blue_24dp_1x.png
new file mode 100644
index 0000000..e21372c
Binary files /dev/null and b/images/md/ic_test_inspect_blue_24dp_1x.png differ
diff --git a/src/Makefile.am b/src/Makefile.am
index 50163f6..cefe1ec 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -439,6 +439,7 @@ RESOURCES = \
        ../images/md/inertial_extended.png,inertial_extended.png \
        ../images/md/calibrate.png,calibrate.png \
        ../images/md/ic_folder_check_blue_24dp_1x.png,folder_check.png \
+       ../images/md/ic_test_inspect_blue_24dp_1x.png,image_test_inspect.png \
        ../images/md/ic_zoom_blue_24dp_1x.png,zoom.png \
        ../images/md/trigger_2x.png,image_encoder_triggers.png \
        ../images/md/trigger_no_2x.png,image_encoder_triggers_no.png \
diff --git a/src/gui/chronojumpIcons.cs b/src/gui/chronojumpIcons.cs
index fe41dca..d5bedad 100644
--- a/src/gui/chronojumpIcons.cs
+++ b/src/gui/chronojumpIcons.cs
@@ -73,6 +73,7 @@ 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_test_inspect;
 
        [Widget] Gtk.Image image_selector_start_jumps;
        [Widget] Gtk.Image image_selector_start_runs;
@@ -238,6 +239,9 @@ public partial class ChronoJumpWindow
                image_add_test3.Pixbuf = pixbuf;
                image_add_test4.Pixbuf = pixbuf;
 
+               pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "image_test_inspect.png");
+               image_test_inspect.Pixbuf = pixbuf;
+
                pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "image_chronopic_connect.png");
                image_chronopic_connect_contacts.Pixbuf = pixbuf;
                image_chronopic_connect_encoder.Pixbuf = pixbuf;


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