[chronojump] encoderOverview title differentiates between gravitatory and inertial



commit cedd23b43fe8005301d91b507a81103a90de1713
Author: Xavier de Blas <xaviblas gmail com>
Date:   Mon Jun 19 19:02:55 2017 +0200

    encoderOverview title differentiates between gravitatory and inertial

 src/gui/encoderOverview.cs |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/src/gui/encoderOverview.cs b/src/gui/encoderOverview.cs
index a7203c2..e3aadd1 100644
--- a/src/gui/encoderOverview.cs
+++ b/src/gui/encoderOverview.cs
@@ -45,8 +45,11 @@ public class EncoderOverviewWindow
 
                gladeXML.Autoconnect(this);
                encoder_overview_win.Parent = parent;
-               
-               encoder_overview_win.Title = Catalog.GetString("Encoder Overview");
+
+               if(encoderGI == Constants.EncoderGI.GRAVITATORY)
+                       encoder_overview_win.Title = Catalog.GetString("Encoder Overview") + " - " + 
Catalog.GetString("Gravitatory");
+               else if(encoderGI == Constants.EncoderGI.INERTIAL)
+                       encoder_overview_win.Title = Catalog.GetString("Encoder Overview") + " - " + 
Catalog.GetString("Inertial");
 
                //put an icon to window
                UtilGtk.IconWindow(encoder_overview_win);


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