aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2
diff options
context:
space:
mode:
Diffstat (limited to 'hardinfo2')
-rw-r--r--hardinfo2/loadgraph.c6
-rw-r--r--hardinfo2/shell.c2
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);