[chronojump] Encoder analyze neuromuscular profile help correctly shown
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Encoder analyze neuromuscular profile help correctly shown
- Date: Sat, 12 Sep 2020 17:03:13 +0000 (UTC)
commit 3700c63d85506317d2d11b84365202d04652a3e5
Author: Xavier de Blas <xaviblas gmail com>
Date: Sat Sep 12 19:02:47 2020 +0200
Encoder analyze neuromuscular profile help correctly shown
glade/dialog_message.glade | 2 +-
src/gui/app1/encoder.cs | 2 +-
src/gui/dialogMessage.cs | 10 +++++-----
3 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/glade/dialog_message.glade b/glade/dialog_message.glade
index 0ae1b9a2..dd9075c6 100644
--- a/glade/dialog_message.glade
+++ b/glade/dialog_message.glade
@@ -265,7 +265,7 @@
<property name="label_yalign">1</property>
<property name="shadow_type">in</property>
<child>
- <widget class="GtkScrolledWindow" id="scrolledwindow">
+ <widget class="GtkScrolledWindow" id="scrolledwindow_by_software">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="border_width">4</property>
diff --git a/src/gui/app1/encoder.cs b/src/gui/app1/encoder.cs
index ad653bba..ccd3a484 100644
--- a/src/gui/app1/encoder.cs
+++ b/src/gui/app1/encoder.cs
@@ -3852,7 +3852,7 @@ public partial class ChronoJumpWindow
Catalog.GetString("Analysis uses the best three jumps using 'jump height'
criterion.") + "\n\n" +
Catalog.GetString("Lapuente and De Blas. Adapted from Wagner:") +
"\nhttp://spartapoint.com/category/spartapoint-101/";
- new DialogMessage(Constants.MessageTypes.INFO, str);
+ new DialogMessage(Catalog.GetString("Neuromuscular profile"), Constants.MessageTypes.INFO,
str, true);
}
diff --git a/src/gui/dialogMessage.cs b/src/gui/dialogMessage.cs
index b823f828..9d74fb0c 100644
--- a/src/gui/dialogMessage.cs
+++ b/src/gui/dialogMessage.cs
@@ -26,7 +26,7 @@ using Glade;
public class DialogMessage
{
[Widget] Gtk.Dialog dialog_message;
- [Widget] Gtk.ScrolledWindow scrolledwindow;
+ [Widget] Gtk.ScrolledWindow scrolledwindow_by_software;
[Widget] Gtk.Label label_message;
[Widget] Gtk.Image image_warning;
@@ -67,7 +67,7 @@ public class DialogMessage
}
}
- private void initialize(string title, Constants.MessageTypes type, string message, bool
showScroledWinBar)
+ private void initialize(string title, Constants.MessageTypes type, string message, bool
showScrolledWinBar)
{
LogB.Information("Dialog message: " + message);
@@ -119,13 +119,13 @@ public class DialogMessage
break;
}
- if(showScroledWinBar)
+ if(showScrolledWinBar)
{
dialog_message.HeightRequest = 450;
- scrolledwindow.SetPolicy(PolicyType.Never, PolicyType.Automatic);
+ scrolledwindow_by_software.SetPolicy(PolicyType.Never, PolicyType.Automatic);
}
else
- scrolledwindow.SetPolicy(PolicyType.Never, PolicyType.Never);
+ scrolledwindow_by_software.SetPolicy(PolicyType.Never, PolicyType.Never);
label_message.Show();
dialog_message.Show();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]