From bc6264002ea1c7d6b084ece594c3fe8382c5e22b Mon Sep 17 00:00:00 2001 From: "Leandro A. F. Pereira" Date: Sat, 1 Nov 2008 20:15:40 -0200 Subject: Make load graph larger --- hardinfo2/loadgraph.c | 6 +++--- hardinfo2/shell.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hardinfo2/loadgraph.c b/hardinfo2/loadgraph.c index 8de058cc..c8503072 100644 --- a/hardinfo2/loadgraph.c +++ b/hardinfo2/loadgraph.c @@ -37,12 +37,12 @@ LoadGraph *load_graph_new(gint size) lg->suffix = g_strdup(""); lg->area = gtk_drawing_area_new(); - lg->size = size; - lg->data = g_new0(gint, size); + lg->size = (size * 3) / 2; + lg->data = g_new0(gint, lg->size); lg->scale = 1.0; - lg->width = size * 4; + lg->width = size * 6; lg->height = size * 2; lg->max_value = 1; diff --git a/hardinfo2/shell.c b/hardinfo2/shell.c index 5853fc0a..7b560c8f 100644 --- a/hardinfo2/shell.c +++ b/hardinfo2/shell.c @@ -355,7 +355,7 @@ static void create_window(void) gtk_window_set_icon(GTK_WINDOW(shell->window), icon_cache_get_pixbuf("logo.png")); gtk_window_set_title(GTK_WINDOW(shell->window), "System Information"); - gtk_widget_set_size_request(shell->window, 700, 480); + gtk_widget_set_size_request(shell->window, 800, 480); g_signal_connect(G_OBJECT(shell->window), "destroy", destroy_me, NULL); vbox = gtk_vbox_new(FALSE, 0); -- cgit v1.2.3