[gnome-power-manager] Do not autoscale the percentage graph in the history tab. Fixes #613984
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-power-manager] Do not autoscale the percentage graph in the history tab. Fixes #613984
- Date: Tue, 31 Aug 2010 17:29:48 +0000 (UTC)
commit 51330936fa3f7d6c54bc7135ffb38a2444b7de5a
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 e0fda29..c3e9893 100644
--- a/src/gpm-statistics.c
+++ b/src/gpm-statistics.c
@@ -570,7 +570,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]