[chronojump] Chronopic Autodetect INACTIVE by default on OSX



commit 124399c2dc5a4264b6a9251ae6915368eb718bc9
Author: Xavier de Blas <xaviblas gmail com>
Date:   Tue Dec 1 16:20:17 2015 +0100

    Chronopic Autodetect INACTIVE by default on OSX

 glade/chronojump.glade |   67 +++++++++++++++++++++++++++++++++++++++++++++---
 src/config.cs          |    8 +++++-
 2 files changed, 70 insertions(+), 5 deletions(-)
---
diff --git a/glade/chronojump.glade b/glade/chronojump.glade
index b5cbd49..343e0bf 100644
--- a/glade/chronojump.glade
+++ b/glade/chronojump.glade
@@ -1079,7 +1079,6 @@
                                             </child>
                                             <child>
                                               <widget class="GtkHBox" id="hbox167">
-                                                <property name="visible">True</property>
                                                 <property name="can_focus">False</property>
                                                 <child>
                                                   <widget class="GtkLabel" id="label132">
@@ -7920,6 +7919,9 @@ after time</property>
                                                             <child>
                                                             <placeholder/>
                                                             </child>
+                                                            <child>
+                                                            <placeholder/>
+                                                            </child>
                                                             </widget>
                                                             </child>
                                                             <child>
@@ -9373,6 +9375,9 @@ after time</property>
                                                             <child>
                                                             <placeholder/>
                                                             </child>
+                                                            <child>
+                                                            <placeholder/>
+                                                            </child>
                                                             </widget>
                                                             <packing>
                                                             <property name="position">2</property>
@@ -10467,6 +10472,9 @@ after time</property>
                                                             <child>
                                                             <placeholder/>
                                                             </child>
+                                                            <child>
+                                                            <placeholder/>
+                                                            </child>
                                                             </widget>
                                                             <packing>
                                                             <property name="position">4</property>
@@ -22174,6 +22182,9 @@ by you</property>
                         <child>
                           <placeholder/>
                         </child>
+                        <child>
+                          <placeholder/>
+                        </child>
                       </widget>
                     </child>
                   </widget>
@@ -23167,6 +23178,9 @@ by you</property>
                         <child>
                           <placeholder/>
                         </child>
+                        <child>
+                          <placeholder/>
+                        </child>
                       </widget>
                     </child>
                   </widget>
@@ -24652,6 +24666,9 @@ by you</property>
               <placeholder/>
             </child>
             <child>
+              <placeholder/>
+            </child>
+            <child>
               <widget class="GtkButton" id="button_video_url">
                 <property name="visible">True</property>
                 <property name="can_focus">True</property>
@@ -25194,6 +25211,9 @@ by you</property>
             <child>
               <placeholder/>
             </child>
+            <child>
+              <placeholder/>
+            </child>
           </widget>
           <packing>
             <property name="expand">True</property>
@@ -37054,6 +37074,24 @@ options</property>
                             <child>
                               <placeholder/>
                             </child>
+                            <child>
+                              <placeholder/>
+                            </child>
+                            <child>
+                              <placeholder/>
+                            </child>
+                            <child>
+                              <placeholder/>
+                            </child>
+                            <child>
+                              <placeholder/>
+                            </child>
+                            <child>
+                              <placeholder/>
+                            </child>
+                            <child>
+                              <placeholder/>
+                            </child>
                           </widget>
                         </child>
                       </widget>
@@ -38989,6 +39027,18 @@ To differentiate between male and female, use the values 1/0, or m/f, or M/F on
                     <child>
                       <placeholder/>
                     </child>
+                    <child>
+                      <placeholder/>
+                    </child>
+                    <child>
+                      <placeholder/>
+                    </child>
+                    <child>
+                      <placeholder/>
+                    </child>
+                    <child>
+                      <placeholder/>
+                    </child>
                   </widget>
                 </child>
               </widget>
@@ -40296,9 +40346,6 @@ To differentiate between male and female, use the values 1/0, or m/f, or M/F on
                                       <placeholder/>
                                     </child>
                                     <child>
-                                      <placeholder/>
-                                    </child>
-                                    <child>
                                       <widget class="GtkLabel" id="label218">
                                         <property name="visible">True</property>
                                         <property name="can_focus">False</property>
@@ -41291,6 +41338,9 @@ To differentiate between male and female, use the values 1/0, or m/f, or M/F on
                                     <child>
                                       <placeholder/>
                                     </child>
+                                    <child>
+                                      <placeholder/>
+                                    </child>
                                   </widget>
                                 </child>
                               </widget>
@@ -45056,6 +45106,9 @@ It starts before and arrives there with some speed.</property>
                         <child>
                           <placeholder/>
                         </child>
+                        <child>
+                          <placeholder/>
+                        </child>
                       </widget>
                       <packing>
                         <property name="left_attach">2</property>
@@ -45713,6 +45766,9 @@ It starts before and arrives there with some speed.</property>
                     <child>
                       <placeholder/>
                     </child>
+                    <child>
+                      <placeholder/>
+                    </child>
                   </widget>
                 </child>
               </widget>
@@ -46385,6 +46441,9 @@ It starts before and arrives there with some speed.</property>
                     <child>
                       <placeholder/>
                     </child>
+                    <child>
+                      <placeholder/>
+                    </child>
                   </widget>
                 </child>
               </widget>
diff --git a/src/config.cs b/src/config.cs
index 7c255ad..976d5f4 100644
--- a/src/config.cs
+++ b/src/config.cs
@@ -46,7 +46,13 @@ public class Config
                Maximized = false;
                CustomButtons = false;
                UseVideo = true;
-               AutodetectPort = AutodetectPortEnum.ACTIVE;
+               
+               //currently disabled AutodetectPort by default on MACOSX
+               if(UtilAll.GetOSEnum() == UtilAll.OperatingSystems.MACOSX)
+                       AutodetectPort = AutodetectPortEnum.INACTIVE;
+               else
+                       AutodetectPort = AutodetectPortEnum.ACTIVE;
+
                OnlyEncoder = false;
                EncoderCaptureShowOnlyBars = false;
                EncoderUpdateTreeViewWhileCapturing = true;


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