[chronojump] On runs and run interval the recommended option of double contacts is initially selected now
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] On runs and run interval the recommended option of double contacts is initially selected now
- Date: Thu, 17 Jul 2014 16:29:07 +0000 (UTC)
commit e302a1ff3dfd0f72b24c121bbd1d9d16e91771c9
Author: Xavier de Blas <xaviblas gmail com>
Date: Thu Jul 17 18:27:54 2014 +0200
On runs and run interval the recommended option of double contacts is initially selected now
glade/chronojump.glade | 8 ++++----
src/gui/chronojump.cs | 4 ++++
2 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/glade/chronojump.glade b/glade/chronojump.glade
index 3c137d1..afc24fb 100644
--- a/glade/chronojump.glade
+++ b/glade/chronojump.glade
@@ -4568,7 +4568,6 @@ It starts before and arrives there with some speed.</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property
name="receives_default">False</property>
- <property name="active">True</property>
<property name="draw_indicator">True</property>
</widget>
<packing>
@@ -4598,6 +4597,7 @@ It starts before and arrives there with some speed.</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property
name="receives_default">False</property>
+ <property name="active">True</property>
<property name="draw_indicator">True</property>
<property
name="group">radio_runs_prevent_double_contact_first</property>
</widget>
@@ -5038,11 +5038,10 @@ It starts before and arrives there with some speed.</property>
<property name="spacing">4</property>
<child>
<widget class="GtkRadioButton"
id="radio_runs_i_prevent_double_contact_first">
- <property name="label" translatable="yes">Take
first contact (recommended)</property>
+ <property name="label" translatable="yes">Take
first contact</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property
name="receives_default">False</property>
- <property name="active">True</property>
<property name="draw_indicator">True</property>
</widget>
<packing>
@@ -5053,10 +5052,11 @@ It starts before and arrives there with some speed.</property>
</child>
<child>
<widget class="GtkRadioButton"
id="radio_runs_i_prevent_double_contact_average">
- <property name="label" translatable="yes">Take
average</property>
+ <property name="label" translatable="yes">Take
average (recommended)</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property
name="receives_default">False</property>
+ <property name="active">True</property>
<property name="draw_indicator">True</property>
<property
name="group">radio_runs_i_prevent_double_contact_first</property>
</widget>
diff --git a/src/gui/chronojump.cs b/src/gui/chronojump.cs
index 9f3e111..37580cf 100644
--- a/src/gui/chronojump.cs
+++ b/src/gui/chronojump.cs
@@ -565,6 +565,10 @@ public partial class ChronoJumpWindow
//don't know why Glade is not doing this
spinbutton_runs_prevent_double_contact.Value=1000;
spinbutton_runs_i_prevent_double_contact.Value=1000;
+
+ radio_runs_prevent_double_contact_last.Active = true;
+ radio_runs_i_prevent_double_contact_average.Active = true;
+
//We have no session, mark some widgets as ".Sensitive = false"
sensitiveGuiNoSession();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]