Wireshark mailing list archives
Eliminate annoying color filter dialog
From: Chris Maynard <chris.maynard () gtech com>
Date: Tue, 8 Mar 2011 20:02:19 +0000 (UTC)
I regularly switch between a custom build of Wireshark for analyzing my company's protocols and the trunk when doing general Wireshark development/testing. Unfortunately, I have lots of custom color filters in place that are invalid for the trunk for obvious reasons. But every time I switch to the trunk, for every custom color filter I have, I get an annoying dialog telling me, "Could not compile color filter "blah" from saved filters." I've made a change in my local sandbox to avoid this, but would anyone have any grumblings if I permanently eliminate that dialog? Here's all I do to get rid of it: Index: color_filters.c =================================================================== --- color_filters.c (revision 36170) +++ color_filters.c (working copy) @@ -573,9 +573,11 @@ dfilter_t *temp_dfilter; if (!dfilter_compile(filter_exp, &temp_dfilter)) { +#if 0 /* This is too annoying when switching back/forth from custom builds */ simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK, "Could not compile color filter %s from saved filters.\n%s", name, dfilter_error_msg); +#endif skip_end_of_line = TRUE; continue; } ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Eliminate annoying color filter dialog Chris Maynard (Mar 08)
- Re: Eliminate annoying color filter dialog Stephen Fisher (Mar 08)
- Re: Eliminate annoying color filter dialog Jeff Morriss (Mar 08)
- Re: Eliminate annoying color filter dialog Chris Maynard (Mar 08)
- Re: Eliminate annoying color filter dialog Gerald Combs (Mar 08)
- Re: Eliminate annoying color filter dialog Maynard, Chris (Mar 08)
- Re: Eliminate annoying color filter dialog Guy Harris (Mar 10)
- Re: Eliminate annoying color filter dialog Anders Broman (Mar 08)
- Re: Eliminate annoying color filter dialog Chris Maynard (Mar 08)
- Re: Eliminate annoying color filter dialog Jaap Keuter (Mar 09)
- Re: Eliminate annoying color filter dialog Stig Bjørlykke (Mar 09)