[Gpredict-svn] SF.net SVN: gpredict:[685] trunk/src/gtk-sat-module-popup.c
Real time satellite tracking and orbit prediction
Status: Beta
Brought to you by:
csete
|
From: <cs...@us...> - 2010-10-16 13:27:08
|
Revision: 685
http://gpredict.svn.sourceforge.net/gpredict/?rev=685&view=rev
Author: csete
Date: 2010-10-16 13:27:01 +0000 (Sat, 16 Oct 2010)
Log Message:
-----------
Allow only one GtkSkyGlance widget per module (consistent with GtkRigCtrl and GtkRotCtrl).
Modified Paths:
--------------
trunk/src/gtk-sat-module-popup.c
Modified: trunk/src/gtk-sat-module-popup.c
===================================================================
--- trunk/src/gtk-sat-module-popup.c 2010-10-16 10:43:22 UTC (rev 684)
+++ trunk/src/gtk-sat-module-popup.c 2010-10-16 13:27:01 UTC (rev 685)
@@ -796,8 +796,10 @@
else {
module->skg = gtk_sky_glance_new (module->satellites, module->qth, module->tmgCdnum);
}
-
+ /* store time at which GtkSkyGlance has been created */
+ module->lastSkgUpd = module->tmgCdnum;
+
gtk_container_set_border_width (GTK_CONTAINER (module->skgwin), 10);
gtk_container_add (GTK_CONTAINER (module->skgwin), module->skg);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|