[chronojump] Feedback bell works ok on feedback win closed (forceSensor)
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Feedback bell works ok on feedback win closed (forceSensor)
- Date: Wed, 19 May 2021 14:28:00 +0000 (UTC)
commit 810e1de234bee2c5fe84b420c792c777a543ad15
Author: Xavier de Blas <xaviblas gmail com>
Date: Wed May 19 16:27:32 2021 +0200
Feedback bell works ok on feedback win closed (forceSensor)
src/gui/app1/chronojump.cs | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/src/gui/app1/chronojump.cs b/src/gui/app1/chronojump.cs
index 2fbd73a1f..1977afe88 100644
--- a/src/gui/app1/chronojump.cs
+++ b/src/gui/app1/chronojump.cs
@@ -7391,7 +7391,13 @@ LogB.Debug("mc finished 5");
}
else if(m == Constants.Menuitem_modes.FORCESENSOR)
{
- // TODO: fix this with path
+ if(repetitiveConditionsWin.FeedbackActive(bellMode))
+ pixbuf = new Pixbuf (null, Util.GetImagePath(false) +
"stock_bell_active.png");
+ else
+ pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "stock_bell_none.png");
+
+ image_contacts_bell.Pixbuf = pixbuf;
+
Preferences.ForceSensorCaptureFeedbackActiveEnum feedbackActive =
repetitiveConditionsWin.GetForceSensorFeedback;
if(preferences.forceSensorCaptureFeedbackActive != feedbackActive)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]