[chronojump] Encoder networks upload next capture moved to top right



commit 5c821ac90cbbca237c442211cde958d2a4fda24a
Author: Xavier de Blas <xaviblas gmail com>
Date:   Fri Jun 24 08:07:14 2022 +0200

    Encoder networks upload next capture moved to top right

 glade/app1.glade    | 47 +++++++++++++++--------------------------------
 src/gui/networks.cs |  3 +--
 2 files changed, 16 insertions(+), 34 deletions(-)
---
diff --git a/glade/app1.glade b/glade/app1.glade
index c3bf71a95..39b5b4811 100644
--- a/glade/app1.glade
+++ b/glade/app1.glade
@@ -31881,31 +31881,6 @@ Concentric</property>
                                                             <property name="can_focus">False</property>
                                                             <property name="spacing">8</property>
                                                             <child>
-                                                            <widget class="GtkVBox" id="vbox132">
-                                                            <property name="visible">True</property>
-                                                            <property name="can_focus">False</property>
-                                                            <child>
-                                                            <widget class="GtkAlignment" 
id="alignment_check_encoder_networks_upload">
-                                                            <property name="can_focus">False</property>
-                                                            <property name="bottom_padding">4</property>
-                                                            <child>
-                                                            <widget class="GtkCheckButton" 
id="check_encoder_networks_upload">
-                                                            <property name="label" 
translatable="yes">Upload</property>
-                                                            <property name="visible">True</property>
-                                                            <property name="can_focus">True</property>
-                                                            <property 
name="receives_default">False</property>
-                                                            <property name="active">True</property>
-                                                            <property name="draw_indicator">True</property>
-                                                            </widget>
-                                                            </child>
-                                                            </widget>
-                                                            <packing>
-                                                            <property name="expand">False</property>
-                                                            <property name="fill">False</property>
-                                                            <property name="position">0</property>
-                                                            </packing>
-                                                            </child>
-                                                            <child>
                                                             <widget class="GtkButton" 
id="button_encoder_capture">
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">True</property>
@@ -31930,13 +31905,6 @@ Concentric</property>
                                                             <packing>
                                                             <property name="expand">True</property>
                                                             <property name="fill">True</property>
-                                                            <property name="position">1</property>
-                                                            </packing>
-                                                            </child>
-                                                            </widget>
-                                                            <packing>
-                                                            <property name="expand">False</property>
-                                                            <property name="fill">False</property>
                                                             <property name="position">0</property>
                                                             </packing>
                                                             </child>
@@ -32650,6 +32618,21 @@ Concentric</property>
                                                             <property name="position">0</property>
                                                             </packing>
                                                             </child>
+                                                            <child>
+                                                            <widget class="GtkCheckButton" 
id="check_encoder_networks_upload">
+                                                            <property name="label" translatable="yes">Upload 
next capture</property>
+                                                            <property name="visible">True</property>
+                                                            <property name="can_focus">True</property>
+                                                            <property 
name="receives_default">False</property>
+                                                            <property name="active">True</property>
+                                                            <property name="draw_indicator">True</property>
+                                                            </widget>
+                                                            <packing>
+                                                            <property name="expand">True</property>
+                                                            <property name="fill">True</property>
+                                                            <property name="position">1</property>
+                                                            </packing>
+                                                            </child>
                                                             </widget>
                                                             <packing>
                                                             <property name="expand">True</property>
diff --git a/src/gui/networks.cs b/src/gui/networks.cs
index ca2315c0d..01953b7cb 100644
--- a/src/gui/networks.cs
+++ b/src/gui/networks.cs
@@ -75,7 +75,6 @@ public partial class ChronoJumpWindow
        [Widget] Gtk.Button button_encoder_exercise_delete;
 
        //encoder ...
-       [Widget] Gtk.Alignment alignment_check_encoder_networks_upload;
        [Widget] Gtk.CheckButton check_encoder_networks_upload;
        [Widget] Gtk.Button button_encoder_monthly_change_current_session;
        [Widget] Gtk.Button button_encoder_analyze_image_compujump_send_email;
@@ -197,7 +196,7 @@ public partial class ChronoJumpWindow
                        showWebcamCaptureContactsControls (false); //contacts
                        hbox_video_encoder.Visible = false;
 
-                       alignment_check_encoder_networks_upload.Visible = true;
+                       check_encoder_networks_upload.Visible = true;
 
                        //networks always without lateral person win
                        //also this is important for seing label_rfid_encoder_wait


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