[gnome-power-manager/gnome-2-32] Do not autoscale the percentage graph in the history tab. Fixes #613984



commit 309c96047c5756ee002d3c0a26c6a0345cb61f53
Author: Richard Hughes <richard hughsie com>
Date:   Tue Aug 31 10:54:22 2010 +0100

    Do not autoscale the percentage graph in the history tab. Fixes #613984

 src/gpm-statistics.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/gpm-statistics.c b/src/gpm-statistics.c
index 7e8b288..9ef24b9 100644
--- a/src/gpm-statistics.c
+++ b/src/gpm-statistics.c
@@ -572,7 +572,9 @@ gpm_stats_update_info_page_history (UpDevice *device)
 			      "autorange-x", FALSE,
 			      "start-x", -history_time,
 			      "stop-x", 0,
-			      "autorange-y", TRUE,
+			      "autorange-y", FALSE,
+			      "start-y", 0,
+			      "stop-y", 100,
 			      NULL);
 	} else if (g_strcmp0 (history_type, GPM_HISTORY_RATE_VALUE) == 0) {
 		g_object_set (graph_history,



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