[chronojump] encoder inertia extra weights n can be pressed enter
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] encoder inertia extra weights n can be pressed enter
- Date: Wed, 27 May 2015 13:57:00 +0000 (UTC)
commit 1d4727c0d7382d5911d6449321d5f6aebf353c5a
Author: Xavier de Blas <xaviblas gmail com>
Date: Wed May 27 15:56:34 2015 +0200
encoder inertia extra weights n can be pressed enter
glade/chronojump.glade | 59 +++++++++++++++++++++++++++++++++++++++++++++++-
src/gui/encoder.cs | 2 +-
2 files changed, 59 insertions(+), 2 deletions(-)
---
diff --git a/glade/chronojump.glade b/glade/chronojump.glade
index a1e3436..53e3d10 100644
--- a/glade/chronojump.glade
+++ b/glade/chronojump.glade
@@ -7935,6 +7935,9 @@ Second Chronopic to platforms.</property>
<child>
<placeholder/>
</child>
+ <child>
+ <placeholder/>
+ </child>
</widget>
<packing>
<property name="expand">True</property>
@@ -8902,6 +8905,9 @@ Second Chronopic to platforms.</property>
<child>
<placeholder/>
</child>
+ <child>
+ <placeholder/>
+ </child>
</widget>
</child>
<child>
@@ -10121,6 +10127,9 @@ Second Chronopic to platforms.</property>
<child>
<placeholder/>
</child>
+ <child>
+ <placeholder/>
+ </child>
</widget>
<packing>
<property name="position">2</property>
@@ -10981,6 +10990,9 @@ Second Chronopic to platforms.</property>
<child>
<placeholder/>
</child>
+ <child>
+ <placeholder/>
+ </child>
</widget>
<packing>
<property name="position">4</property>
@@ -15803,7 +15815,7 @@ on current Chronojump version.</property>
<property name="snap_to_ticks">True</property>
<property name="numeric">True</property>
<property
name="update_policy">if-valid</property>
- <signal name="changed"
handler="on_spin_encoder_im_weights_n_changed" swapped="no"/>
+ <signal name="value_changed"
handler="on_spin_encoder_im_weights_n_value_changed" swapped="no"/>
</widget>
<packing>
<property name="expand">False</property>
@@ -22118,6 +22130,9 @@ by you</property>
<child>
<placeholder/>
</child>
+ <child>
+ <placeholder/>
+ </child>
</widget>
</child>
</widget>
@@ -22886,6 +22901,9 @@ by you</property>
<child>
<placeholder/>
</child>
+ <child>
+ <placeholder/>
+ </child>
</widget>
</child>
</widget>
@@ -24146,6 +24164,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>
@@ -24463,6 +24484,9 @@ by you</property>
<child>
<placeholder/>
</child>
+ <child>
+ <placeholder/>
+ </child>
</widget>
<packing>
<property name="expand">True</property>
@@ -34838,6 +34862,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>
@@ -36986,6 +37028,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>
@@ -37792,6 +37837,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>
@@ -40564,6 +40612,9 @@ show elevation as:</property>
<child>
<placeholder/>
</child>
+ <child>
+ <placeholder/>
+ </child>
</widget>
<packing>
<property name="left_attach">2</property>
@@ -40996,6 +41047,9 @@ show elevation as:</property>
<child>
<placeholder/>
</child>
+ <child>
+ <placeholder/>
+ </child>
</widget>
</child>
</widget>
@@ -41443,6 +41497,9 @@ show elevation as:</property>
<child>
<placeholder/>
</child>
+ <child>
+ <placeholder/>
+ </child>
</widget>
</child>
</widget>
diff --git a/src/gui/encoder.cs b/src/gui/encoder.cs
index fcd0e26..f1c0512 100644
--- a/src/gui/encoder.cs
+++ b/src/gui/encoder.cs
@@ -389,7 +389,7 @@ public partial class ChronoJumpWindow
label_encoder_selected.Text = encoderConfigurationCurrent.code;
}
- void on_spin_encoder_im_weights_n_changed (object o, EventArgs args) {
+ void on_spin_encoder_im_weights_n_value_changed (object o, EventArgs args) {
encoderConfigurationCurrent.extraWeightN = (int) spin_encoder_im_weights_n.Value;
encoderConfigurationCurrent.inertiaTotal =
UtilEncoder.CalculeInertiaTotal(encoderConfigurationCurrent);
label_encoder_im_total.Text = encoderConfigurationCurrent.inertiaTotal.ToString();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]