[chronojump] Video record button only visible on Linux, right now



commit cb7203a73ba757c69755c9a3d6fc276c0b471391
Author: Xavier de Blas <xaviblas gmail com>
Date:   Tue Dec 11 12:27:17 2018 +0100

    Video record button only visible on Linux, right now

 glade/app1.glade      | 50 +++++++++++++-------------------------------------
 src/gui/chronojump.cs |  3 +++
 2 files changed, 16 insertions(+), 37 deletions(-)
---
diff --git a/glade/app1.glade b/glade/app1.glade
index eb46a28e..4287bd2b 100644
--- a/glade/app1.glade
+++ b/glade/app1.glade
@@ -1802,6 +1802,9 @@
                                                             <placeholder/>
                                                             </child>
                                                             <child>
+                                                            <placeholder/>
+                                                            </child>
+                                                            <child>
                                                             <widget class="GtkLabel" 
id="label_start_selector_jumps">
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">False</property>
@@ -3507,7 +3510,7 @@ EncoderInertialCapture</property>
                                 <property name="tab_vborder">4</property>
                                 <signal name="switch_page" handler="on_notebook_sup_switch_page" 
swapped="no"/>
                                 <child>
-                                  <widget class="GtkAlignment" id="alignment2">
+                                  <widget class="GtkAlignment" id="alignment_contacts">
                                     <property name="visible">True</property>
                                     <property name="can_focus">False</property>
                                     <property name="top_padding">4</property>
@@ -19245,42 +19248,6 @@ Concentric</property>
                                                             <placeholder/>
                                                             </child>
                                                             <child>
-                                                            <placeholder/>
-                                                            </child>
-                                                            <child>
-                                                            <placeholder/>
-                                                            </child>
-                                                            <child>
-                                                            <placeholder/>
-                                                            </child>
-                                                            <child>
-                                                            <placeholder/>
-                                                            </child>
-                                                            <child>
-                                                            <placeholder/>
-                                                            </child>
-                                                            <child>
-                                                            <placeholder/>
-                                                            </child>
-                                                            <child>
-                                                            <placeholder/>
-                                                            </child>
-                                                            <child>
-                                                            <placeholder/>
-                                                            </child>
-                                                            <child>
-                                                            <placeholder/>
-                                                            </child>
-                                                            <child>
-                                                            <placeholder/>
-                                                            </child>
-                                                            <child>
-                                                            <placeholder/>
-                                                            </child>
-                                                            <child>
-                                                            <placeholder/>
-                                                            </child>
-                                                            <child>
                                                             <widget class="GtkLabel" 
id="label_force_sensor_ai_rfd_a">
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">False</property>
@@ -19580,6 +19547,9 @@ Concentric</property>
                                                             <placeholder/>
                                                             </child>
                                                             <child>
+                                                            <placeholder/>
+                                                            </child>
+                                                            <child>
                                                             <widget class="GtkCheckButton" 
id="checkbutton_force_sensor_ai_b">
                                                             <property name="width_request">30</property>
                                                             <property name="visible">True</property>
@@ -19677,6 +19647,9 @@ Concentric</property>
                                                             <child>
                                                             <placeholder/>
                                                             </child>
+                                                            <child>
+                                                            <placeholder/>
+                                                            </child>
                                                             </widget>
                                                             <packing>
                                                             <property name="expand">False</property>
@@ -27943,6 +27916,9 @@ then click this button.</property>
                                                             <child>
                                                             <placeholder/>
                                                             </child>
+                                                            <child>
+                                                            <placeholder/>
+                                                            </child>
                                                             </widget>
                                                             <packing>
                                                             <property name="expand">False</property>
diff --git a/src/gui/chronojump.cs b/src/gui/chronojump.cs
index aadad8a1..c83b89dd 100644
--- a/src/gui/chronojump.cs
+++ b/src/gui/chronojump.cs
@@ -592,6 +592,9 @@ public partial class ChronoJumpWindow
                //at initialization of chronojump and gives problems if this signals are raised while 
preferences are loading
                loadPreferencesAtStart ();
 
+               //TODO: make this visible for all systems when it finally works
+               checkbutton_video.Visible = (UtilAll.GetOSEnum() == UtilAll.OperatingSystems.LINUX);
+
                if(topMessage != "") {
                        label_message_at_start.Text = topMessage;
                        hbox_message_at_start.Visible = true;


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