gnome-system-monitor r2277 - trunk/src



Author: bdejean
Date: Mon Jan 14 18:29:58 2008
New Revision: 2277
URL: http://svn.gnome.org/viewvc/gnome-system-monitor?rev=2277&view=rev

Log:
Knock FRAMES down to 5 until cairo gets faster.


Modified:
   trunk/src/load-graph.cpp

Modified: trunk/src/load-graph.cpp
==============================================================================
--- trunk/src/load-graph.cpp	(original)
+++ trunk/src/load-graph.cpp	Mon Jan 14 18:29:58 2008
@@ -309,7 +309,10 @@
 	g->draw_width = widget->allocation.width - 2 * FRAME_WIDTH;
 	g->draw_height = widget->allocation.height - 2 * FRAME_WIDTH;
 
-	g->frames_per_unit = g->draw_width/(NUM_POINTS);
+	// FIXME:
+	// g->frames_per_unit = g->draw_width/(NUM_POINTS);
+	// knock FRAMES down to 5 until cairo gets faster
+	g->frames_per_unit = 5;
 
 	if(g->timer_index) {
 		g_source_remove (g->timer_index);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]