Wireshark mailing list archives

Re: [Wireshark-commits] rev 38782: /trunk/gtk/ /trunk/gtk/: main_menubar.c stock_icons.c


From: Guy Harris <guy () alum mit edu>
Date: Mon, 29 Aug 2011 13:49:08 -0700


On Aug 29, 2011, at 1:09 PM, Joerg Mayer wrote:

Adding back to #ifdef HAVE_LIBPCAP is not the nicest way. We have way too
many places with #ifdef somethingorother. IIRC the intention of the patch
that caused the problem was to always have all features in the menu, some
of them just not visible/selectable(?).

I would vote for "not visible".

I would also vote for not even having a "Capture" menu if we don't have *pcap.  On Windows, that means deciding at run 
time whether to have a "Capture" menu item, depending on whether we have WinPcap installed, so we might as well do it 
at run time on UN*X as well.
___________________________________________________________________________
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: