GUI fixes
- Don't use clear_ui_info() on normal quit
- Remove setting of all debug flags
Signed-off-by: Jens Axboe <axboe@kernel.dk>
diff --git a/gfio.c b/gfio.c
index e92ab03..456f2aa 100644
--- a/gfio.c
+++ b/gfio.c
@@ -127,7 +127,6 @@
ui->connected = 0;
gtk_button_set_label(GTK_BUTTON(ui->button[CONNECT_BUTTON]), "Connect");
gtk_widget_set_sensitive(ui->button[START_JOB_BUTTON], 0);
- clear_ui_info(ui);
}
}
@@ -342,6 +341,7 @@
gdk_threads_enter();
gfio_set_connected(ui, 0);
+ clear_ui_info(ui);
sprintf(buf, "Client %s: timeout talking to server.\n", client->hostname);
@@ -471,6 +471,7 @@
} else {
fio_clients_terminate();
gfio_set_connected(ui, 0);
+ clear_ui_info(ui);
}
}
@@ -893,7 +894,6 @@
if (fio_init_options())
return 1;
- fio_debug = ~0UL;
init_ui(&argc, &argv, &ui);
gdk_threads_enter();