From: Jens Axboe Date: Fri, 9 Mar 2012 16:22:01 +0000 (+0100) Subject: gfio: make notebooks scrollable if there are too many X-Git-Tag: gfio-0.1~198 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=b870c31b30e5b07e19e7e8de4cc750c7eae455ed;p=fio.git gfio: make notebooks scrollable if there are too many Signed-off-by: Jens Axboe --- diff --git a/gfio.c b/gfio.c index 52389bef..3cd6149f 100644 --- a/gfio.c +++ b/gfio.c @@ -2394,6 +2394,7 @@ static void init_ui(int *argc, char **argv[], struct gui *ui) ui->notebook = gtk_notebook_new(); g_signal_connect(ui->notebook, "switch-page", G_CALLBACK(notebook_switch_page), ui); + gtk_notebook_set_scrollable(GTK_NOTEBOOK(ui->notebook), 1); gtk_container_add(GTK_CONTAINER(ui->vbox), ui->notebook); vbox = new_main_page(ui);