From c05d90567e28705e6ef77591ebc23ad5b7974f68 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Sun, 11 Mar 2012 13:05:35 +0100 Subject: [PATCH 1/1] gfio: use current value of graph limit as the default Signed-off-by: Jens Axboe --- gfio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfio.c b/gfio.c index 936e41db..16cb4da8 100644 --- a/gfio.c +++ b/gfio.c @@ -2098,7 +2098,7 @@ static void preferences(GtkWidget *w, gpointer data) entry = gtk_label_new("Maximum number of data points in graph (seconds)"); gtk_box_pack_start(GTK_BOX(hbox), entry, FALSE, FALSE, 5); - spin = create_spinbutton(hbox, 10, 1000000, 100); + spin = create_spinbutton(hbox, 10, 1000000, gfio_graph_limit); box = gtk_vbox_new(FALSE, 6); gtk_box_pack_start(GTK_BOX(vbox), box, FALSE, FALSE, 5); -- 2.25.1