[Gpredict-svn] SF.net SVN: gpredict:[189] trunk/src/gtk-sky-glance.c
Real time satellite tracking and orbit prediction
Status: Beta
Brought to you by:
csete
|
From: <cs...@us...> - 2008-12-28 15:46:36
|
Revision: 189
http://gpredict.svn.sourceforge.net/gpredict/?rev=189&view=rev
Author: csete
Date: 2008-12-28 15:46:34 +0000 (Sun, 28 Dec 2008)
Log Message:
-----------
Update canvas bounds when resizing the canvas.
Modified Paths:
--------------
trunk/src/gtk-sky-glance.c
Modified: trunk/src/gtk-sky-glance.c
===================================================================
--- trunk/src/gtk-sky-glance.c 2008-12-28 14:53:15 UTC (rev 188)
+++ trunk/src/gtk-sky-glance.c 2008-12-28 15:46:34 UTC (rev 189)
@@ -436,7 +436,10 @@
skg->pps = (skg->h - SKG_MARGIN) / skg->numsat - SKG_MARGIN;
+ goo_canvas_set_bounds (GOO_CANVAS (GTK_SKY_GLANCE (skg)->canvas), 0, 0,
+ allocation->width, allocation->height);
+
/* update cursor tracking line */
pts = goo_canvas_points_new (2);
pts->coords[0] = skg->x0;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|