[chronojump] Encoder treeview duration in s
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Encoder treeview duration in s
- Date: Fri, 13 Apr 2012 08:17:42 +0000 (UTC)
commit f0b9dd35a8a0b0ea3db4ebe196f1ff43765f20ee
Author: Xavier de Blas <xaviblas gmail com>
Date: Fri Apr 13 10:11:47 2012 +0200
Encoder treeview duration in s
glade/chronojump.glade | 2 --
src/gui/encoder.cs | 2 +-
2 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/glade/chronojump.glade b/glade/chronojump.glade
index 8a08b1d..2373e00 100644
--- a/glade/chronojump.glade
+++ b/glade/chronojump.glade
@@ -7919,7 +7919,6 @@ suitable for agility tests)</property>
<packing>
<property name="left_attach">2</property>
<property name="right_attach">3</property>
- <property name="x_options"></property>
<property name="y_options"></property>
</packing>
</child>
@@ -8360,7 +8359,6 @@ suitable for agility tests)</property>
<packing>
<property name="left_attach">2</property>
<property name="right_attach">3</property>
- <property name="x_options"></property>
<property name="y_options"></property>
</packing>
</child>
diff --git a/src/gui/encoder.cs b/src/gui/encoder.cs
index 1f1aa85..c9e8dd1 100644
--- a/src/gui/encoder.cs
+++ b/src/gui/encoder.cs
@@ -436,7 +436,7 @@ public partial class ChronoJumpWindow
{
EncoderCurve curve = (EncoderCurve) model.GetValue (iter, 0);
(cell as Gtk.CellRendererText).Text =
- String.Format(UtilGtk.TVNumPrint(curve.Width,8,1),Convert.ToDouble(curve.Width));
+ String.Format(UtilGtk.TVNumPrint(curve.Width,8,3),Convert.ToDouble(curve.Width)/1000); //ms->s
}
private void RenderHeight (Gtk.TreeViewColumn column, Gtk.CellRenderer cell, Gtk.TreeModel model, Gtk.TreeIter iter)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]