diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2011-01-31 07:42:13 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2011-01-31 07:42:13 +0000 |
commit | 502ddd6cdb42f2dd779e9c16a5a9594ad5e0378e (patch) | |
tree | 2c418a47c348edf3cd90eaea2dcef0cef247930e /gtk | |
parent | 79e8fdf14fd6d43f1e8cc5f33181d875a8d09aa9 (diff) |
Added filter autocomplete to "Edit Column Details".
svn path=/trunk/; revision=35717
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/new_packet_list.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/new_packet_list.c b/gtk/new_packet_list.c index 868b0baf0d..9ad11cbac8 100644 --- a/gtk/new_packet_list.c +++ b/gtk/new_packet_list.c @@ -68,6 +68,7 @@ #include "gtk/prefs_dlg.h" #include "gtk/dlg_utils.h" #include "gtk/filter_dlg.h" +#include "gtk/filter_autocomplete.h" #define COLUMN_WIDTH_MIN 40 @@ -377,6 +378,8 @@ col_details_edit_dlg (gint col_id, GtkTreeViewColumn *col) gtk_table_attach_defaults(GTK_TABLE(main_tb), field_te, 1, 2, 2, 3); g_object_set_data (G_OBJECT(field_te), E_FILT_FIELD_NAME_ONLY_KEY, ""); g_signal_connect(field_te, "changed", G_CALLBACK(filter_te_syntax_check_cb), NULL); + g_signal_connect(field_te, "key-press-event", G_CALLBACK (filter_string_te_key_pressed_cb), NULL); + g_signal_connect(win, "key-press-event", G_CALLBACK (filter_parent_dlg_key_pressed_cb), NULL); gtk_tooltips_set_tip (tooltips, field_te, "Field name used when field type is \"Custom\". " "This string has the same syntax as a display filter string.", NULL); |