[Gpredict-svn] SF.net SVN: gpredict:[919] trunk
Real time satellite tracking and orbit prediction
Status: Beta
Brought to you by:
csete
|
From: <aa...@us...> - 2011-10-08 02:05:05
|
Revision: 919
http://gpredict.svn.sourceforge.net/gpredict/?rev=919&view=rev
Author: aa1vs
Date: 2011-10-08 02:04:58 +0000 (Sat, 08 Oct 2011)
Log Message:
-----------
Update label as part of satellite update.
Modified Paths:
--------------
trunk/ChangeLog
trunk/NEWS
trunk/src/gtk-polar-view.c
trunk/src/gtk-sat-map.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2011-10-05 00:46:02 UTC (rev 918)
+++ trunk/ChangeLog 2011-10-08 02:04:58 UTC (rev 919)
@@ -1,3 +1,10 @@
+2011-10-07 Charles Suprin <hamaa1vs at gmail.com>
+
+ * src/gtk-polar-view.c
+ * src/gtk-sat-map.c
+ Update label as part of satellite update.
+
+
2011-10-05 Charles Suprin <hamaa1vs at gmail.com>
* src/gtk-rot-ctrl.c
Modified: trunk/NEWS
===================================================================
--- trunk/NEWS 2011-10-05 00:46:02 UTC (rev 918)
+++ trunk/NEWS 2011-10-08 02:04:58 UTC (rev 919)
@@ -18,6 +18,7 @@
- Fixed bug 3413571: UARS Ground Track not Updated on TLE update.
- Fixed bug 3416451: No ground track for new satellites.
- Fixed bug 3417553: Gpredict crashes
+- Fixed bug 3419879: gpredict doesn't change the satellite names on world map.
Changes in version 1.3 (1 Mar 2011)
Modified: trunk/src/gtk-polar-view.c
===================================================================
--- trunk/src/gtk-polar-view.c 2011-10-05 00:46:02 UTC (rev 918)
+++ trunk/src/gtk-polar-view.c 2011-10-08 02:04:58 UTC (rev 919)
@@ -886,6 +886,9 @@
losstr = g_strdup_printf (_("%s\nAlways in range"), sat->nickname);
}
+ /* update label */
+ g_object_set (obj->label,"text",sat->nickname,NULL);
+
/* update tooltip */
tooltip = g_strdup_printf("<big><b>%s</b>\n</big>"\
"<tt>Az: %5.1f\302\260\n" \
Modified: trunk/src/gtk-sat-map.c
===================================================================
--- trunk/src/gtk-sat-map.c 2011-10-05 00:46:02 UTC (rev 918)
+++ trunk/src/gtk-sat-map.c 2011-10-08 02:04:58 UTC (rev 919)
@@ -2061,6 +2061,10 @@
//sat->ssplon = ssplo;
//sat->ssplat = sspla;
+ /* update the label */
+ g_object_set (obj->label,"text",sat->nickname,NULL);
+ g_object_set (obj->shadowl,"text",sat->nickname,NULL);
+
/* we update tooltips every time */
aosstr = aoslos_time_to_str(satmap, sat);
tooltip = g_strdup_printf("<big><b>%s</b>\n</big>"\
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|