aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/summary_dlg.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2012-03-08 06:59:38 +0000
committerAnders Broman <anders.broman@ericsson.com>2012-03-08 06:59:38 +0000
commit368ba24bef5058e21e07f5f802e8863699c4af16 (patch)
tree06643fd540aca0e7794863376566b15e8b0ce145 /ui/gtk/summary_dlg.c
parentfbfb21931f26b0de90255f710250875e5844ecf7 (diff)
Use an OK button rather than save for consistency, wouldapply be more apropriate?
svn path=/trunk/; revision=41421
Diffstat (limited to 'ui/gtk/summary_dlg.c')
-rw-r--r--ui/gtk/summary_dlg.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/ui/gtk/summary_dlg.c b/ui/gtk/summary_dlg.c
index ba6c849973..621a077bf0 100644
--- a/ui/gtk/summary_dlg.c
+++ b/ui/gtk/summary_dlg.c
@@ -262,7 +262,7 @@ summary_open_cb(GtkWidget *w _U_, gpointer d _U_)
GtkWidget *view;
GtkTextBuffer *buffer = NULL;
const gchar *buf_str;
- GtkWidget *save_bt, *clear_bt;
+ GtkWidget *ok_bt, *clear_bt;
comment_vbox = gtk_vbox_new (FALSE, 0);
gtk_container_add (GTK_CONTAINER (main_vb), comment_vbox);
@@ -280,14 +280,14 @@ summary_open_cb(GtkWidget *w _U_, gpointer d _U_)
gtk_widget_show (view);
/* Button row. */
- bbox = dlg_button_row_new (GTK_STOCK_SAVE, GTK_STOCK_CLEAR, NULL);
+ bbox = dlg_button_row_new (GTK_STOCK_OK, GTK_STOCK_CLEAR, NULL);
gtk_box_pack_end (GTK_BOX(comment_vbox), bbox, FALSE, FALSE, 0);
- save_bt = g_object_get_data (G_OBJECT(bbox), GTK_STOCK_SAVE);
- g_signal_connect (save_bt, "clicked", G_CALLBACK(summary_comment_text_buff_save_cb), view);
- gtk_widget_set_sensitive (save_bt, TRUE);
- gtk_widget_set_tooltip_text(save_bt,
- "You need to save the the capture file as well to save the updated comment");
+ ok_bt = g_object_get_data (G_OBJECT(bbox), GTK_STOCK_OK);
+ g_signal_connect (ok_bt, "clicked", G_CALLBACK(summary_comment_text_buff_save_cb), view);
+ gtk_widget_set_sensitive (ok_bt, TRUE);
+ gtk_widget_set_tooltip_text(ok_bt,
+ "Updates the comment, you need to save the the capture file as well to save the updated comment");
clear_bt = g_object_get_data(G_OBJECT(bbox), GTK_STOCK_CLEAR);
@@ -295,7 +295,7 @@ summary_open_cb(GtkWidget *w _U_, gpointer d _U_)
gtk_widget_set_tooltip_text(clear_bt,
"Clears the text from the box, not the capture");
- gtk_widget_grab_default (save_bt);
+ gtk_widget_grab_default (ok_bt);
}else{
if (summary.opt_comment != NULL) {