[chronojump] Cont of last commits



commit b7991a1e8e690430f3391a527c87966f1715fb73
Author: Xavier de Blas <xaviblas gmail com>
Date:   Wed Feb 2 13:31:01 2022 +0100

    Cont of last commits

 glade/app1.glade                 | 34 ++++++++++++++++++++--------------
 src/gui/app1/contactsExercise.cs |  4 ++++
 2 files changed, 24 insertions(+), 14 deletions(-)
---
diff --git a/glade/app1.glade b/glade/app1.glade
index 04b02294c..42c0841b8 100644
--- a/glade/app1.glade
+++ b/glade/app1.glade
@@ -16358,7 +16358,7 @@ Resisted race analyzer</property>
                                                             </widget>
                                                             </child>
                                                             <child>
-                                                            <widget class="GtkHBox" 
id="hbox_contacts_exercise_actions">
+                                                            <widget class="GtkHBox" id="hbox52">
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">False</property>
                                                             <property name="spacing">20</property>
@@ -16537,7 +16537,7 @@ Resisted race analyzer</property>
                                                             </widget>
                                                             </child>
                                                             <child>
-                                                            <widget class="GtkHBox" id="hbox52">
+                                                            <widget class="GtkHBox" 
id="hbox_contacts_exercise_actions">
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">False</property>
                                                             <property name="spacing">25</property>
@@ -26092,6 +26092,9 @@ Concentric</property>
                                                             <child>
                                                             <placeholder/>
                                                             </child>
+                                                            <child>
+                                                            <placeholder/>
+                                                            </child>
                                                             </widget>
                                                             <packing>
                                                             <property name="expand">False</property>
@@ -32449,6 +32452,18 @@ Concentric</property>
                                                             <property name="can_focus">False</property>
                                                             <property name="spacing">6</property>
                                                             <child>
+                                                            <widget class="GtkLabel" 
id="label_video_encoder_tests_will_be_filmed">
+                                                            <property name="can_focus">False</property>
+                                                            <property name="label" translatable="yes">Tests 
will be filmed</property>
+                                                            </widget>
+                                                            <packing>
+                                                            <property name="expand">False</property>
+                                                            <property name="fill">False</property>
+                                                            <property name="pack_type">end</property>
+                                                            <property name="position">0</property>
+                                                            </packing>
+                                                            </child>
+                                                            <child>
                                                             <widget class="GtkHBox" 
id="hbox_video_encoder_capturing">
                                                             <property name="can_focus">False</property>
                                                             <property name="spacing">4</property>
@@ -32485,18 +32500,6 @@ Concentric</property>
                                                             </packing>
                                                             </child>
                                                             <child>
-                                                            <widget class="GtkLabel" 
id="label_video_encoder_tests_will_be_filmed">
-                                                            <property name="can_focus">False</property>
-                                                            <property name="label" translatable="yes">Tests 
will be filmed</property>
-                                                            </widget>
-                                                            <packing>
-                                                            <property name="expand">False</property>
-                                                            <property name="fill">False</property>
-                                                            <property name="pack_type">end</property>
-                                                            <property name="position">0</property>
-                                                            </packing>
-                                                            </child>
-                                                            <child>
                                                             <widget class="GtkHBox" 
id="hbox_video_encoder_no_capturing">
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">False</property>
@@ -41956,6 +41959,9 @@ then click this button.</property>
                                                             <child>
                                                             <placeholder/>
                                                             </child>
+                                                            <child>
+                                                            <placeholder/>
+                                                            </child>
                                                             </widget>
                                                             <packing>
                                                             <property name="expand">False</property>
diff --git a/src/gui/app1/contactsExercise.cs b/src/gui/app1/contactsExercise.cs
index f88187e6e..6b16af320 100644
--- a/src/gui/app1/contactsExercise.cs
+++ b/src/gui/app1/contactsExercise.cs
@@ -34,6 +34,7 @@ public partial class ChronoJumpWindow
        [Widget] Gtk.Frame frame_image_test;
        [Widget] Gtk.Label label_contacts_exercise_selected_name;
        [Widget] Gtk.Label label_contacts_exercise_selected_options;
+       [Widget] Gtk.HBox hbox_contacts_exercise_actions;
        [Widget] Gtk.Button button_contacts_exercise_actions_edit_do;
        [Widget] Gtk.Button button_contacts_exercise_actions_add_do;
        [Widget] Gtk.Label label_contacts_exercise_error;
@@ -319,9 +320,11 @@ public partial class ChronoJumpWindow
        {
                notebook_execute.Sensitive = false;
                frame_run_encoder_exercise.Visible = true; //TODO: in the future implement more modes
+               hbox_contacts_exercise_actions.Sensitive = false;
                notebook_options_top.Visible = false;
                label_contacts_exercise_error.Text = "";
 
+
                if(adding) {
                        button_contacts_exercise_actions_edit_do.Visible = false;
                        button_contacts_exercise_actions_add_do.Visible = true;
@@ -335,6 +338,7 @@ public partial class ChronoJumpWindow
        {
                notebook_execute.Sensitive = true;
                frame_run_encoder_exercise.Visible = false;
+               hbox_contacts_exercise_actions.Sensitive = true;
                notebook_options_top.Visible = true;
        }
 


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