[Gpredict-svn] SF.net SVN: gpredict:[156] trunk/src/gtk-sat-module-popup.c
Real time satellite tracking and orbit prediction
Status: Beta
Brought to you by:
csete
|
From: <cs...@us...> - 2008-10-25 17:55:43
|
Revision: 156
http://gpredict.svn.sourceforge.net/gpredict/?rev=156&view=rev
Author: csete
Date: 2008-10-25 17:55:36 +0000 (Sat, 25 Oct 2008)
Log Message:
-----------
Use real time or simulated time for sky at glance start depending on user settings.
Modified Paths:
--------------
trunk/src/gtk-sat-module-popup.c
Modified: trunk/src/gtk-sat-module-popup.c
===================================================================
--- trunk/src/gtk-sat-module-popup.c 2008-10-25 17:55:05 UTC (rev 155)
+++ trunk/src/gtk-sat-module-popup.c 2008-10-25 17:55:36 UTC (rev 156)
@@ -841,7 +841,14 @@
/* create sky at a glance widget */
module->busy = TRUE;
- skg = gtk_sky_glance_new (module->satellites, module->qth);
+
+ if (sat_cfg_get_bool (SAT_CFG_BOOL_PRED_USE_REAL_T0)) {
+ skg = gtk_sky_glance_new (module->satellites, module->qth, 0.0);
+ }
+ else {
+ skg = gtk_sky_glance_new (module->satellites, module->qth, module->tmgCdnum);
+ }
+
module->busy = FALSE;
gtk_container_set_border_width (GTK_CONTAINER (window), 10);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|