[Gpredict-svn] SF.net SVN: gpredict:[191] trunk/src/gtk-azel-plot.c
Real time satellite tracking and orbit prediction
Status: Beta
Brought to you by:
csete
|
From: <cs...@us...> - 2008-12-28 16:04:00
|
Revision: 191
http://gpredict.svn.sourceforge.net/gpredict/?rev=191&view=rev
Author: csete
Date: 2008-12-28 16:03:51 +0000 (Sun, 28 Dec 2008)
Log Message:
-----------
Update canvas bounds when resizing the canvas.
Modified Paths:
--------------
trunk/src/gtk-azel-plot.c
Modified: trunk/src/gtk-azel-plot.c
===================================================================
--- trunk/src/gtk-azel-plot.c 2008-12-28 16:01:24 UTC (rev 190)
+++ trunk/src/gtk-azel-plot.c 2008-12-28 16:03:51 UTC (rev 191)
@@ -466,6 +466,9 @@
polv->width = allocation->width;
polv->height = allocation->height;
+ goo_canvas_set_bounds (GOO_CANVAS (GTK_AZEL_PLOT (polv)->canvas), 0, 0,
+ polv->width, polv->height);
+
/* update coordinate system */
polv->x0 = POLV_X_MARGIN;
polv->xmax = polv->width - POLV_X_MARGIN;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|