From 1141c749ba02d5407df8b295069f67aa217b4258 Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Tue, 22 Jun 2010 20:02:56 -0400 Subject: kernelshark: Change cancel button on capture dialog to close "Cancel" is confusing and people may think that the Cancel will just stop the trace and do nothing more. But this is incorrect. The cancel button will stop the trace and update the data for the graph and list. Changing it to "Close" shows that it just closes the window. Signed-off-by: Steven Rostedt --- trace-capture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trace-capture.c b/trace-capture.c index 09af35b..3066f1e 100644 --- a/trace-capture.c +++ b/trace-capture.c @@ -1254,7 +1254,7 @@ static void tracing_dialog(struct shark_info *info, const char *tracing) cap.run_button = button; - gtk_dialog_add_button(GTK_DIALOG(dialog), GTK_STOCK_CANCEL, + gtk_dialog_add_button(GTK_DIALOG(dialog), GTK_STOCK_CLOSE, GTK_RESPONSE_REJECT); cap.main_dialog = dialog; -- cgit v1.2.2