Get rid of (hopefully) all configure options to enable MAIN_MENU_USE_UIMANAGER

as it is the only option left.

svn path=/trunk/; revision=39138
This commit is contained in:
Jörg Mayer 2011-09-25 21:27:19 +00:00
parent 420acb2fba
commit 576ab168c9
7 changed files with 1 additions and 25 deletions

View File

@ -243,7 +243,6 @@ endif()
if(BUILD_wireshark)
if(ENABLE_GTK3)
set(PACKAGELIST ${PACKAGELIST} GTK3)
set(ENABLE_UI_MANAGER ON)
else()
set(PACKAGELIST ${PACKAGELIST} GTK2)
set(GTK2_OPTIONS COMPONENTS gtk)
@ -430,9 +429,6 @@ add_subdirectory( wsutil )
if(BUILD_wireshark AND GTK_FOUND)
add_subdirectory( gtk )
if (ENABLE_UI_MANAGER)
set(MAIN_MENU_USE_UIMANAGER 1)
endif()
endif()
# Basedir where to install guides

View File

@ -17,8 +17,7 @@ option(AUTOGEN_pidl "Autogenerate pidl dissectors" OFF)
option(DISABLE_WERROR "Do not treat Warnings as errors" OFF)
option(ENABLE_EXTRA_GCC_CHECKS "Do additional -W checks in GCC (disables -Werror)" OFF)
option(ENABLE_GTK3 "Use GTK3 instead of GTK2 (does not compile yet)" OFF)
option(ENABLE_UI_MANAGER "Build GTK UI with the new UI-Manager API" ON)
option(ENABLE_GTK3 "Use GTK3 instead of GTK2" OFF)
option(ENABLE_PCAP "Enable libpcap support (required for capturing)" ON)
#
# Do not make this the default on UN*X; AirPcap support is available

View File

@ -385,7 +385,6 @@ config.h : config.h.win32 config.nmake
-e "s/@INET6@/$(INET6_CONFIG)/" \
-e "s/@HAVE_NTDDNDIS_H@/$(NTDDNDIS_CONFIG)/" \
-e "s/@PCAP_NG_DEFAULT@/$(PCAP_NG_DEFAULT)/" \
-e "s/@MAIN_MENU_USE_UIMANAGER@/$(MAIN_MENU_USE_UIMANAGER)/" \
-e "s/@WANT_PACKET_EDITOR@/$(WANT_PACKET_EDITOR)/" \
< config.h.win32 > $@

View File

@ -77,7 +77,6 @@
@HAVE_AIRPCAP@
@PCAP_NG_DEFAULT@
@MAIN_MENU_USE_UIMANAGER@
@WANT_PACKET_EDITOR@
/* define macro for importing variables from an dll

View File

@ -216,9 +216,6 @@ PCAP_NG_DEFAULT=^#define PCAP_NG_DEFAULT 1
### Warning Experimental - work in progress
#WANT_PACKET_EDITOR=^#define WANT_PACKET_EDITOR 1
##### To use UIManager insted of GtkItemFactory comment out this line NOTE not completly implemented yet some menus will be missing####
MAIN_MENU_USE_UIMANAGER=^#define MAIN_MENU_USE_UIMANAGER 1
!if "$(WIRESHARK_TARGET_PLATFORM)" == "win32"
##### Win32 Libraries #####
#

View File

@ -820,14 +820,6 @@ else
GTK_OK=no
fi
AC_ARG_ENABLE(ui-manager,
AC_HELP_STRING( [--enable-ui-manager],
[use ui-manager in Wireshark (experimental) @<:@default=yes@:>@]),
enable_uimanager=$enableval,enable_uimanager=yes)
if test x$enable_uimanager = xyes -o x$with_gtk3 = xyes; then
AC_DEFINE(MAIN_MENU_USE_UIMANAGER, 1, [Use GTK ui-manager])
fi
# GLib checks; we require GLib 2.14 or later, and require gmodule
# support, as we need that for dynamically loading plugins.
# If we found GTK+, this doesn't add GLIB_CFLAGS to CFLAGS, because

View File

@ -249,12 +249,6 @@ endif()
# add_definitions(-DNEW_MENU_CODE)
if (ENABLE_UI_MANAGER)
add_definitions(
-DMAIN_MENU_USE_UIMANAGER
)
endif()
if(WIN32)
set(PLATFORM_UI_SRC
capture_if_details_dlg_win32.c