[chronojump] Removed delete_last_test page from notebook_results_data (cause we are deleting it)



commit 8afa2fa26d627f39763eedca2dccbc4faf4017de
Author: Xavier de Blas <xaviblas gmail com>
Date:   Mon Sep 6 10:18:14 2021 +0200

    Removed delete_last_test page from notebook_results_data (cause we are deleting it)

 glade/app1.glade           | 53 ++++++++++++++++------------------------------
 src/gui/app1/chronojump.cs |  1 -
 2 files changed, 18 insertions(+), 36 deletions(-)
---
diff --git a/glade/app1.glade b/glade/app1.glade
index c4c709f1b..7c10dd282 100644
--- a/glade/app1.glade
+++ b/glade/app1.glade
@@ -8423,7 +8423,6 @@ EncoderInertialCapture</property>
                                                             <child>
                                                             <widget class="GtkNotebook" 
id="notebook_results_data">
                                                             <property name="can_focus">False</property>
-                                                            <property name="show_tabs">False</property>
                                                             <property name="show_border">False</property>
                                                             <child>
                                                             <widget class="GtkHBox" id="hbox30">
@@ -9498,28 +9497,6 @@ EncoderInertialCapture</property>
                                                             <property name="type">tab</property>
                                                             </packing>
                                                             </child>
-                                                            <child>
-                                                            <widget class="GtkLabel" id="label63">
-                                                            <property name="visible">True</property>
-                                                            <property name="can_focus">False</property>
-                                                            <property name="label" 
translatable="yes">Deleted test</property>
-                                                            </widget>
-                                                            <packing>
-                                                            <property name="position">3</property>
-                                                            </packing>
-                                                            </child>
-                                                            <child>
-                                                            <widget class="GtkLabel" id="label62">
-                                                            <property name="visible">True</property>
-                                                            <property name="can_focus">False</property>
-                                                            <property name="label">deleted test</property>
-                                                            </widget>
-                                                            <packing>
-                                                            <property name="position">3</property>
-                                                            <property name="tab_fill">False</property>
-                                                            <property name="type">tab</property>
-                                                            </packing>
-                                                            </child>
                                                             </widget>
                                                             <packing>
                                                             <property name="expand">False</property>
@@ -25645,6 +25622,9 @@ Concentric</property>
                                                             <child>
                                                             <placeholder/>
                                                             </child>
+                                                            <child>
+                                                            <placeholder/>
+                                                            </child>
                                                             </widget>
                                                             <packing>
                                                             <property name="expand">False</property>
@@ -31956,6 +31936,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>
@@ -31992,18 +31984,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>
@@ -41311,6 +41291,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/chronojump.cs b/src/gui/app1/chronojump.cs
index ed41fdfd1..7bcb2717f 100644
--- a/src/gui/app1/chronojump.cs
+++ b/src/gui/app1/chronojump.cs
@@ -6477,7 +6477,6 @@ LogB.Debug("mc finished 5");
        private void deleted_last_test_update_widgets() {
                sensitiveLastTestButtons(false);
                UtilGtk.ClearDrawingArea(event_execute_drawingarea, event_execute_pixmap);
-               notebook_results_data.CurrentPage = 3; //shows "deleted test"
        }
        
        private void on_delete_selected_jump_clicked (object o, EventArgs args) {


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