[chronojump] encoder: small gui changes



commit 075ca3f3303c60f64a99e538f0350005ad7f521c
Author: Xavier de Blas <xaviblas gmail com>
Date:   Tue May 22 18:33:05 2012 +0200

    encoder: small gui changes

 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 0587e69..6fd05aa 100644
--- a/glade/chronojump.glade
+++ b/glade/chronojump.glade
@@ -23788,7 +23788,6 @@ on current Chronojump version.</property>
                                                             <property name="draw_indicator">True</property>
                                                           </widget>
                                                           <packing>
-                                                            <property name="expand">False</property>
                                                             <property name="fill">False</property>
                                                             <property name="position">0</property>
                                                           </packing>
@@ -23803,7 +23802,6 @@ on current Chronojump version.</property>
                                                             <property name="group">radiobutton_encoder_concentric</property>
                                                           </widget>
                                                           <packing>
-                                                            <property name="expand">False</property>
                                                             <property name="fill">False</property>
                                                             <property name="position">1</property>
                                                           </packing>
diff --git a/src/gui/encoder.cs b/src/gui/encoder.cs
index 161f1c3..c0070f7 100644
--- a/src/gui/encoder.cs
+++ b/src/gui/encoder.cs
@@ -519,7 +519,7 @@ public partial class ChronoJumpWindow
 	{
 		EncoderCurve curve = (EncoderCurve) model.GetValue (iter, 0);
 		(cell as Gtk.CellRendererText).Text = 
-			String.Format(UtilGtk.TVNumPrint(curve.PeakPowerT,8,0),Convert.ToInt32(curve.PeakPowerT));
+			String.Format(UtilGtk.TVNumPrint(curve.Width,8,3),Convert.ToDouble(curve.PeakPowerT)/1000); //ms->s
 	}
 
 	/* end of rendering cols */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]