Update label as part of satellite update.

git-svn-id: https://gpredict.svn.sourceforge.net/svnroot/gpredict/trunk@919 ab6734ba-2843-0410-b83b-99c217ef6c0f
This commit is contained in:
aa1vs 2011-10-08 02:04:58 +00:00
parent c62d8c7cec
commit dd37fa2bfc
4 changed files with 15 additions and 0 deletions

View file

@ -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

1
NEWS
View file

@ -18,6 +18,7 @@ Changes in version 1.4 (TBD)
- 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)

View file

@ -886,6 +886,9 @@ update_sat (gpointer key, gpointer value, gpointer data)
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" \

View file

@ -2061,6 +2061,10 @@ update_sat (gpointer key, gpointer value, gpointer data)
//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>"\