[Gpredict-svn] SF.net SVN: gpredict:[585] trunk/src/gtk-sat-map.c
Real time satellite tracking and orbit prediction
Status: Beta
Brought to you by:
csete
From: <cs...@us...> - 2010-01-07 11:25:52
|
Revision: 585 http://gpredict.svn.sourceforge.net/gpredict/?rev=585&view=rev Author: csete Date: 2010-01-07 11:25:44 +0000 (Thu, 07 Jan 2010) Log Message: ----------- Fixed X coordinate of satellite label when satellite is close to the right edge of the map. Modified Paths: -------------- trunk/src/gtk-sat-map.c Modified: trunk/src/gtk-sat-map.c =================================================================== --- trunk/src/gtk-sat-map.c 2010-01-07 10:43:56 UTC (rev 584) +++ trunk/src/gtk-sat-map.c 2010-01-07 11:25:44 UTC (rev 585) @@ -1842,12 +1842,12 @@ NULL); } else if ((satmap->width - x ) < 50) { g_object_set (obj->label, - "x", (gdouble) (x+3), + "x", (gdouble) (x-3), "y", (gdouble) (y), "anchor", GTK_ANCHOR_EAST, NULL); g_object_set (obj->shadowl, - "x", (gdouble) (x+3+1), + "x", (gdouble) (x-3+1), "y", (gdouble) (y+1), "anchor", GTK_ANCHOR_EAST, NULL); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |