[chronojump] forceSensor: Better error message on RFD label on error
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] forceSensor: Better error message on RFD label on error
- Date: Tue, 21 Nov 2017 20:28:14 +0000 (UTC)
commit 5e4a0e0fdd011cf6eb2515aceb05f1ba2e9ff0af
Author: Xavier de Blas <xaviblas gmail com>
Date: Tue Nov 21 20:21:00 2017 +0100
forceSensor: Better error message on RFD label on error
glade/app1.glade | 9 +++++++--
src/gui/forceSensor.cs | 4 +++-
2 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/glade/app1.glade b/glade/app1.glade
index 61060f3..610c802 100644
--- a/glade/app1.glade
+++ b/glade/app1.glade
@@ -1478,6 +1478,9 @@
<placeholder/>
</child>
<child>
+ <placeholder/>
+ </child>
+ <child>
<widget class="GtkLabel"
id="label_start_selector_jumps">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -15213,12 +15216,11 @@ Concentric</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="use_markup">True</property>
- <property name="ellipsize">end</property>
<property name="single_line_mode">True</property>
</widget>
<packing>
<property name="expand">False</property>
- <property name="fill">False</property>
+ <property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
@@ -22176,6 +22178,9 @@ then click this button.</property>
<child>
<placeholder/>
</child>
+ <child>
+ <placeholder/>
+ </child>
</widget>
<packing>
<property name="expand">False</property>
diff --git a/src/gui/forceSensor.cs b/src/gui/forceSensor.cs
index 4d025fc..fbfee7d 100644
--- a/src/gui/forceSensor.cs
+++ b/src/gui/forceSensor.cs
@@ -940,9 +940,11 @@ LogB.Information(" fc R ");
if(! success)
{
- label_force_sensor_analyze.Text = Catalog.GetString("Error doing graph.");
+ label_force_sensor_analyze.Text = Catalog.GetString("Error doing graph.") + " " +
+ Catalog.GetString("Probably not sustained force.");
return;
}
+ label_force_sensor_analyze.Text = "";
while ( ! Util.FileReadable(imagePath));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]