[chronojump] RunEncoder load button on analyze tab



commit 15963e6781a3c1ea42da32b8b43d0971fb0ef67f
Author: Xavier de Blas <xaviblas gmail com>
Date:   Mon Jan 27 19:07:25 2020 +0100

    RunEncoder load button on analyze tab

 glade/app1.glade      | 61 +++++++++++++++++++++++++++++++++++++++++++++++++--
 src/gui/app1/icons.cs |  2 ++
 2 files changed, 61 insertions(+), 2 deletions(-)
---
diff --git a/glade/app1.glade b/glade/app1.glade
index 0128cc43..a23af6f1 100644
--- a/glade/app1.glade
+++ b/glade/app1.glade
@@ -23180,18 +23180,75 @@ Concentric</property>
                                                   <widget class="GtkVBox" id="vbox138_run_encoder">
                                                     <property name="visible">True</property>
                                                     <property name="can_focus">False</property>
+                                                    <property name="border_width">2</property>
+                                                    <property name="spacing">2</property>
+                                                    <child>
+                                                      <widget class="GtkHBox" id="hbox199">
+                                                        <property name="visible">True</property>
+                                                        <property name="can_focus">False</property>
+                                                        <child>
+                                                          <widget class="GtkButton" 
id="button_run_encoder_analyze_load">
+                                                            <property name="visible">True</property>
+                                                            <property name="can_focus">True</property>
+                                                            <property name="receives_default">True</property>
+                                                            <signal name="clicked" 
handler="on_button_contacts_capture_load_clicked" swapped="no"/>
+                                                            <child>
+                                                            <widget class="GtkHBox" id="hbox335">
+                                                            <property name="visible">True</property>
+                                                            <property name="can_focus">False</property>
+                                                            <property name="spacing">6</property>
+                                                            <child>
+                                                            <widget class="GtkImage" 
id="image_run_encoder_analyze_load">
+                                                            <property name="visible">True</property>
+                                                            <property name="can_focus">False</property>
+                                                            <property 
name="stock">gtk-missing-image</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="label418">
+                                                            <property name="visible">True</property>
+                                                            <property name="can_focus">False</property>
+                                                            <property name="label" translatable="yes">Load 
file</property>
+                                                            </widget>
+                                                            <packing>
+                                                            <property name="expand">True</property>
+                                                            <property name="fill">True</property>
+                                                            <property name="position">1</property>
+                                                            </packing>
+                                                            </child>
+                                                            </widget>
+                                                            </child>
+                                                          </widget>
+                                                          <packing>
+                                                            <property name="expand">False</property>
+                                                            <property name="fill">False</property>
+                                                            <property name="position">0</property>
+                                                          </packing>
+                                                        </child>
+                                                      </widget>
+                                                      <packing>
+                                                        <property name="expand">False</property>
+                                                        <property name="fill">False</property>
+                                                        <property name="position">0</property>
+                                                      </packing>
+                                                    </child>
                                                     <child>
                                                       <widget class="GtkNotebook" id="notebook2">
                                                         <property name="visible">True</property>
                                                         <property name="can_focus">True</property>
                                                         <property name="tab_pos">bottom</property>
+                                                        <property name="show_border">False</property>
                                                         <child>
                                                           <widget class="GtkScrolledWindow" 
id="scrolledwindow9">
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">True</property>
                                                             <property 
name="hscrollbar_policy">automatic</property>
                                                             <property 
name="vscrollbar_policy">automatic</property>
-                                                            <property name="shadow_type">in</property>
                                                             <child>
                                                             <widget class="GtkViewport" 
id="viewport_run_encoder_graph">
                                                             <property name="visible">True</property>
@@ -23283,7 +23340,7 @@ Concentric</property>
                                                       <packing>
                                                         <property name="expand">True</property>
                                                         <property name="fill">True</property>
-                                                        <property name="position">0</property>
+                                                        <property name="position">1</property>
                                                       </packing>
                                                     </child>
                                                   </widget>
diff --git a/src/gui/app1/icons.cs b/src/gui/app1/icons.cs
index 096eb1f0..1b3b732e 100644
--- a/src/gui/app1/icons.cs
+++ b/src/gui/app1/icons.cs
@@ -191,6 +191,7 @@ public partial class ChronoJumpWindow
        [Widget] Gtk.Image image_run_encoder_exercise_add;
        [Widget] Gtk.Image image_run_encoder_exercise_delete;
        [Widget] Gtk.Image image_menuitem_runEncoder_session_overview;
+       [Widget] Gtk.Image image_run_encoder_analyze_load;
 
        //video play icons
        [Widget] Gtk.Image image_video_play_this_test_contacts;
@@ -395,6 +396,7 @@ public partial class ChronoJumpWindow
                image_encoder_capture_open1.Pixbuf = pixbuf;
                image_contacts_capture_load.Pixbuf = pixbuf;
                image_force_sensor_analyze_load.Pixbuf = pixbuf;
+               image_run_encoder_analyze_load.Pixbuf = pixbuf;
 
                pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "zero.png");
                image_force_sensor_tare.Pixbuf = pixbuf;


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