aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/funnel_stat.c
diff options
context:
space:
mode:
authorLuis Ontanon <luis.ontanon@gmail.com>2006-10-03 14:27:45 +0000
committerLuis Ontanon <luis.ontanon@gmail.com>2006-10-03 14:27:45 +0000
commite23201c62a65bbac178b27ffb4d067c3de109301 (patch)
tree12ce7c6d55d40c055745c1cf6ca1933883d39f71 /gtk/funnel_stat.c
parent3474ea868c8822f54eecd736a8abadbf2203e60d (diff)
- Make sure that the registration files are created whenever there's a change
- get rid of 5.0.2 stuff - add the apply_filter() API svn path=/trunk/; revision=19406
Diffstat (limited to 'gtk/funnel_stat.c')
-rw-r--r--gtk/funnel_stat.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/gtk/funnel_stat.c b/gtk/funnel_stat.c
index be4d2347b7..0359ddac0e 100644
--- a/gtk/funnel_stat.c
+++ b/gtk/funnel_stat.c
@@ -504,6 +504,11 @@ static void funnel_set_filter(const char* filter_string) {
gtk_entry_set_text(GTK_ENTRY(main_display_filter_widget), filter_string);
}
+static void funnel_apply_filter() {
+ const char* filter_string = gtk_entry_get_text(GTK_ENTRY(main_display_filter_widget));
+ main_filter_packets(&cfile, filter_string, FALSE);
+}
+
/* XXX: finish this */
static void funnel_logger(const gchar *log_domain _U_,
GLogLevelFlags log_level _U_,
@@ -584,7 +589,8 @@ static const funnel_ops_t funnel_ops = {
copy_to_clipboard,
funnel_set_filter,
funnel_open_file,
- funnel_reload
+ funnel_reload,
+ funnel_apply_filter
};