[chronojump] Removed raceAnalyzer capture unneded test radial graph widgets
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Removed raceAnalyzer capture unneded test radial graph widgets
- Date: Tue, 15 Dec 2020 18:59:08 +0000 (UTC)
commit b9caabaf6c31e6c5cbd6cd6c1bcadaf4abbf6769
Author: Xavier de Blas <xaviblas gmail com>
Date: Tue Dec 15 19:58:34 2020 +0100
Removed raceAnalyzer capture unneded test radial graph widgets
glade/app1.glade | 81 ++++++++++++----------------------------------
src/gui/app1/runEncoder.cs | 6 ----
2 files changed, 20 insertions(+), 67 deletions(-)
---
diff --git a/glade/app1.glade b/glade/app1.glade
index 7e059cc5..99f82808 100644
--- a/glade/app1.glade
+++ b/glade/app1.glade
@@ -11576,7 +11576,7 @@ EncoderInertialCapture</property>
<widget class="GtkLabel" id="label584">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label">race analyzer capture
speed:</property>
+ <property name="label">Capture speed:</property>
</widget>
<packing>
<property name="expand">False</property>
@@ -11603,53 +11603,6 @@ EncoderInertialCapture</property>
</packing>
</child>
<child>
- <widget class="GtkHBox" id="hbox443">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <child>
- <widget class="GtkSpinButton"
id="spin_race_analyzer_capture_speed_test">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="invisible_char">•</property>
- <property name="width_chars">2</property>
- <property
name="primary_icon_activatable">False</property>
- <property
name="secondary_icon_activatable">False</property>
- <property
name="primary_icon_sensitive">True</property>
- <property
name="secondary_icon_sensitive">True</property>
- <property name="adjustment">0 0 20 1 10
0</property>
- <property name="numeric">True</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <widget class="GtkButton"
id="button_race_analyzer_capture_speed_test">
- <property name="label"
translatable="yes">button</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">True</property>
- <signal name="clicked"
handler="on_button_race_analyzer_capture_speed_test_clicked" swapped="no"/>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <placeholder/>
- </child>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
<widget class="GtkDrawingArea"
id="drawingarea_race_analyzer_capture">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -11658,7 +11611,7 @@ EncoderInertialCapture</property>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
- <property name="position">2</property>
+ <property name="position">1</property>
</packing>
</child>
</widget>
@@ -23566,6 +23519,9 @@ Concentric</property>
<child>
<placeholder/>
</child>
+ <child>
+ <placeholder/>
+ </child>
</widget>
<packing>
<property name="expand">False</property>
@@ -28387,18 +28343,6 @@ Concentric</property>
<property name="can_focus">False</property>
<property name="spacing">6</property>
<child>
- <widget class="GtkLabel"
id="label_video_encoder_tests_will_be_filmed">
- <property name="can_focus">False</property>
- <property name="label" translatable="yes">Tests
will be filmed</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="pack_type">end</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
<widget class="GtkHBox"
id="hbox_video_encoder_capturing">
<property name="can_focus">False</property>
<property name="spacing">4</property>
@@ -28435,6 +28379,18 @@ Concentric</property>
</packing>
</child>
<child>
+ <widget class="GtkLabel"
id="label_video_encoder_tests_will_be_filmed">
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">Tests
will be filmed</property>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="pack_type">end</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
<widget class="GtkHBox"
id="hbox_video_encoder_no_capturing">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -36660,6 +36616,9 @@ then click this button.</property>
<child>
<placeholder/>
</child>
+ <child>
+ <placeholder/>
+ </child>
</widget>
<packing>
<property name="expand">False</property>
diff --git a/src/gui/app1/runEncoder.cs b/src/gui/app1/runEncoder.cs
index 63a95dd5..944a36ce 100644
--- a/src/gui/app1/runEncoder.cs
+++ b/src/gui/app1/runEncoder.cs
@@ -50,7 +50,6 @@ public partial class ChronoJumpWindow
[Widget] Gtk.Button button_raceAnalyzer_table_save;
[Widget] Gtk.Label label_race_analyzer_capture_speed;
[Widget] Gtk.DrawingArea drawingarea_race_analyzer_capture;
- [Widget] Gtk.SpinButton spin_race_analyzer_capture_speed_test;
int race_analyzer_distance;
int race_analyzer_temperature;
@@ -1704,9 +1703,4 @@ public partial class ChronoJumpWindow
{
cairoRadial = new CairoRadial(drawingarea_race_analyzer_capture,
preferences.fontType.ToString());
}
-
- private void on_button_race_analyzer_capture_speed_test_clicked (object o, EventArgs args)
- {
- cairoRadial.GraphSpeed(spin_race_analyzer_capture_speed_test.Value);
- }
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]