[Gpredict-svn] SF.net SVN: gpredict:[190] trunk/src/gtk-polar-plot.c
Real time satellite tracking and orbit prediction
Status: Beta
Brought to you by:
csete
|
From: <cs...@us...> - 2008-12-28 16:01:25
|
Revision: 190
http://gpredict.svn.sourceforge.net/gpredict/?rev=190&view=rev
Author: csete
Date: 2008-12-28 16:01:24 +0000 (Sun, 28 Dec 2008)
Log Message:
-----------
Update canvas bounds when resizing the canvas.
Modified Paths:
--------------
trunk/src/gtk-polar-plot.c
Modified: trunk/src/gtk-polar-plot.c
===================================================================
--- trunk/src/gtk-polar-plot.c 2008-12-28 15:46:34 UTC (rev 189)
+++ trunk/src/gtk-polar-plot.c 2008-12-28 16:01:24 UTC (rev 190)
@@ -781,6 +781,10 @@
polv->cx = allocation->width / 2;
polv->cy = allocation->height / 2;
+ goo_canvas_set_bounds (GOO_CANVAS (GTK_POLAR_PLOT (polv)->canvas), 0, 0,
+ allocation->width, allocation->height);
+
+
/* update coordinate system */
g_object_set (polv->C00,
"center-x", (gdouble) polv->cx,
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|