[chronojump] Better widgets sensitivity on force sensor capture
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Better widgets sensitivity on force sensor capture
- Date: Tue, 21 Nov 2017 18:15:22 +0000 (UTC)
commit 41cd8842cff8b32580028fe9a2936a475272ede3
Author: Xavier de Blas <xaviblas gmail com>
Date: Tue Nov 21 19:14:55 2017 +0100
Better widgets sensitivity on force sensor capture
src/gui/chronojump.cs | 3 ++-
src/gui/forceSensor.cs | 8 ++++++++
2 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/src/gui/chronojump.cs b/src/gui/chronojump.cs
index e342e8d..86b9b40 100644
--- a/src/gui/chronojump.cs
+++ b/src/gui/chronojump.cs
@@ -330,8 +330,9 @@ public partial class ChronoJumpWindow
[Widget] Gtk.Box vbox_last_test_buttons;
[Widget] Gtk.Button button_video_play_this_test;
[Widget] Gtk.Button button_delete_last_test;
-
+
[Widget] Gtk.Button button_upload_session;
+ [Widget] Gtk.HBox hbox_chronopics_and_more;
[Widget] Gtk.Button button_activate_chronopics;
[Widget] Gtk.Button button_threshold;
diff --git a/src/gui/forceSensor.cs b/src/gui/forceSensor.cs
index 240823e..b1b8985 100644
--- a/src/gui/forceSensor.cs
+++ b/src/gui/forceSensor.cs
@@ -276,9 +276,17 @@ public partial class ChronoJumpWindow
void forceSensorButtonsSensitive(bool sensitive)
{
+ //force related buttons
hbox_force_buttons.Sensitive = sensitive;
button_execute_test.Sensitive = sensitive;
button_force_sensor_analyze_load.Sensitive = sensitive;
+
+ //other gui buttons
+ main_menu.Sensitive = sensitive;
+ hbox_contacts_sup_capture_analyze_two_buttons.Sensitive = sensitive;
+ frame_persons.Sensitive = sensitive;
+ hbox_top_person.Sensitive = sensitive;
+ hbox_chronopics_and_more.Sensitive = sensitive;
}
private bool pulseGTKForceSensorOther ()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]