aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2010-06-22 20:02:56 -0400
committerSteven Rostedt <rostedt@goodmis.org>2010-06-22 20:02:56 -0400
commit1141c749ba02d5407df8b295069f67aa217b4258 (patch)
treeeec3cbd61094139393086f98bc467da74f0c4175
parentbbbed2d598416cacbe33422b6693589b82db5a68 (diff)
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 <rostedt@goodmis.org>
-rw-r--r--trace-capture.c2
1 files changed, 1 insertions, 1 deletions
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)
1254 1254
1255 cap.run_button = button; 1255 cap.run_button = button;
1256 1256
1257 gtk_dialog_add_button(GTK_DIALOG(dialog), GTK_STOCK_CANCEL, 1257 gtk_dialog_add_button(GTK_DIALOG(dialog), GTK_STOCK_CLOSE,
1258 GTK_RESPONSE_REJECT); 1258 GTK_RESPONSE_REJECT);
1259 1259
1260 cap.main_dialog = dialog; 1260 cap.main_dialog = dialog;