[chronojump] gui tests can select session
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] gui tests can select session
- Date: Sun, 7 Aug 2016 19:53:34 +0000 (UTC)
commit 5e98a096794cdef911e1c4a7100f4189b6d6ac65
Author: Xavier de Blas <xaviblas gmail com>
Date: Sun Aug 7 21:49:02 2016 +0200
gui tests can select session
src/gui/chronojump.cs | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/src/gui/chronojump.cs b/src/gui/chronojump.cs
index b322b25..dc0447e 100644
--- a/src/gui/chronojump.cs
+++ b/src/gui/chronojump.cs
@@ -40,7 +40,8 @@ public partial class ChronoJumpWindow
[Widget] Gtk.MenuBar main_menu;
[Widget] Gtk.MenuItem menuitem_mode;
- [Widget] Gtk.Button button_gui_tests;
+ [Widget] Gtk.HBox hbox_gui_tests;
+ [Widget] Gtk.SpinButton spin_gui_tests;
[Widget] Gtk.RadioMenuItem radio_menuitem_mode_jumps;
[Widget] Gtk.RadioMenuItem radio_menuitem_mode_runs;
@@ -6535,13 +6536,13 @@ LogB.Debug("X");
encoderRProcCapture.Debug = true;
encoderRProcAnalyze.Debug = true;
- button_gui_tests.Visible = true;
+ hbox_gui_tests.Visible = true;
preferencesWin.DebugActivated();
}
private void on_button_gui_tests_clicked (object o, EventArgs args) {
- chronojumpWindowTestsStart();
+ chronojumpWindowTestsStart(Convert.ToInt32(spin_gui_tests.Value -1));
}
private void on_about1_activate (object o, EventArgs args) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]