aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/camel_counter.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2011-06-05 22:39:23 +0000
committerGuy Harris <guy@alum.mit.edu>2011-06-05 22:39:23 +0000
commit3a1097a0aea8d80427fb93af8974f9df44ac6b28 (patch)
tree1105746fbacb4593e5eb58ff547ffcb14dff554d /gtk/camel_counter.c
parent2477298026d8d24ba3e3fa956b602261300e178a (diff)
Some work on generalizing the "display filter" tap parameter dialog box
to more generally support fetching parameters for taps. svn path=/trunk/; revision=37559
Diffstat (limited to 'gtk/camel_counter.c')
-rw-r--r--gtk/camel_counter.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/gtk/camel_counter.c b/gtk/camel_counter.c
index b1ea00fa1c..bd7fad96d9 100644
--- a/gtk/camel_counter.c
+++ b/gtk/camel_counter.c
@@ -213,11 +213,17 @@ static void gtk_camelcounter_init(const char *optarg, void *userdata _U_)
gdk_window_raise(p_camelcounter->win->window);
}
-static tap_dfilter_dlg camel_counter_dlg = {
+static tap_param camel_counter_params[] = {
+ { PARAM_FILTER, "Filter", NULL }
+};
+
+static tap_param_dlg camel_counter_dlg = {
"CAMEL Messages and Response Status",
"camel,counter",
gtk_camelcounter_init,
- -1
+ -1,
+ G_N_ELEMENTS(camel_counter_params),
+ camel_counter_params
};
void /* Next line mandatory */