[chronojump] Chronopic button to topleft



commit ceed1386ad85ffca462faa777c9c65998748545c
Author: Xavier de Blas <xaviblas gmail com>
Date:   Mon Apr 2 11:34:49 2012 +0800

    Chronopic button to topleft

 glade/chronojump.glade |   94 ++++++++++++++++++++++++++++++++++++++++++++++-
 src/gui/encoder.cs     |    1 +
 2 files changed, 93 insertions(+), 2 deletions(-)
---
diff --git a/glade/chronojump.glade b/glade/chronojump.glade
index fbdd074..90b6197 100644
--- a/glade/chronojump.glade
+++ b/glade/chronojump.glade
@@ -13643,6 +13643,95 @@ by you</property>
                       <widget class="GtkVBox" id="vbox_persons">
                         <property name="visible">True</property>
                         <child>
+                          <widget class="GtkHSeparator" id="hseparator1">
+                            <property name="visible">True</property>
+                          </widget>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="position">0</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <widget class="GtkHBox" id="hbox77">
+                            <property name="visible">True</property>
+                            <property name="spacing">8</property>
+                            <child>
+                              <widget class="GtkHBox" id="hbox91">
+                                <property name="visible">True</property>
+                                <property name="spacing">4</property>
+                                <child>
+                                  <widget class="GtkLabel" id="label_chronopics">
+                                    <property name="visible">True</property>
+                                    <property name="xpad">5</property>
+                                    <property name="label" translatable="yes">&lt;b&gt;Chronopics&lt;/b&gt;</property>
+                                    <property name="use_markup">True</property>
+                                  </widget>
+                                  <packing>
+                                    <property name="expand">False</property>
+                                    <property name="fill">False</property>
+                                    <property name="position">0</property>
+                                  </packing>
+                                </child>
+                                <child>
+                                  <widget class="GtkLabel" id="label_connected_chronopics_new">
+                                    <property name="visible">True</property>
+                                    <property name="xalign">0</property>
+                                    <property name="label" translatable="yes">&lt;b&gt;0&lt;/b&gt;</property>
+                                    <property name="use_markup">True</property>
+                                    <property name="use_underline">True</property>
+                                    <property name="ellipsize">end</property>
+                                    <property name="max_width_chars">25</property>
+                                  </widget>
+                                  <packing>
+                                    <property name="expand">False</property>
+                                    <property name="position">1</property>
+                                  </packing>
+                                </child>
+                              </widget>
+                              <packing>
+                                <property name="position">0</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkButton" id="button_activate_chronopics_new">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="can_default">True</property>
+                                <property name="receives_default">True</property>
+                                <property name="has_tooltip">True</property>
+                                <property name="tooltip" translatable="yes">Connect Chronopics</property>
+                                <property name="relief">half</property>
+                                <signal name="clicked" handler="on_chronopic_clicked"/>
+                                <child>
+                                  <widget class="GtkImage" id="image5">
+                                    <property name="visible">True</property>
+                                    <property name="stock">gtk-connect</property>
+                                  </widget>
+                                </child>
+                              </widget>
+                              <packing>
+                                <property name="expand">False</property>
+                                <property name="fill">False</property>
+                                <property name="position">1</property>
+                              </packing>
+                            </child>
+                          </widget>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="fill">False</property>
+                            <property name="position">1</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <widget class="GtkHSeparator" id="hseparator2">
+                            <property name="visible">True</property>
+                          </widget>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="position">2</property>
+                          </packing>
+                        </child>
+                        <child>
                           <widget class="GtkFrame" id="frame_persons">
                             <property name="visible">True</property>
                             <property name="label_xalign">0</property>
@@ -13780,6 +13869,7 @@ by you</property>
                                             <child>
                                               <widget class="GtkHBox" id="hbox35">
                                                 <property name="visible">True</property>
+                                                <property name="spacing">4</property>
                                                 <child>
                                                   <widget class="GtkLabel" id="label_current_person_title">
                                                     <property name="visible">True</property>
@@ -13983,7 +14073,7 @@ by you</property>
                             <child>
                               <widget class="GtkLabel" id="label197">
                                 <property name="visible">True</property>
-                                <property name="label" translatable="yes">&lt;b&gt;persons&lt;/b&gt;</property>
+                                <property name="label" translatable="yes">&lt;b&gt;Persons&lt;/b&gt;</property>
                                 <property name="use_markup">True</property>
                               </widget>
                               <packing>
@@ -13992,7 +14082,7 @@ by you</property>
                             </child>
                           </widget>
                           <packing>
-                            <property name="position">0</property>
+                            <property name="position">3</property>
                           </packing>
                         </child>
                       </widget>
diff --git a/src/gui/encoder.cs b/src/gui/encoder.cs
index 13ef562..0bf1202 100644
--- a/src/gui/encoder.cs
+++ b/src/gui/encoder.cs
@@ -65,6 +65,7 @@ public partial class ChronoJumpWindow
 	//TODO: campanes a l'encoder pq mostri colors i sons en funcio del que passa
 	//TODO: in ec, curves and powerBars have to be different on ec than on c
 	//TODO: smaller zoom button on analysis
+	//TODO: put chronopic detection in a generic place
 	
 	public void on_radiobutton_encoder_capture_bar_toggled (object obj, EventArgs args) {
 		spin_encoder_bar_limit.Sensitive = true;



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