diff options
author | Stephen Fisher <steve@stephen-fisher.com> | 2007-02-02 01:09:41 +0000 |
---|---|---|
committer | Stephen Fisher <steve@stephen-fisher.com> | 2007-02-02 01:09:41 +0000 |
commit | 19883c003aea03e915b61ed9b1f08763dd49e503 (patch) | |
tree | b95de3013a077239c72ca7cf485ce0176f2e72fe /gtk | |
parent | bb59123892c60c6f16b326ffb8c6852ecc656567 (diff) |
Assign the cancel button (so you can hit the escape key) on the capture/display
filter dialog box
svn path=/trunk/; revision=20681
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/filter_dlg.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/filter_dlg.c b/gtk/filter_dlg.c index f98c4cffe8..2fa01d7804 100644 --- a/gtk/filter_dlg.c +++ b/gtk/filter_dlg.c @@ -654,6 +654,7 @@ filter_dialog_new(GtkWidget *button, GtkWidget *parent_filter_te, cancel_bt = OBJECT_GET_DATA(bbox, GTK_STOCK_CANCEL); gtk_tooltips_set_tip (tooltips, cancel_bt, ("Cancel the changes"), NULL); SIGNAL_CONNECT(cancel_bt, "clicked", filter_dlg_cancel_cb, filter_list_type_p); + window_set_cancel_button(main_w, cancel_bt, window_cancel_button_cb); help_bt = OBJECT_GET_DATA(bbox, GTK_STOCK_HELP); if (list_type == CFILTER_EDITED_LIST) { |