forked from osmocom/wireshark
[GTK] Replace deprecated gdk_pixbuf_new_from_inline()
Use GResource instead, if available. Add autotools and cmake compile time checks for build requirements (GIO >= 2.32 and GDK-Pixbuf >= 2.26). Merge all the various static pixbuf csource header files into a single pixbuf-csource.h header with external linkage through use of the tools/make-pixbuf-csource.pl script. Fix inline pixbuf build target for some image paths (broken for GTK in gb4a4de7). Add missing 'expert_ok.png' file to distribution (GTK only). Minor improvements to style/structure of ui/gtk/Makefile.am. Bug: 10750 Change-Id: I031296b666ee8b92730400dfa6f71f9ee4304863 Reviewed-on: https://code.wireshark.org/review/10992 Petri-Dish: Anders Broman <a.broman58@gmail.com> Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
1ab019f409
commit
2d7b0fc7d0
|
@ -59,6 +59,8 @@ wiretap/ascend.h
|
|||
wiretap/k12text.c
|
||||
wireshark-tap-register.c
|
||||
wireshark-tap-register-cache.pkl
|
||||
ui/gtk/wireshark-gresources.c
|
||||
ui/gtk/wireshark-gresources.h
|
||||
|
||||
# Generated makefile system #
|
||||
#############################
|
||||
|
|
|
@ -943,6 +943,7 @@ EXTRA_DIST = \
|
|||
image/stock_dialog_warning_48.xpm \
|
||||
image/text2pcap.rc.in \
|
||||
image/tfshark.rc.in \
|
||||
image/expert_ok.png \
|
||||
image/toolbar/14x14/x-capture-comment-update.png \
|
||||
image/toolbar/14x14/x-capture-comment-update.svg \
|
||||
image/toolbar/14x14/x-capture-comment-update@2x.png \
|
||||
|
|
|
@ -1786,6 +1786,13 @@ AC_SUBST(GLIB_MIN_VERSION)
|
|||
# 2.42.0: 22 Sep 2014
|
||||
# 2.44.0: 23 Mar 2014
|
||||
|
||||
# Check for GResource support
|
||||
PKG_CHECK_MODULES([GRESOURCE], [gio-2.0 >= 2.32 gdk-pixbuf-2.0 >= 2.26], [have_gresource=yes], [have_gresource=no])
|
||||
AM_CONDITIONAL(HAVE_GRESOURCE, test "x$have_gresource" = "xyes")
|
||||
if test "x$have_gresource" = "xyes"; then
|
||||
AC_DEFINE(HAVE_GRESOURCE, 1, [Defined if GLib GResource is supported])
|
||||
fi
|
||||
|
||||
use_glib_cflags="true"
|
||||
if test "$have_gtk" = "yes" -a "$have_qt" = "yes" ; then
|
||||
# We have both GTK and Qt and thus will be building both wireshark
|
||||
|
@ -3411,3 +3418,4 @@ echo " Use POSIX capabilities library : $libcap_message"
|
|||
echo " Use GeoIP library : $geoip_message"
|
||||
echo " Use nl library : $libnl_message"
|
||||
echo " Use SBC codec library : $have_sbc"
|
||||
#echo " Use GResource : $have_gresource"
|
||||
|
|
|
@ -209,7 +209,13 @@ PATH_SPECIFIC_WHITELISTED_LICENSES = {
|
|||
'tools/fix_pragma_wdocumentation.sh': [
|
||||
'UNKNOWN',
|
||||
],
|
||||
|
||||
# Generated files for GTK pixbuf binary bundling
|
||||
'ui/gtk/wireshark-gresources.h': [
|
||||
'UNKNOWN',
|
||||
],
|
||||
'ui/gtk/wireshark-gresources.c': [
|
||||
'UNKNOWN',
|
||||
],
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -0,0 +1,71 @@
|
|||
#!/usr/bin/env perl
|
||||
|
||||
# Simple script to create extern pixbuf csource. Receives list of
|
||||
# tuples (varname, path) separated with spaces.
|
||||
|
||||
# Wireshark - Network traffic analyzer
|
||||
# By Gerald Combs <gerald@wireshark.org>
|
||||
# Copyright 1998 Gerald Combs
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the GNU General Public License
|
||||
# as published by the Free Software Foundation; either version 2
|
||||
# of the License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
#
|
||||
|
||||
use strict;
|
||||
|
||||
my $target = shift;
|
||||
|
||||
open(my $fout, ">", $target . ".c");
|
||||
open(my $fin, "-|", "gdk-pixbuf-csource", "--extern", "--raw", "--build-list", @ARGV);
|
||||
select($fout);
|
||||
|
||||
print << "HEADER";
|
||||
/* This file was automatically generated. DO NOT EDIT. */
|
||||
|
||||
#include <glib.h>
|
||||
HEADER
|
||||
|
||||
while (<$fin>) {
|
||||
s/ *$//;
|
||||
print "\n" if (/^\/\*/);
|
||||
print if ($_ ne "\n");
|
||||
}
|
||||
|
||||
close($fout);
|
||||
close($fin);
|
||||
|
||||
open(my $fout, ">", $target . ".h");
|
||||
select($fout);
|
||||
|
||||
print << "HEADER";
|
||||
/* This file was automatically generated. DO NOT EDIT. */
|
||||
|
||||
#ifndef __PIXBUF_CSOURCE_HEADER__
|
||||
#define __PIXBUF_CSOURCE_HEADER__
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
HEADER
|
||||
|
||||
while (my $var = shift @ARGV) {
|
||||
print "extern const guint8 ${var}[];\n";
|
||||
shift @ARGV;
|
||||
}
|
||||
|
||||
print << "TRAILER";
|
||||
|
||||
#endif /*__PIXBUF_CSOURCE_HEADER__*/
|
||||
TRAILER
|
||||
|
||||
close($fout);
|
|
@ -278,12 +278,48 @@ if(WIN32)
|
|||
set(PORTAUDIO_OBJ $<TARGET_OBJECTS:portaudio>)
|
||||
endif()
|
||||
|
||||
find_file(GLIB_COMPILE_RESOURCES
|
||||
glib-compile-resources${CMAKE_EXECUTABLE_SUFFIX}
|
||||
HINTS
|
||||
"${GLIB2_HINTS}/bin"
|
||||
)
|
||||
|
||||
pkg_check_modules(GRESOURCE QUIET gio-2.0>=2.32 gdk-pixbuf-2.0>=2.26)
|
||||
|
||||
macro(WIRESHARK_GRESOURCES _outputfile _resourcefile)
|
||||
add_custom_command(
|
||||
OUTPUT ${_outputfile}
|
||||
COMMAND ${GLIB_COMPILE_RESOURCES} --sourcedir=${CMAKE_SOURCE_DIR} --target=${_outputfile} --generate --manual-register ${CMAKE_CURRENT_SOURCE_DIR}/${_resourcefile}
|
||||
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${_resourcefile}
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
endmacro(WIRESHARK_GRESOURCES)
|
||||
|
||||
WIRESHARK_GRESOURCES(wireshark-gresources.h main.gresources.xml)
|
||||
|
||||
WIRESHARK_GRESOURCES(wireshark-gresources.c main.gresources.xml)
|
||||
|
||||
include_directories(${CMAKE_CURRENT_BINARY_DIR})
|
||||
|
||||
if(GRESOURCE_FOUND AND NOT WIN32)
|
||||
set(PIXBUF_SRC
|
||||
wireshark-gresources.c
|
||||
wireshark-gresources.h
|
||||
)
|
||||
add_definitions(-DHAVE_GRESOURCE)
|
||||
else()
|
||||
set(PIXBUF_SRC
|
||||
pixbuf-csource.c
|
||||
)
|
||||
endif()
|
||||
|
||||
add_library(gtkui STATIC
|
||||
${WIRESHARK_GTK_SRC}
|
||||
${WIRESHARK_TAP_SRC}
|
||||
${PLATFORM_UI_SRC}
|
||||
${PORTAUDIO_OBJ}
|
||||
wireshark-tap-register.c
|
||||
${PIXBUF_SRC}
|
||||
)
|
||||
set_target_properties(gtkui PROPERTIES
|
||||
LINK_FLAGS "${WS_LINK_FLAGS}"
|
||||
|
|
|
@ -26,7 +26,7 @@ if HAVE_WARNINGS_AS_ERRORS
|
|||
AM_CLEAN_CFLAGS = -Werror -Wno-error=deprecated-declarations
|
||||
endif
|
||||
|
||||
noinst_LIBRARIES = libgtkui.a
|
||||
AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/wiretap $(PORTAUDIO_INCLUDES)
|
||||
|
||||
CLEANFILES = \
|
||||
libgtkui.a \
|
||||
|
@ -38,6 +38,48 @@ MAINTAINERCLEANFILES = \
|
|||
$(GENERATED_FILES) \
|
||||
Makefile.in
|
||||
|
||||
WIRESHARK_CLEAN_LIBGTKUI_SRC = \
|
||||
$(WIRESHARK_GTK_SRC) \
|
||||
$(WIRESHARK_TAP_SRC) \
|
||||
$(GENERATED_C_FILES)
|
||||
|
||||
EXTRA_DIST = \
|
||||
$(GENERATOR_FILES) \
|
||||
airpcap_dlg.c \
|
||||
airpcap_gui_utils.c \
|
||||
capture_if_details_dlg_win32.c \
|
||||
capture_if_details_dlg_win32.h \
|
||||
CMakeLists.txt \
|
||||
doxygen.cfg.in \
|
||||
main_airpcap_toolbar.c \
|
||||
Makefile.common \
|
||||
Makefile.nmake \
|
||||
Makefile_custom.common \
|
||||
pixbuf-csource.c \
|
||||
pixbuf-csource.h
|
||||
|
||||
if HAVE_GRESOURCE
|
||||
GENERATED_HEADER_FILES += wireshark-gresources.h
|
||||
GENERATED_C_FILES += wireshark-gresources.c
|
||||
else
|
||||
WIRESHARK_CLEAN_LIBGTKUI_SRC += pixbuf-csource.c
|
||||
endif
|
||||
|
||||
noinst_LIBRARIES = libgtkui.a
|
||||
|
||||
libgtkui_a_SOURCES = \
|
||||
$(WIRESHARK_CLEAN_LIBGTKUI_SRC) \
|
||||
$(noinst_HEADERS) \
|
||||
$(GENERATED_HEADER_FILES)
|
||||
|
||||
libgtkui_a_CFLAGS = $(AM_CLEAN_CFLAGS)
|
||||
|
||||
libgtkui_a_DEPENDENCIES =
|
||||
|
||||
if HAVE_GRESOURCE
|
||||
main.c: wireshark-gresources.h
|
||||
endif
|
||||
|
||||
#
|
||||
# Build "wireshark-tap-register.c", which contains a function
|
||||
# "register_all_tap_listeners()"
|
||||
|
@ -56,137 +98,32 @@ wireshark-tap-register.c: $(WIRESHARK_TAP_SRC) Makefile.common Makefile_custom.
|
|||
@echo Making wireshark-tap-register.c
|
||||
@$(PYTHON) $(top_srcdir)/tools/make-tap-reg.py $(srcdir) taps $(WIRESHARK_TAP_SRC)
|
||||
|
||||
WIRESHARK_CLEAN_LIBGTKUI_SRC = \
|
||||
$(WIRESHARK_GTK_SRC) \
|
||||
$(WIRESHARK_TAP_SRC) \
|
||||
$(GENERATED_C_FILES)
|
||||
|
||||
libgtkui_a_SOURCES = \
|
||||
$(WIRESHARK_CLEAN_LIBGTKUI_SRC) \
|
||||
$(noinst_HEADERS) \
|
||||
$(GENERATED_HEADER_FILES)
|
||||
|
||||
libgtkui_a_CFLAGS = $(AM_CLEAN_CFLAGS)
|
||||
|
||||
libgtkui_a_DEPENDENCIES =
|
||||
|
||||
# Common headers
|
||||
AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/wiretap $(PORTAUDIO_INCLUDES)
|
||||
if HAVE_GRESOURCE
|
||||
wireshark-gresources.c: main.gresources.xml $(shell glib-compile-resources --sourcedir=$(top_srcdir) --generate-dependencies main.gresources.xml)
|
||||
@echo Making $@
|
||||
@glib-compile-resources --sourcedir=$(top_srcdir) --target=$@ --generate --manual-register $<
|
||||
|
||||
wireshark-gresources.h: main.gresources.xml
|
||||
@echo Making $@
|
||||
@glib-compile-resources --sourcedir=$(top_srcdir) --target=$@ --generate --manual-register $<
|
||||
endif
|
||||
|
||||
doxygen:
|
||||
if HAVE_DOXYGEN
|
||||
$(DOXYGEN) doxygen.cfg
|
||||
endif # HAVE_DOXYGEN
|
||||
endif
|
||||
|
||||
checkapi: checkapi-base checkapi-todo
|
||||
|
||||
checkapi-base:
|
||||
$(PERL) $(top_srcdir)/tools/checkAPIs.pl -g deprecated-gtk -build \
|
||||
-sourcedir=$(srcdir) \
|
||||
$(WIRESHARK_CLEAN_LIBGTKUI_SRC) \
|
||||
-sourcedir=$(srcdir) \
|
||||
$(WIRESHARK_CLEAN_LIBGTKUI_SRC) \
|
||||
capture_if_details_dlg_win32.c
|
||||
|
||||
checkapi-todo:
|
||||
$(PERL) $(top_srcdir)/tools/checkAPIs.pl -M -g deprecated-gtk-todo -build \
|
||||
-sourcedir=$(srcdir) \
|
||||
$(WIRESHARK_GTK_SRC) \
|
||||
$(WIRESHARK_TAP_SRC) \
|
||||
-sourcedir=$(srcdir) \
|
||||
$(WIRESHARK_GTK_SRC) \
|
||||
$(WIRESHARK_TAP_SRC) \
|
||||
capture_if_details_dlg_win32.c
|
||||
|
||||
expert_indicators.h:
|
||||
echo "/* This file was automatically generated. DO NOT EDIT. */" > $@
|
||||
echo >> $@
|
||||
for elevel in chat error none note warn ok ; do \
|
||||
gdk-pixbuf-csource --raw --name=expert_$${elevel}_pb_data $(top_srcdir)/image/expert_$${elevel}.png >> $@ ;\
|
||||
done
|
||||
|
||||
capture_comment_icons.h:
|
||||
echo "/* This file was automatically generated. DO NOT EDIT. */" > $@
|
||||
echo >> $@
|
||||
for caction in add update disabled ; do \
|
||||
gdk-pixbuf-csource --raw --name=capture_comment_$${caction}_pb_data $(top_srcdir)/image/capture_comment_$${caction}.png >> $@ ;\
|
||||
done
|
||||
|
||||
network_icons.h:
|
||||
echo "/* This file was automatically generated. DO NOT EDIT. */" > $@
|
||||
echo >> $@
|
||||
for icon in bluetooth usb wired wireless ; do \
|
||||
gdk-pixbuf-csource --raw --name=network_$${icon}_pb_data $(top_srcdir)/image/toolbar/network_$${icon}_16.png >> $@ ;\
|
||||
done
|
||||
|
||||
remote_icons.h:
|
||||
echo "/* This file was automatically generated. DO NOT EDIT. */" > $@
|
||||
echo >> $@
|
||||
for icon in arrow globe sat ; do \
|
||||
gdk-pixbuf-csource --raw --name=remote_$${icon}_pb_data $(top_srcdir)/image/toolbar/remote_$${icon}_16.png >> $@ ;\
|
||||
done
|
||||
|
||||
pipe_icon.h:
|
||||
echo "/* This file was automatically generated. DO NOT EDIT. */" > $@
|
||||
echo >> $@
|
||||
gdk-pixbuf-csource --raw --name=pipe_pb_data $(top_srcdir)/image/toolbar/pipe_16.png >> $@
|
||||
|
||||
TOOLBAR_COMMON_ICONS = \
|
||||
capture_interfaces \
|
||||
gnome_emblem_web
|
||||
|
||||
toolbar_icons.h:
|
||||
echo "/* This file was automatically generated. DO NOT EDIT. */" > $@
|
||||
echo >> $@
|
||||
for icon16 in $(TOOLBAR_COMMON_ICONS) ; do \
|
||||
gdk-pixbuf-csource --raw --name=$${icon16}_16_pb_data $(top_srcdir)/image/toolbar/$${icon16}_16.png >> $@ ;\
|
||||
done
|
||||
for icon24 in $(TOOLBAR_COMMON_ICONS) ; do \
|
||||
gdk-pixbuf-csource --raw --name=$${icon24}_24_pb_data $(top_srcdir)/image/toolbar/$${icon24}_24.png >> $@ ;\
|
||||
done
|
||||
for icon_size in 16 24 ; do \
|
||||
gdk-pixbuf-csource --raw --name=toolbar_wireshark_file_$${icon_size}_pb_data $(top_srcdir)/image/toolbar/$${icon_size}x$${icon_size}/x-capture-file-save.png >> $@ ;\
|
||||
gdk-pixbuf-csource --raw --name=capture_options_alt1_$${icon_size}_pb_data $(top_srcdir)/image/toolbar/$${icon_size}x$${icon_size}/x-capture-options.png >> $@ ;\
|
||||
gdk-pixbuf-csource --raw --name=capture_restart_$${icon_size}_pb_data $(top_srcdir)/image/toolbar/$${icon_size}x$${icon_size}/x-capture-restart.png >> $@ ;\
|
||||
gdk-pixbuf-csource --raw --name=capture_start_$${icon_size}_pb_data $(top_srcdir)/image/toolbar/$${icon_size}x$${icon_size}/x-capture-start.png >> $@ ;\
|
||||
gdk-pixbuf-csource --raw --name=capture_stop_$${icon_size}_pb_data $(top_srcdir)/image/toolbar/$${icon_size}x$${icon_size}/x-capture-stop.png >> $@ ;\
|
||||
done
|
||||
|
||||
layouts.h:
|
||||
echo "/* This file was automatically generated. DO NOT EDIT. */" > $@
|
||||
echo >> $@
|
||||
for layout_num in 1 2 3 4 5 6 ; do \
|
||||
gdk-pixbuf-csource --raw --name=layout_$${layout_num}_pb_data $(top_srcdir)/image/layout_$${layout_num}.png >> $@ ;\
|
||||
done
|
||||
|
||||
wsicon.h:
|
||||
echo "/* This file was automatically generated. DO NOT EDIT. */" > $@
|
||||
echo >> $@
|
||||
for layout_num in 16 24 32 48 64 ; do \
|
||||
gdk-pixbuf-csource --raw --name=wsicon_$${layout_num}_pb_data $(top_srcdir)/image/wsicon$${layout_num}.png >> $@ ;\
|
||||
done
|
||||
|
||||
wsiconcap.h:
|
||||
echo "/* This file was automatically generated. DO NOT EDIT. */" > $@
|
||||
echo >> $@
|
||||
for layout_num in 16 24 32 48 64 ; do \
|
||||
gdk-pixbuf-csource --raw --name=wsiconcap_$${layout_num}_pb_data $(top_srcdir)/image/wsiconcap$${layout_num}.png >> $@ ;\
|
||||
done
|
||||
|
||||
wssplash.h:
|
||||
echo "/* This file was automatically generated. DO NOT EDIT. */" > $@
|
||||
echo >> $@
|
||||
gdk-pixbuf-csource --raw --name=wssplash_pb_data $(top_srcdir)/image/wssplash_dev.png >> $@
|
||||
|
||||
clean-pixbufs:
|
||||
rm expert_indicators.h capture_comment_icons.h network_icons.h remote_icons.h pipe_icon.h \
|
||||
toolbar_icons.h layouts.h wsicon.h wsiconcap.h wssplash.h
|
||||
|
||||
EXTRA_DIST = \
|
||||
$(GENERATOR_FILES) \
|
||||
airpcap_dlg.c \
|
||||
airpcap_gui_utils.c \
|
||||
capture_if_details_dlg_win32.c \
|
||||
capture_if_details_dlg_win32.h \
|
||||
CMakeLists.txt \
|
||||
doxygen.cfg.in \
|
||||
main_airpcap_toolbar.c \
|
||||
Makefile.common \
|
||||
Makefile.nmake \
|
||||
Makefile_custom.common
|
||||
|
|
|
@ -37,259 +37,344 @@ GENERATED_FILES = \
|
|||
$(GENERATED_C_FILES)
|
||||
|
||||
# Files that generate compileable files
|
||||
GENERATOR_FILES =
|
||||
GENERATOR_FILES = \
|
||||
main.gresources.xml
|
||||
|
||||
WIRESHARK_GTK_SRC = \
|
||||
about_dlg.c \
|
||||
about_dlg.c \
|
||||
addr_resolution_dlg.c \
|
||||
airpcap_dlg.c \
|
||||
airpcap_gui_utils.c \
|
||||
bytes_view.c \
|
||||
capture_dlg.c \
|
||||
airpcap_dlg.c \
|
||||
airpcap_gui_utils.c \
|
||||
bytes_view.c \
|
||||
capture_dlg.c \
|
||||
capture_file_dlg.c \
|
||||
capture_if_dlg.c \
|
||||
capture_info_dlg.c \
|
||||
color_dlg.c \
|
||||
color_dlg.c \
|
||||
color_edit_dlg.c \
|
||||
color_utils.c \
|
||||
conversation_hastables_dlg.c \
|
||||
color_utils.c \
|
||||
conversation_hastables_dlg.c \
|
||||
conversations_table.c \
|
||||
decode_as_dlg.c \
|
||||
decode_as_dlg.c \
|
||||
dfilter_expr_dlg.c \
|
||||
dissector_tables_dlg.c \
|
||||
dlg_utils.c \
|
||||
dlg_utils.c \
|
||||
drag_and_drop.c \
|
||||
edit_packet_comment_dlg.c \
|
||||
expert_comp_table.c \
|
||||
edit_packet_comment_dlg.c \
|
||||
expert_comp_table.c \
|
||||
export_object_dlg.c \
|
||||
export_sslkeys.c \
|
||||
export_sslkeys.c \
|
||||
extcap_gtk.c \
|
||||
filter_autocomplete.c \
|
||||
file_dlg.c \
|
||||
file_dlg.c \
|
||||
file_import_dlg.c \
|
||||
fileset_dlg.c \
|
||||
filter_dlg.c \
|
||||
filter_expression_save_dlg.c \
|
||||
filter_utils.c \
|
||||
find_dlg.c \
|
||||
firewall_dlg.c \
|
||||
follow_ssl.c \
|
||||
follow_stream.c \
|
||||
follow_tcp.c \
|
||||
follow_udp.c \
|
||||
font_utils.c \
|
||||
goto_dlg.c \
|
||||
graph_analysis.c \
|
||||
fileset_dlg.c \
|
||||
filter_dlg.c \
|
||||
filter_expression_save_dlg.c \
|
||||
filter_utils.c \
|
||||
find_dlg.c \
|
||||
firewall_dlg.c \
|
||||
follow_ssl.c \
|
||||
follow_stream.c \
|
||||
follow_tcp.c \
|
||||
follow_udp.c \
|
||||
font_utils.c \
|
||||
goto_dlg.c \
|
||||
graph_analysis.c \
|
||||
gtk_iface_monitor.c \
|
||||
gui_stat_util.c \
|
||||
gui_utils.c \
|
||||
help_dlg.c \
|
||||
hostlist_table.c \
|
||||
macros_dlg.c \
|
||||
main.c \
|
||||
gui_stat_util.c \
|
||||
gui_utils.c \
|
||||
help_dlg.c \
|
||||
hostlist_table.c \
|
||||
macros_dlg.c \
|
||||
main.c \
|
||||
main_80211_toolbar.c \
|
||||
main_airpcap_toolbar.c \
|
||||
main_filter_toolbar.c \
|
||||
main_menubar.c \
|
||||
main_menubar.c \
|
||||
manual_addr_resolv.c \
|
||||
packet_panes.c \
|
||||
packet_panes.c \
|
||||
main_statusbar.c \
|
||||
main_titlebar.c \
|
||||
main_toolbar.c \
|
||||
main_titlebar.c \
|
||||
main_toolbar.c \
|
||||
main_welcome.c \
|
||||
packet_history.c \
|
||||
packet_list_store.c \
|
||||
packet_list.c \
|
||||
packet_win.c \
|
||||
pixmap_save.c \
|
||||
plugins_dlg.c \
|
||||
prefs_capture.c \
|
||||
prefs_column.c \
|
||||
prefs_dlg.c \
|
||||
prefs_filter_expressions.c \
|
||||
prefs_gui.c \
|
||||
prefs_layout.c \
|
||||
packet_list.c \
|
||||
packet_win.c \
|
||||
pixmap_save.c \
|
||||
plugins_dlg.c \
|
||||
prefs_capture.c \
|
||||
prefs_column.c \
|
||||
prefs_dlg.c \
|
||||
prefs_filter_expressions.c \
|
||||
prefs_gui.c \
|
||||
prefs_layout.c \
|
||||
prefs_font_color.c \
|
||||
print_dlg.c \
|
||||
profile_dlg.c \
|
||||
progress_dlg.c \
|
||||
proto_dlg.c \
|
||||
proto_help.c \
|
||||
print_dlg.c \
|
||||
profile_dlg.c \
|
||||
progress_dlg.c \
|
||||
proto_dlg.c \
|
||||
proto_help.c \
|
||||
proto_hier_stats_dlg.c \
|
||||
proto_hier_tree_model.c \
|
||||
proto_tree_model.c \
|
||||
range_utils.c \
|
||||
response_time_delay_table.c \
|
||||
rtp_player.c \
|
||||
proto_hier_tree_model.c \
|
||||
proto_tree_model.c \
|
||||
range_utils.c \
|
||||
response_time_delay_table.c \
|
||||
rtp_player.c \
|
||||
sctp_byte_graph_dlg.c \
|
||||
sctp_error_dlg.c \
|
||||
sctp_graph_dlg.c \
|
||||
service_response_time_table.c \
|
||||
simple_dialog.c \
|
||||
service_response_time_table.c \
|
||||
simple_dialog.c \
|
||||
simple_stattable.c \
|
||||
stock_icons.c \
|
||||
summary_dlg.c \
|
||||
stock_icons.c \
|
||||
summary_dlg.c \
|
||||
supported_protos_dlg.c \
|
||||
tap_param_dlg.c \
|
||||
tap_param_dlg.c \
|
||||
text_page_utils.c \
|
||||
time_shift_dlg.c \
|
||||
uat_gui.c \
|
||||
webbrowser.c \
|
||||
extcap_gtk.c \
|
||||
uat_gui.c \
|
||||
webbrowser.c \
|
||||
$(WIRESHARK_CUSTOM_GTK_SRC)
|
||||
|
||||
about_dlg.c main_welcome.c: wssplash.h remote_icons.h
|
||||
capture_if_dlg.c: network_icons.h remote_icons.h pipe_icon.h
|
||||
gui_utils.c: wsicon.h
|
||||
main.c: wsicon.h wsiconcap.h
|
||||
main_statusbar.c: expert_indicators.h capture_comment_icons.h
|
||||
main_welcome.c: wssplash.h
|
||||
prefs_layout.c: layouts.h
|
||||
stock_icons.c: stock_icons.h toolbar_icons.h wsicon.h
|
||||
|
||||
WIRESHARK_TAP_SRC = \
|
||||
compare_stat.c \
|
||||
dcerpc_stat.c \
|
||||
expert_comp_dlg.c \
|
||||
compare_stat.c \
|
||||
dcerpc_stat.c \
|
||||
expert_comp_dlg.c \
|
||||
export_pdu_dlg.c \
|
||||
flow_graph.c \
|
||||
funnel_stat.c \
|
||||
flow_graph.c \
|
||||
funnel_stat.c \
|
||||
gsm_map_summary.c \
|
||||
iax2_analysis.c \
|
||||
io_stat.c \
|
||||
iax2_analysis.c \
|
||||
io_stat.c \
|
||||
lbm_stream_dlg.c \
|
||||
lbm_uimflow_dlg.c \
|
||||
mac_lte_stat_dlg.c \
|
||||
mcast_stream_dlg.c \
|
||||
mtp3_summary.c \
|
||||
rlc_lte_graph.c \
|
||||
mtp3_summary.c \
|
||||
rlc_lte_graph.c \
|
||||
rlc_lte_stat_dlg.c \
|
||||
rpc_stat.c \
|
||||
rtp_analysis.c \
|
||||
rpc_stat.c \
|
||||
rtp_analysis.c \
|
||||
rtp_stream_dlg.c \
|
||||
sctp_assoc_analyse.c \
|
||||
sctp_chunk_stat.c \
|
||||
sctp_chunk_stat_dlg.c \
|
||||
sctp_stat_dlg.c \
|
||||
sctp_stat_dlg.c \
|
||||
stats_tree_stat.c \
|
||||
tcp_graph.c \
|
||||
voip_calls_dlg.c \
|
||||
wlan_stat_dlg.c \
|
||||
tcp_graph.c \
|
||||
voip_calls_dlg.c \
|
||||
wlan_stat_dlg.c \
|
||||
$(WIRESHARK_CUSTOM_TAP_SRC)
|
||||
|
||||
noinst_HEADERS = \
|
||||
about_dlg.h \
|
||||
about_dlg.h \
|
||||
addr_resolution_dlg.h \
|
||||
airpcap_dlg.h \
|
||||
airpcap_gui_utils.h \
|
||||
bytes_view.h \
|
||||
capture_comment_icons.h \
|
||||
capture_dlg.h \
|
||||
airpcap_dlg.h \
|
||||
airpcap_gui_utils.h \
|
||||
bytes_view.h \
|
||||
capture_dlg.h \
|
||||
capture_file_dlg.h \
|
||||
capture_if_dlg.h \
|
||||
cfilter_combo_utils.h \
|
||||
color_dlg.h \
|
||||
cfilter_combo_utils.h \
|
||||
color_dlg.h \
|
||||
color_edit_dlg.h \
|
||||
color_utils.h \
|
||||
conversation_hastables_dlg.h \
|
||||
conversations_table.h \
|
||||
decode_as_dlg.h \
|
||||
dfilter_expr_dlg.h \
|
||||
color_utils.h \
|
||||
conversation_hastables_dlg.h \
|
||||
conversations_table.h \
|
||||
decode_as_dlg.h \
|
||||
dfilter_expr_dlg.h \
|
||||
dissector_tables_dlg.h \
|
||||
dlg_utils.h \
|
||||
drag_and_drop.h \
|
||||
dlg_utils.h \
|
||||
drag_and_drop.h \
|
||||
edit_packet_comment_dlg.h \
|
||||
expert_comp_dlg.h \
|
||||
expert_comp_table.h \
|
||||
expert_indicators.h \
|
||||
export_object_dlg.h \
|
||||
export_pdu_dlg.h \
|
||||
export_sslkeys.h \
|
||||
file_dlg.h \
|
||||
extcap_gtk.h \
|
||||
file_dlg.h \
|
||||
file_import_dlg.h \
|
||||
fileset_dlg.h \
|
||||
fileset_dlg.h \
|
||||
filter_autocomplete.h \
|
||||
filter_dlg.h \
|
||||
filter_expression_save_dlg.h \
|
||||
filter_utils.h \
|
||||
find_dlg.h \
|
||||
firewall_dlg.h \
|
||||
follow_ssl.h \
|
||||
follow_stream.h \
|
||||
follow_tcp.h \
|
||||
follow_udp.h \
|
||||
font_utils.h \
|
||||
goto_dlg.h \
|
||||
graph_analysis.h \
|
||||
filter_dlg.h \
|
||||
filter_expression_save_dlg.h \
|
||||
filter_utils.h \
|
||||
find_dlg.h \
|
||||
firewall_dlg.h \
|
||||
follow_ssl.h \
|
||||
follow_stream.h \
|
||||
follow_tcp.h \
|
||||
follow_udp.h \
|
||||
font_utils.h \
|
||||
goto_dlg.h \
|
||||
graph_analysis.h \
|
||||
gtk_iface_monitor.h \
|
||||
gtkglobals.h \
|
||||
gui_stat_menu.h \
|
||||
gui_stat_util.h \
|
||||
gui_utils.h \
|
||||
help_dlg.h \
|
||||
hostlist_table.h \
|
||||
keys.h \
|
||||
layouts.h \
|
||||
gtkglobals.h \
|
||||
gui_stat_menu.h \
|
||||
gui_stat_util.h \
|
||||
gui_utils.h \
|
||||
help_dlg.h \
|
||||
hostlist_table.h \
|
||||
keys.h \
|
||||
lbm_stream_dlg.h \
|
||||
lbm_uimflow_dlg.h \
|
||||
macros_dlg.h \
|
||||
main.h \
|
||||
macros_dlg.h \
|
||||
main.h \
|
||||
main_airpcap_toolbar.h \
|
||||
main_filter_toolbar.h \
|
||||
main_menubar_private.h \
|
||||
main_80211_toolbar.h \
|
||||
menus.h \
|
||||
packet_panes.h \
|
||||
main_statusbar_private.h \
|
||||
main_titlebar.h \
|
||||
main_toolbar.h \
|
||||
menus.h \
|
||||
packet_panes.h \
|
||||
main_statusbar_private.h \
|
||||
main_titlebar.h \
|
||||
main_toolbar.h \
|
||||
main_toolbar_private.h \
|
||||
main_welcome.h \
|
||||
main_welcome_private.h \
|
||||
manual_addr_resolv.h \
|
||||
mcast_stream_dlg.h \
|
||||
network_icons.h \
|
||||
old-gtk-compat.h \
|
||||
packet_history.h \
|
||||
packet_list_store.h \
|
||||
packet_list.h \
|
||||
packet_win.h \
|
||||
pipe_icon.h \
|
||||
pixmap_save.h \
|
||||
plugins_dlg.h \
|
||||
prefs_capture.h \
|
||||
prefs_column.h \
|
||||
prefs_dlg.h \
|
||||
prefs_filter_expressions.h \
|
||||
prefs_gui.h \
|
||||
prefs_layout.h \
|
||||
packet_list.h \
|
||||
packet_win.h \
|
||||
pixmap_save.h \
|
||||
plugins_dlg.h \
|
||||
prefs_capture.h \
|
||||
prefs_column.h \
|
||||
prefs_dlg.h \
|
||||
prefs_filter_expressions.h \
|
||||
prefs_gui.h \
|
||||
prefs_layout.h \
|
||||
prefs_font_color.h \
|
||||
profile_dlg.h \
|
||||
proto_dlg.h \
|
||||
proto_help.h \
|
||||
profile_dlg.h \
|
||||
proto_dlg.h \
|
||||
proto_help.h \
|
||||
proto_hier_stats_dlg.h \
|
||||
proto_hier_tree_model.h \
|
||||
proto_tree_model.h \
|
||||
range_utils.h \
|
||||
response_time_delay_table.h \
|
||||
remote_icons.h \
|
||||
rtp_player.h \
|
||||
rtp_stream_dlg.h \
|
||||
sctp_stat_gtk.h \
|
||||
service_response_time_table.h \
|
||||
proto_hier_tree_model.h \
|
||||
proto_tree_model.h \
|
||||
range_utils.h \
|
||||
response_time_delay_table.h \
|
||||
rtp_player.h \
|
||||
rtp_stream_dlg.h \
|
||||
sctp_stat_gtk.h \
|
||||
service_response_time_table.h \
|
||||
simple_stattable.h \
|
||||
time_shift_dlg.h \
|
||||
simple_dialog.h \
|
||||
stock_icons.h \
|
||||
summary_dlg.h \
|
||||
simple_dialog.h \
|
||||
stock_icons.h \
|
||||
summary_dlg.h \
|
||||
supported_protos_dlg.h \
|
||||
tap_param_dlg.h \
|
||||
tap_param_dlg.h \
|
||||
text_page_utils.h \
|
||||
toolbar_icons.h \
|
||||
uat_gui.h \
|
||||
voip_calls_dlg.h \
|
||||
webbrowser.h \
|
||||
wsiconcap.h \
|
||||
wsicon.h \
|
||||
wssplash.h \
|
||||
extcap_gtk.h \
|
||||
uat_gui.h \
|
||||
voip_calls_dlg.h \
|
||||
webbrowser.h \
|
||||
$(WIRESHARK_CUSTOM_HDRS)
|
||||
|
||||
imagedir = $(top_srcdir)/image
|
||||
|
||||
pixbuf_csource_data = \
|
||||
expert_chat_pb_data \
|
||||
$(imagedir)/toolbar/14x14/x-expert-chat.png \
|
||||
expert_error_pb_data \
|
||||
$(imagedir)/toolbar/14x14/x-expert-error.png \
|
||||
expert_none_pb_data \
|
||||
$(imagedir)/toolbar/14x14/x-expert-none.png \
|
||||
expert_note_pb_data \
|
||||
$(imagedir)/toolbar/14x14/x-expert-note.png \
|
||||
expert_warn_pb_data \
|
||||
$(imagedir)/toolbar/14x14/x-expert-warn.png \
|
||||
expert_ok_pb_data \
|
||||
$(imagedir)/expert_ok.png \
|
||||
capture_comment_add_pb_data \
|
||||
$(imagedir)/capture_comment_add.png \
|
||||
capture_comment_update_pb_data \
|
||||
$(imagedir)/capture_comment_update.png \
|
||||
capture_comment_disabled_pb_data \
|
||||
$(imagedir)/capture_comment_disabled.png \
|
||||
network_bluetooth_pb_data \
|
||||
$(imagedir)/toolbar/network_bluetooth_16.png \
|
||||
network_usb_pb_data \
|
||||
$(imagedir)/toolbar/network_usb_16.png \
|
||||
network_wired_pb_data \
|
||||
$(imagedir)/toolbar/network_wired_16.png \
|
||||
network_wireless_pb_data \
|
||||
$(imagedir)/toolbar/network_wireless_16.png \
|
||||
remote_arrow_pb_data \
|
||||
$(imagedir)/toolbar/remote_arrow_16.png \
|
||||
remote_globe_pb_data \
|
||||
$(imagedir)/toolbar/remote_globe_16.png \
|
||||
remote_sat_pb_data \
|
||||
$(imagedir)/toolbar/remote_sat_16.png \
|
||||
pipe_pb_data \
|
||||
$(imagedir)/toolbar/pipe_16.png \
|
||||
capture_interfaces_16_pb_data \
|
||||
$(imagedir)/toolbar/capture_interfaces_16.png \
|
||||
capture_interfaces_24_pb_data \
|
||||
$(imagedir)/toolbar/capture_interfaces_24.png \
|
||||
gnome_emblem_web_16_pb_data \
|
||||
$(imagedir)/toolbar/gnome_emblem_web_16.png \
|
||||
gnome_emblem_web_24_pb_data \
|
||||
$(imagedir)/toolbar/gnome_emblem_web_24.png \
|
||||
toolbar_wireshark_file_16_pb_data \
|
||||
$(imagedir)/toolbar/16x16/x-capture-file-save.png \
|
||||
toolbar_wireshark_file_24_pb_data \
|
||||
$(imagedir)/toolbar/24x24/x-capture-file-save.png \
|
||||
capture_options_alt1_16_pb_data \
|
||||
$(imagedir)/toolbar/16x16/x-capture-options.png \
|
||||
capture_options_alt1_24_pb_data \
|
||||
$(imagedir)/toolbar/24x24/x-capture-options.png \
|
||||
capture_restart_16_pb_data \
|
||||
$(imagedir)/toolbar/16x16/x-capture-restart.png \
|
||||
capture_restart_24_pb_data \
|
||||
$(imagedir)/toolbar/24x24/x-capture-restart.png \
|
||||
capture_start_16_pb_data \
|
||||
$(imagedir)/toolbar/16x16/x-capture-start.png \
|
||||
capture_start_24_pb_data \
|
||||
$(imagedir)/toolbar/24x24/x-capture-start.png \
|
||||
capture_stop_16_pb_data \
|
||||
$(imagedir)/toolbar/16x16/x-capture-stop.png \
|
||||
capture_stop_24_pb_data \
|
||||
$(imagedir)/toolbar/24x24/x-capture-stop.png \
|
||||
layout_1_pb_data \
|
||||
$(imagedir)/layout_1.png \
|
||||
layout_2_pb_data \
|
||||
$(imagedir)/layout_2.png \
|
||||
layout_3_pb_data \
|
||||
$(imagedir)/layout_3.png \
|
||||
layout_4_pb_data \
|
||||
$(imagedir)/layout_4.png \
|
||||
layout_5_pb_data \
|
||||
$(imagedir)/layout_5.png \
|
||||
layout_6_pb_data \
|
||||
$(imagedir)/layout_6.png \
|
||||
wsicon_16_pb_data \
|
||||
$(imagedir)/wsicon16.png \
|
||||
wsicon_24_pb_data \
|
||||
$(imagedir)/wsicon24.png \
|
||||
wsicon_32_pb_data \
|
||||
$(imagedir)/wsicon32.png \
|
||||
wsicon_48_pb_data \
|
||||
$(imagedir)/wsicon48.png \
|
||||
wsicon_64_pb_data \
|
||||
$(imagedir)/wsicon64.png \
|
||||
wsiconcap_16_pb_data \
|
||||
$(imagedir)/wsiconcap16.png \
|
||||
wsiconcap_24_pb_data \
|
||||
$(imagedir)/wsiconcap24.png \
|
||||
wsiconcap_32_pb_data \
|
||||
$(imagedir)/wsiconcap32.png \
|
||||
wsiconcap_48_pb_data \
|
||||
$(imagedir)/wsiconcap48.png \
|
||||
wsiconcap_64_pb_data \
|
||||
$(imagedir)/wsiconcap64.png \
|
||||
wssplash_pb_data \
|
||||
$(imagedir)/wssplash_dev.png
|
||||
|
||||
pixbuf-csource:
|
||||
$(PERL) $(top_srcdir)/tools/make-pixbuf-csource.pl $@ $(pixbuf_csource_data)
|
||||
|
|
|
@ -32,7 +32,8 @@ WIRESHARK_CLEAN_LIBGTKUI_SRC = \
|
|||
$(WIRESHARK_GTK_SRC) \
|
||||
$(WIRESHARK_TAP_SRC) \
|
||||
$(GENERATED_C_FILES) \
|
||||
capture_if_details_dlg_win32.c
|
||||
capture_if_details_dlg_win32.c \
|
||||
pixbuf-csource.c
|
||||
|
||||
WIRESHARK_LIBGTKUI_SRC = \
|
||||
$(WIRESHARK_CLEAN_LIBGTKUI_SRC)
|
||||
|
@ -66,24 +67,6 @@ WIRESHARK_LIBGTKUI_OBJECTS = \
|
|||
libgtkui.lib: ..\..\config.h $(WIRESHARK_LIBGTKUI_OBJECTS)
|
||||
link /lib /out:libgtkui.lib $(WIRESHARK_LIBGTKUI_OBJECTS) winmm.lib
|
||||
|
||||
|
||||
layouts.h:
|
||||
echo /* This file was automatically generated. DO NOT EDIT. */ > $@
|
||||
echo. $@
|
||||
for %n in (1 2 3 4 5 6) do \
|
||||
gdk-pixbuf-csource --raw --name=layout_%n_pb_data ../../image/layout_%n.png >> $@
|
||||
|
||||
wsicon.h:
|
||||
echo /* This file was automatically generated. DO NOT EDIT. */ > $@
|
||||
echo. $@
|
||||
for %n in (16 24 32 48 64) do \
|
||||
gdk-pixbuf-csource --raw --name=wsicon_%n_pb_data ../../image/wsicon%n.png >> $@
|
||||
wsiconcap.h:
|
||||
echo /* This file was automatically generated. DO NOT EDIT. */ > $@
|
||||
echo. $@
|
||||
for %n in (16 24 32 48 64) do \
|
||||
gdk-pixbuf-csource --raw --name=wsiconcap_%n_pb_data ../../image/wsiconcap%n.png >> $@
|
||||
|
||||
# The first argument is the directory in which the source files live.
|
||||
# The second argument is "taps", to indicate that we should build
|
||||
# a tap register file.
|
||||
|
|
|
@ -54,7 +54,9 @@
|
|||
#include "ui/gtk/main.h"
|
||||
#include "ui/gtk/plugins_dlg.h"
|
||||
#include "ui/gtk/stock_icons.h"
|
||||
#include "ui/gtk/wssplash.h"
|
||||
#ifndef HAVE_GRESOURCE
|
||||
#include "ui/gtk/pixbuf-csource.h"
|
||||
#endif
|
||||
|
||||
#include "webbrowser.h"
|
||||
|
||||
|
@ -83,7 +85,11 @@ about_wireshark(GtkWidget *parent _U_, GtkWidget *main_vb)
|
|||
const char *title = "Network Protocol Analyzer";
|
||||
|
||||
/*icon = xpm_to_widget_from_parent(parent, wssplash_xpm);*/
|
||||
#ifdef HAVE_GRESOURCE
|
||||
icon = pixbuf_to_widget("/org/wireshark/image/wssplash_dev.png");
|
||||
#else
|
||||
icon = pixbuf_to_widget(wssplash_pb_data);
|
||||
#endif
|
||||
|
||||
gtk_box_pack_start(GTK_BOX(main_vb), icon, TRUE, TRUE, 0);
|
||||
|
||||
|
|
|
@ -1,237 +0,0 @@
|
|||
/* This file was automatically generated. DO NOT EDIT. */
|
||||
|
||||
/* GdkPixbuf RGBA C-Source image dump */
|
||||
|
||||
#ifdef __SUNPRO_C
|
||||
#pragma align 4 (capture_comment_add_pb_data)
|
||||
#endif
|
||||
#ifdef __GNUC__
|
||||
static const guint8 capture_comment_add_pb_data[] __attribute__ ((__aligned__ (4))) =
|
||||
#else
|
||||
static const guint8 capture_comment_add_pb_data[] =
|
||||
#endif
|
||||
{ ""
|
||||
/* Pixbuf magic (0x47646b50) */
|
||||
"GdkP"
|
||||
/* length: header (24) + pixel_data (1024) */
|
||||
"\0\0\4\30"
|
||||
/* pixdata_type (0x1010002) */
|
||||
"\1\1\0\2"
|
||||
/* rowstride (64) */
|
||||
"\0\0\0@"
|
||||
/* width (16) */
|
||||
"\0\0\0\20"
|
||||
/* height (16) */
|
||||
"\0\0\0\20"
|
||||
/* pixel_data: */
|
||||
"\262\266\257I\263\267\260\342\261\264\256\377\261\264\255\377\260\263"
|
||||
"\254\377\257\262\254\377\257\262\253\377\257\262\253\365\257\262\254"
|
||||
"\257\253\257\247@\377\377\377\0\377\377\377\0\356,,i\356//\352\35600"
|
||||
"\334\356'';\260\263\254\344\356\357\354\377\376\376\376\377S\235\15\377"
|
||||
"N\232\6\377N\232\6\377\370\373\366\377\370\371\370\377\347\350\346\377"
|
||||
"\262\264\257\366\252\254\246r\256he\246\272[Y\376\325wv\377\356ss\377"
|
||||
"\356..\342\251\254\245\377\376\376\376\377\362\363\362\377S\235\15\377"
|
||||
"N\232\6\377N\232\6\377\337\344\332\377\343\346\340\377\331\332\330\377"
|
||||
"\375\375\375\377\250\215w\375\230\223\215\377\266\265\262\377\221\210"
|
||||
"\203\376\315vu\377\355--\355\244\247\241\377S\235\15\377N\232\6\377N"
|
||||
"\232\6\377N\232\6\377N\232\6\377N\232\6\377N\232\6\377\275\275\275\377"
|
||||
"\306\246\212\377\212\211\203\377\227\226\216\377\271\272\271\377\200"
|
||||
"~|\377\264ca\374\355++p\237\242\234\377S\235\15\377N\232\6\377N\232\6"
|
||||
"\377N\232\6\377N\232\6\377N\232\6\377N\232\6\377\306\222c\377\325s\40"
|
||||
"\377\371\276l\377\312\240g\377\210\207\177\377\222\216\210\377\251kh"
|
||||
"\270\377\377\377\0\232\235\227\377S\235\15\377N\232\6\377N\232\6\377"
|
||||
"N\232\6\377N\232\6\377N\232\6\377\217}\4\377\327v\"\377\372\277l\377"
|
||||
"\366\257Q\377\346\241Y\377\212\211\203\377\231\201k\310\377\377\377\1"
|
||||
"\377\377\377\0\226\230\222\377\375\376\375\377\347\351\345\377R\234\14"
|
||||
"\377N\232\6\377N\232\6\377\325\235g\377\330y$\377\372\277l\377\366\256"
|
||||
"Q\377\352\242V\377\324o\34\377\236\177d\377\377\377\377\1\377\377\377"
|
||||
"\0\377\377\377\0\221\223\216\377\375\376\375\377\326\327\326\377R\234"
|
||||
"\14\377N\232\6\377\225z\4\377\330y&\377\372\277l\377\365\256O\377\352"
|
||||
"\241V\377\323m\31\377\353\277\234\377\211\213\206\377\377\377\377\0\377"
|
||||
"\377\377\0\377\377\377\0\214\216\211\377\375\376\375\377\347\351\344"
|
||||
"\377\345\346\342\377\341\304\236\377\337\226Q\377\373\311\203\377\365"
|
||||
"\256O\377\352\241V\377\323m\32\377\333\262\215\377\365\365\365\377\201"
|
||||
"\203~\377\377\377\377\0\377\377\377\0\377\377\377\0\207\212\204\377\375"
|
||||
"\376\375\377\347\351\345\377\345\347\342\377\347\266r\377\363\324\255"
|
||||
"\377\377\375\374\377\354\255l\377\321j\30\377\312\244\200\377\314\316"
|
||||
"\312\377\352\352\351\377{}x\377\377\377\377\0\377\377\377\0\377\377\377"
|
||||
"\0\202\205\177\377\376\376\375\377\327\327\327\377\276\266\251\377\274"
|
||||
"\224Y\377\361\322\256\377\351\270}\377\331\2059\377\265\216o\377\261"
|
||||
"\261\261\377\276\276\275\377\353\353\353\377wzu\377\377\377\377\0\377"
|
||||
"\377\377\0\377\377\377\0}\200z\377\376\376\376\377\355\357\353\377g["
|
||||
"E\377\27\22\13\377\327\254o\377\313\253}\377\274\261\242\377\312\313"
|
||||
"\311\377\334\336\333\377\351\353\350\377\376\376\376\377uxs\377\377\377"
|
||||
"\377\0\377\377\377\0\377\377\377\0x{v\377\376\376\376\377\331\332\331"
|
||||
"\377\234\222\203\377\270\266\261\377\307\307\307\377\324\324\324\377"
|
||||
"\363\365\362\377\364\365\363\377\364\365\363\377\365\366\363\377\376"
|
||||
"\376\376\377qsn\377\377\377\377\0\377\377\377\0\377\377\377\0tvq\377"
|
||||
"\376\376\376\377\363\364\362\377\364\365\363\377\365\366\364\377\366"
|
||||
"\367\365\377\367\370\366\377\370\370\367\377\370\371\370\377\370\371"
|
||||
"\370\377\371\371\370\377\377\377\376\377lni\377\377\377\377\0\377\377"
|
||||
"\377\0\377\377\377\0vxs\343\351\352\351\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\351\352\351\377orm\336"
|
||||
"\377\377\377\0\377\377\377\0\377\377\377\0jnjHqso\337ikf\377hjf\377g"
|
||||
"ie\377gid\377fhd\377egc\377egb\377dfb\377cea\377lni\335dd`E\377\377\377"
|
||||
"\0\377\377\377\0\377\377\377\0"};
|
||||
|
||||
|
||||
/* GdkPixbuf RGBA C-Source image dump */
|
||||
|
||||
#ifdef __SUNPRO_C
|
||||
#pragma align 4 (capture_comment_update_pb_data)
|
||||
#endif
|
||||
#ifdef __GNUC__
|
||||
static const guint8 capture_comment_update_pb_data[] __attribute__ ((__aligned__ (4))) =
|
||||
#else
|
||||
static const guint8 capture_comment_update_pb_data[] =
|
||||
#endif
|
||||
{ ""
|
||||
/* Pixbuf magic (0x47646b50) */
|
||||
"GdkP"
|
||||
/* length: header (24) + pixel_data (1024) */
|
||||
"\0\0\4\30"
|
||||
/* pixdata_type (0x1010002) */
|
||||
"\1\1\0\2"
|
||||
/* rowstride (64) */
|
||||
"\0\0\0@"
|
||||
/* width (16) */
|
||||
"\0\0\0\20"
|
||||
/* height (16) */
|
||||
"\0\0\0\20"
|
||||
/* pixel_data: */
|
||||
"\262\266\257I\263\267\260\342\261\264\256\377\261\264\255\377\260\263"
|
||||
"\254\377\257\262\254\377\257\262\253\377\257\262\253\365\257\262\254"
|
||||
"\257\253\257\247@\377\377\377\0\377\377\377\0\356,,i\356//\352\35600"
|
||||
"\334\356'';\260\263\254\344\356\357\354\377\376\376\376\377\376\376\376"
|
||||
"\377\376\376\376\377\376\376\376\377\376\376\376\377\370\371\370\377"
|
||||
"\347\350\346\377\262\264\257\366\252\254\246r\256he\246\272[Y\376\325"
|
||||
"wv\377\356ss\377\356..\342\251\254\245\377\376\376\376\377\362\363\362"
|
||||
"\377\357\360\355\377\353\355\351\377\347\352\345\377\344\346\341\377"
|
||||
"\343\346\340\377\331\332\330\377\375\375\375\377\250\215w\375\230\223"
|
||||
"\215\377\266\265\262\377\221\210\203\376\315vu\377\354..\356\244\247"
|
||||
"\241\377\376\376\376\377\331\331\331\377\323\323\323\377\323\323\323"
|
||||
"\377\323\323\323\377\323\323\323\377\323\323\323\377\275\275\275\377"
|
||||
"\306\246\212\377\212\211\203\377\227\226\216\377\271\272\271\377\200"
|
||||
"~|\377\264ca\374\34754y\237\242\234\377\376\376\376\377\353\355\351\377"
|
||||
"\350\352\346\377\345\347\343\377\342\345\340\377\337\342\334\377\334"
|
||||
"\337\330\377\306\222c\377\325s\40\377\371\276l\377\312\240g\377\210\207"
|
||||
"\177\377\222\216\210\377\251kh\270\240\243\234\20\232\235\227\377\376"
|
||||
"\376\375\377\330\330\327\377\323\323\323\377\323\323\323\377\323\323"
|
||||
"\323\377\323\323\323\377\322\232k\377\327v\"\377\372\277l\377\366\257"
|
||||
"Q\377\346\241Y\377\212\211\203\377\231\201k\310\377\377\377\1\233\236"
|
||||
"\230\20\226\230\222\377\375\376\375\377\347\351\345\377\344\346\341\377"
|
||||
"\342\345\340\377\341\343\336\377\327\236k\377\330y$\377\372\277l\377"
|
||||
"\366\256Q\377\352\242V\377\324o\34\377\236\177d\377\377\377\377\1\377"
|
||||
"\377\377\0\226\231\223\20\221\223\216\377\375\376\375\377\326\327\326"
|
||||
"\377\323\323\323\377\323\323\323\377\321\224`\377\330y&\377\372\277l"
|
||||
"\377\365\256O\377\352\241V\377\323m\31\377\353\277\234\377\211\213\206"
|
||||
"\377\377\377\377\0\377\377\377\0\221\224\216\20\214\216\211\377\375\376"
|
||||
"\375\377\347\351\344\377\345\346\342\377\341\304\236\377\337\226Q\377"
|
||||
"\373\311\203\377\365\256O\377\352\241V\377\323m\32\377\333\262\215\377"
|
||||
"\365\365\365\377\201\203~\377\377\377\377\0\377\377\377\0\214\217\211"
|
||||
"\20\207\212\204\377\375\376\375\377\347\351\345\377\345\347\342\377\347"
|
||||
"\266r\377\363\324\255\377\377\375\374\377\354\255l\377\321j\30\377\312"
|
||||
"\244\200\377\314\316\312\377\352\352\351\377{}x\377\377\377\377\0\377"
|
||||
"\377\377\0\210\212\205\20\202\205\177\377\376\376\375\377\327\327\327"
|
||||
"\377\276\266\251\377\274\224Y\377\361\322\256\377\351\270}\377\331\205"
|
||||
"9\377\265\216o\377\261\261\261\377\276\276\275\377\353\353\353\377wz"
|
||||
"u\377\377\377\377\0\377\377\377\0\203\205\200\20}\200z\377\376\376\376"
|
||||
"\377\355\357\353\377g[E\377\27\22\13\377\327\254o\377\313\253}\377\274"
|
||||
"\261\242\377\312\313\311\377\334\336\333\377\351\353\350\377\376\376"
|
||||
"\376\377uxs\377\377\377\377\0\377\377\377\0~\200{\20x{v\377\376\376\376"
|
||||
"\377\331\332\331\377\234\222\203\377\270\266\261\377\307\307\307\377"
|
||||
"\324\324\324\377\363\365\362\377\364\365\363\377\364\365\363\377\365"
|
||||
"\366\363\377\376\376\376\377qsn\377\377\377\377\0\377\377\377\0y{v\20"
|
||||
"tvq\377\376\376\376\377\363\364\362\377\364\365\363\377\365\366\364\377"
|
||||
"\366\367\365\377\367\370\366\377\370\370\367\377\370\371\370\377\370"
|
||||
"\371\370\377\371\371\370\377\377\377\376\377lni\377\377\377\377\0\377"
|
||||
"\377\377\0twr\20vxs\343\351\352\351\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\351\352\351\377orm\336\377"
|
||||
"\377\377\0\377\377\377\0orm\2jnjHqso\337ikf\377hjf\377gie\377gid\377"
|
||||
"fhd\377egc\377egb\377dfb\377cea\377lni\335dd`E\377\377\377\0\377\377"
|
||||
"\377\0\377\377\377\0"};
|
||||
|
||||
|
||||
/* GdkPixbuf RGBA C-Source image dump */
|
||||
|
||||
#ifdef __SUNPRO_C
|
||||
#pragma align 4 (capture_comment_disabled_pb_data)
|
||||
#endif
|
||||
#ifdef __GNUC__
|
||||
static const guint8 capture_comment_disabled_pb_data[] __attribute__ ((__aligned__ (4))) =
|
||||
#else
|
||||
static const guint8 capture_comment_disabled_pb_data[] =
|
||||
#endif
|
||||
{ ""
|
||||
/* Pixbuf magic (0x47646b50) */
|
||||
"GdkP"
|
||||
/* length: header (24) + pixel_data (1024) */
|
||||
"\0\0\4\30"
|
||||
/* pixdata_type (0x1010002) */
|
||||
"\1\1\0\2"
|
||||
/* rowstride (64) */
|
||||
"\0\0\0@"
|
||||
/* width (16) */
|
||||
"\0\0\0\20"
|
||||
/* height (16) */
|
||||
"\0\0\0\20"
|
||||
/* pixel_data: */
|
||||
"\263\267\260J\263\267\260\342\261\264\256\377\261\264\255\377\260\263"
|
||||
"\254\377\257\262\254\377\257\262\253\377\257\262\253\366\257\263\254"
|
||||
"\262\255\260\251D\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377"
|
||||
"\0\377\377\377\0\377\377\377\0\260\263\254\344\355\356\354\377\376\376"
|
||||
"\376\377\376\376\376\377\376\376\376\377\376\376\376\377\376\376\376"
|
||||
"\377\371\371\370\377\347\350\346\377\264\266\261\366\251\253\245z\377"
|
||||
"\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\251"
|
||||
"\254\245\377\376\376\376\377\362\363\362\377\357\360\355\377\353\355"
|
||||
"\351\377\350\352\345\377\344\346\341\377\343\345\340\377\330\331\327"
|
||||
"\377\375\375\375\377\276\300\273\367\244\246\240v\377\377\377\0\377\377"
|
||||
"\377\0\377\377\377\0\377\377\377\0\244\247\241\377\376\376\376\377\331"
|
||||
"\331\331\377\323\323\323\377\323\323\323\377\323\323\323\377\323\323"
|
||||
"\323\377\323\323\323\377\274\274\274\377\377\377\377\377\375\375\374"
|
||||
"\377\252\255\247\365\233\237\233=\377\377\377\0\377\377\377\0\377\377"
|
||||
"\377\0\237\242\234\377\376\376\376\377\353\355\351\377\350\352\346\377"
|
||||
"\345\347\343\377\342\345\340\377\337\342\334\377\334\337\331\377\277"
|
||||
"\302\274\377\251\254\246\377\260\260\257\377\330\331\326\376\233\236"
|
||||
"\230\262\377\377\377\0\377\377\377\0\377\377\377\0\232\235\227\377\376"
|
||||
"\376\375\377\330\330\327\377\323\323\323\377\323\323\323\377\323\323"
|
||||
"\323\377\323\323\323\377\323\323\323\377\323\323\323\377\316\317\316"
|
||||
"\377\314\320\312\377\331\333\330\377\224\227\220\371\200\200\200\4\377"
|
||||
"\377\377\0\377\377\377\0\226\230\222\377\375\376\375\377\347\351\345"
|
||||
"\377\344\346\341\377\342\345\340\377\341\343\336\377\336\341\333\377"
|
||||
"\334\337\330\377\331\334\326\377\331\334\326\377\332\335\326\377\376"
|
||||
"\376\376\377\217\221\214\374\200\237\200\10\377\377\377\0\377\377\377"
|
||||
"\0\221\223\216\377\375\376\375\377\326\327\326\377\323\323\323\377\323"
|
||||
"\323\323\377\323\323\323\377\323\323\323\377\323\323\323\377\323\323"
|
||||
"\323\377\323\323\323\377\324\325\324\377\376\376\376\377\212\214\210"
|
||||
"\374\200\200\200\10\377\377\377\0\377\377\377\0\214\216\211\377\375\376"
|
||||
"\375\377\347\351\344\377\345\346\342\377\343\346\341\377\342\345\340"
|
||||
"\377\342\344\337\377\342\344\337\377\342\345\337\377\342\345\337\377"
|
||||
"\343\345\340\377\376\376\376\377\206\210\203\374\200\200\200\10\377\377"
|
||||
"\377\0\377\377\377\0\207\212\204\377\375\376\375\377\347\351\345\377"
|
||||
"\345\347\342\377\344\347\342\377\345\347\342\377\345\347\343\377\345"
|
||||
"\350\343\377\345\350\343\377\345\350\343\377\347\352\345\377\376\376"
|
||||
"\376\377\201\204}\374\200\200\200\10\377\377\377\0\377\377\377\0\202"
|
||||
"\205\177\377\376\376\375\377\327\327\327\377\324\324\324\377\324\324"
|
||||
"\324\377\324\324\324\377\324\324\324\377\324\324\324\377\324\324\324"
|
||||
"\377\324\324\324\377\327\327\327\377\376\376\376\377{~y\374\200\200\200"
|
||||
"\10\377\377\377\0\377\377\377\0}\200z\377\376\376\376\377\355\357\353"
|
||||
"\377\354\355\352\377\355\356\353\377\355\357\354\377\356\357\354\377"
|
||||
"\357\361\356\377\357\361\356\377\357\361\356\377\360\361\357\377\377"
|
||||
"\377\377\377vyt\374\200\200\200\10\377\377\377\0\377\377\377\0x{v\377"
|
||||
"\376\376\376\377\331\332\331\377\324\324\324\377\324\324\324\377\324"
|
||||
"\324\324\377\330\330\330\377\363\365\362\377\364\365\363\377\364\365"
|
||||
"\363\377\364\365\362\377\377\377\377\377rtp\374\200\200`\10\377\377\377"
|
||||
"\0\377\377\377\0tvq\377\376\376\376\377\363\364\362\377\364\365\363\377"
|
||||
"\365\366\364\377\366\367\365\377\367\370\366\377\370\370\367\377\370"
|
||||
"\371\370\377\370\371\370\377\371\371\370\377\377\377\377\377npk\374`"
|
||||
"``\10\377\377\377\0\377\377\377\0vxs\343\351\352\351\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\356"
|
||||
"\356\355\377nql\347\0\0\0\1\377\377\377\0\377\377\377\0jnjHqso\337ik"
|
||||
"f\377hjf\377gie\377gid\377fhd\377egc\377egb\377dfb\377cea\377lni\341"
|
||||
"ffcK\377\377\377\0\377\377\377\0\377\377\377\0"};
|
||||
|
||||
|
|
@ -55,23 +55,24 @@
|
|||
#include "ui/gtk/filter_dlg.h"
|
||||
#include "ui/gtk/dlg_utils.h"
|
||||
#include "ui/gtk/file_dlg.h"
|
||||
#include "ui/gtk/stock_icons.h"
|
||||
#include "ui/gtk/capture_file_dlg.h"
|
||||
#include "ui/gtk/help_dlg.h"
|
||||
#include "ui/gtk/gtkglobals.h"
|
||||
#include "ui/gtk/cfilter_combo_utils.h"
|
||||
#include "ui/gtk/capture_if_dlg.h"
|
||||
#include "ui/gtk/main_welcome.h"
|
||||
#include "ui/gtk/network_icons.h"
|
||||
#include "ui/gtk/menus.h"
|
||||
#include "ui/gtk/prefs_dlg.h"
|
||||
#include "ui/gtk/main_80211_toolbar.h"
|
||||
#include "ui/gtk/stock_icons.h"
|
||||
#ifndef HAVE_GRESOURCE
|
||||
#include "ui/gtk/pixbuf-csource.h"
|
||||
#endif
|
||||
#include "simple_dialog.h"
|
||||
|
||||
#include "ui/gtk/keys.h"
|
||||
|
||||
#include "ui/gtk/old-gtk-compat.h"
|
||||
#include "ui/gtk/expert_indicators.h"
|
||||
|
||||
#ifdef HAVE_AIRPCAP
|
||||
#include <caputils/airpcap.h>
|
||||
|
@ -1970,10 +1971,18 @@ add_page(gchar *name, gchar *text, gboolean error)
|
|||
model = gtk_tree_view_get_model(GTK_TREE_VIEW(view));
|
||||
gtk_list_store_append (GTK_LIST_STORE(model), &iter);
|
||||
if (error) {
|
||||
#ifdef HAVE_GRESOURCE
|
||||
icon = pixbuf_to_widget("/org/wireshark/image/toolbar/14x14/x-expert-error.png");
|
||||
#else
|
||||
icon = pixbuf_to_widget(expert_error_pb_data);
|
||||
#endif
|
||||
gtk_list_store_set(GTK_LIST_STORE(model), &iter, COMPILE_ERROR, 1, SIGN, gtk_image_get_pixbuf(GTK_IMAGE(icon)), INAME, name, -1);
|
||||
} else {
|
||||
#ifdef HAVE_GRESOURCE
|
||||
icon = pixbuf_to_widget("/org/wireshark/image/expert_ok.png");
|
||||
#else
|
||||
icon = pixbuf_to_widget(expert_ok_pb_data);
|
||||
#endif
|
||||
gtk_list_store_set(GTK_LIST_STORE(model), &iter, COMPILE_ERROR, 0, SIGN, gtk_image_get_pixbuf(GTK_IMAGE(icon)), INAME, name, -1);
|
||||
}
|
||||
g_hash_table_insert(compile_results, name, text);
|
||||
|
|
|
@ -46,6 +46,9 @@
|
|||
#endif
|
||||
|
||||
#include "ui/gtk/stock_icons.h"
|
||||
#ifndef HAVE_GRESOURCE
|
||||
#include "ui/gtk/pixbuf-csource.h"
|
||||
#endif
|
||||
#include "ui/gtk/capture_dlg.h"
|
||||
#include "ui/gtk/capture_if_dlg.h"
|
||||
#include "ui/gtk/gui_utils.h"
|
||||
|
@ -55,8 +58,6 @@
|
|||
#include "ui/gtk/help_dlg.h"
|
||||
#include "ui/gtk/keys.h"
|
||||
#include "ui/gtk/webbrowser.h"
|
||||
#include "ui/gtk/network_icons.h"
|
||||
#include "ui/gtk/pipe_icon.h"
|
||||
#include "ui/gtk/main_welcome.h"
|
||||
|
||||
#include "ui/gtk/old-gtk-compat.h"
|
||||
|
@ -67,10 +68,6 @@
|
|||
#include "../../image/toolbar/capture_airpcap_16.xpm"
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_PCAP_REMOTE)
|
||||
#include "ui/gtk/remote_icons.h"
|
||||
#endif
|
||||
|
||||
#include "../../image/toolbar/modem_16.xpm"
|
||||
|
||||
#include "../../image/toolbar/network_virtual_16.xpm"
|
||||
|
@ -399,44 +396,44 @@ GtkWidget * capture_get_if_icon(interface_t *device)
|
|||
{
|
||||
#ifdef HAVE_PCAP_REMOTE
|
||||
if (!device->local) {
|
||||
return pixbuf_to_widget(remote_sat_pb_data);
|
||||
return PIXBUF_TO_WIDGET(remote_sat_pb_data, "/org/wireshark/image/toolbar/remote_sat_16.png");
|
||||
}
|
||||
#endif
|
||||
if (device->display_name && strstr(device->display_name,"Wi-Fi") != NULL) {
|
||||
return pixbuf_to_widget(network_wireless_pb_data);
|
||||
return PIXBUF_TO_WIDGET(network_wireless_pb_data, "/org/wireshark/image/toolbar/network_wireless_16.png");
|
||||
}
|
||||
switch (device->type) {
|
||||
case IF_DIALUP:
|
||||
return xpm_to_widget(modem_16_xpm);
|
||||
case IF_WIRELESS:
|
||||
return pixbuf_to_widget(network_wireless_pb_data);
|
||||
return PIXBUF_TO_WIDGET(network_wireless_pb_data, "/org/wireshark/image/toolbar/network_wireless_16.png");
|
||||
#ifdef HAVE_AIRPCAP
|
||||
case IF_AIRPCAP:
|
||||
return xpm_to_widget(capture_airpcap_16_xpm);
|
||||
#endif
|
||||
case IF_BLUETOOTH:
|
||||
return pixbuf_to_widget(network_bluetooth_pb_data);
|
||||
return PIXBUF_TO_WIDGET(network_bluetooth_pb_data, "/org/wireshark/image/toolbar/network_bluetooth_16.png");
|
||||
case IF_USB:
|
||||
return pixbuf_to_widget(network_usb_pb_data);
|
||||
return PIXBUF_TO_WIDGET(network_usb_pb_data, "/org/wireshark/image/toolbar/network_usb_16.png");
|
||||
case IF_VIRTUAL:
|
||||
return xpm_to_widget(network_virtual_16_xpm);
|
||||
case IF_WIRED:
|
||||
return pixbuf_to_widget(network_wired_pb_data);
|
||||
return PIXBUF_TO_WIDGET(network_wired_pb_data, "/org/wireshark/image/toolbar/network_wired_16.png");
|
||||
#ifdef HAVE_EXTCAP
|
||||
case IF_EXTCAP:
|
||||
#ifdef _WIN32
|
||||
if (strncmp(device->friendly_name, "USBPcap", 7) == 0) {
|
||||
return pixbuf_to_widget(network_usb_pb_data);
|
||||
return PIXBUF_TO_WIDGET(network_usb_pb_data, "/org/wireshark/image/toolbar/network_usb_16.png");
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
case IF_PIPE:
|
||||
case IF_STDIN:
|
||||
return pixbuf_to_widget(pipe_pb_data);
|
||||
return PIXBUF_TO_WIDGET(pipe_pb_data, "/org/wireshark/image/toolbar/pipe_16.png");
|
||||
default:
|
||||
printf("unknown device type\n");
|
||||
}
|
||||
return pixbuf_to_widget(network_wired_pb_data);
|
||||
return PIXBUF_TO_WIDGET(network_wired_pb_data, "/org/wireshark/image/toolbar/network_wired_16.png");
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -41,10 +41,11 @@
|
|||
#include "ui/gtk/help_dlg.h"
|
||||
#include "ui/gtk/expert_comp_dlg.h"
|
||||
#include "ui/gtk/main.h"
|
||||
#include "ui/gtk/expert_indicators.h"
|
||||
#ifndef HAVE_GRESOURCE
|
||||
#include "ui/gtk/pixbuf-csource.h"
|
||||
#endif
|
||||
#include "ui/gtk/packet_panes.h"
|
||||
#include "ui/gtk/edit_packet_comment_dlg.h"
|
||||
#include "ui/gtk/capture_comment_icons.h"
|
||||
#include "ui/gtk/gtkglobals.h"
|
||||
|
||||
void register_tap_listener_expert_comp(void);
|
||||
|
@ -833,7 +834,11 @@ expert_comp_init(const char *opt_arg _U_, void* userdata _U_)
|
|||
gtk_widget_show(ss->error_label);
|
||||
hbox = ws_gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 3, FALSE);
|
||||
if ( prefs.gui_expert_composite_eyecandy ) {
|
||||
#ifdef HAVE_GRESOURCE
|
||||
image = pixbuf_to_widget("/org/wireshark/image/toolbar/14x14/x-expert-error.png");
|
||||
#else
|
||||
image = pixbuf_to_widget(expert_error_pb_data);
|
||||
#endif
|
||||
gtk_widget_show(image);
|
||||
gtk_box_pack_start(GTK_BOX(hbox), image, TRUE, TRUE, 0);
|
||||
}
|
||||
|
@ -847,7 +852,11 @@ expert_comp_init(const char *opt_arg _U_, void* userdata _U_)
|
|||
gtk_widget_show(ss->warn_label);
|
||||
hbox = ws_gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 3, FALSE);
|
||||
if ( prefs.gui_expert_composite_eyecandy ) {
|
||||
#ifdef HAVE_GRESOURCE
|
||||
image = pixbuf_to_widget("/org/wireshark/image/toolbar/14x14/x-expert-warn.png");
|
||||
#else
|
||||
image = pixbuf_to_widget(expert_warn_pb_data);
|
||||
#endif
|
||||
gtk_widget_show(image);
|
||||
gtk_box_pack_start(GTK_BOX(hbox), image, TRUE, TRUE, 0);
|
||||
|
||||
|
@ -862,7 +871,11 @@ expert_comp_init(const char *opt_arg _U_, void* userdata _U_)
|
|||
gtk_widget_show(ss->note_label);
|
||||
hbox = ws_gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 3, FALSE);
|
||||
if ( prefs.gui_expert_composite_eyecandy ) {
|
||||
#ifdef HAVE_GRESOURCE
|
||||
image = pixbuf_to_widget("/org/wireshark/image/toolbar/14x14/x-expert-note.png");
|
||||
#else
|
||||
image = pixbuf_to_widget(expert_note_pb_data);
|
||||
#endif
|
||||
gtk_widget_show(image);
|
||||
gtk_box_pack_start(GTK_BOX(hbox), image, TRUE, TRUE, 0);
|
||||
}
|
||||
|
@ -876,7 +889,11 @@ expert_comp_init(const char *opt_arg _U_, void* userdata _U_)
|
|||
gtk_widget_show(ss->chat_label);
|
||||
hbox = ws_gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 3, FALSE);
|
||||
if ( prefs.gui_expert_composite_eyecandy ) {
|
||||
#ifdef HAVE_GRESOURCE
|
||||
image = pixbuf_to_widget("/org/wireshark/image/toolbar/14x14/x-expert-chat.png");
|
||||
#else
|
||||
image = pixbuf_to_widget(expert_chat_pb_data);
|
||||
#endif
|
||||
gtk_widget_show(image);
|
||||
gtk_box_pack_start(GTK_BOX(hbox), image, TRUE, TRUE, 0);
|
||||
}
|
||||
|
@ -890,7 +907,11 @@ expert_comp_init(const char *opt_arg _U_, void* userdata _U_)
|
|||
gtk_widget_show(ss->all_label);
|
||||
hbox = ws_gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 3, FALSE);
|
||||
if ( prefs.gui_expert_composite_eyecandy ) {
|
||||
#ifdef HAVE_GRESOURCE
|
||||
image = pixbuf_to_widget("/org/wireshark/image/capture_comment_disabled.png");
|
||||
#else
|
||||
image = pixbuf_to_widget(capture_comment_disabled_pb_data);
|
||||
#endif
|
||||
gtk_widget_show(image);
|
||||
gtk_box_pack_start(GTK_BOX(hbox), image, TRUE, TRUE, 0);
|
||||
}
|
||||
|
@ -903,7 +924,11 @@ expert_comp_init(const char *opt_arg _U_, void* userdata _U_)
|
|||
gtk_widget_show(ss->pkt_comments_label);
|
||||
hbox = ws_gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 3, FALSE);
|
||||
if ( prefs.gui_expert_composite_eyecandy ) {
|
||||
#ifdef HAVE_GRESOURCE
|
||||
image = pixbuf_to_widget("/org/wireshark/image/capture_comment_update.png");
|
||||
#else
|
||||
image = pixbuf_to_widget(capture_comment_update_pb_data);
|
||||
#endif
|
||||
gtk_widget_show(image);
|
||||
gtk_box_pack_start(GTK_BOX(hbox), image, TRUE, TRUE, 0);
|
||||
}
|
||||
|
|
|
@ -1,381 +0,0 @@
|
|||
/* This file was automatically generated. DO NOT EDIT. */
|
||||
|
||||
/* GdkPixbuf RGBA C-Source image dump */
|
||||
|
||||
#ifdef __SUNPRO_C
|
||||
#pragma align 4 (expert_chat_pb_data)
|
||||
#endif
|
||||
#ifdef __GNUC__
|
||||
static const guint8 expert_chat_pb_data[] __attribute__ ((__aligned__ (4))) =
|
||||
#else
|
||||
static const guint8 expert_chat_pb_data[] =
|
||||
#endif
|
||||
{ ""
|
||||
/* Pixbuf magic (0x47646b50) */
|
||||
"GdkP"
|
||||
/* length: header (24) + pixel_data (784) */
|
||||
"\0\0\3("
|
||||
/* pixdata_type (0x1010002) */
|
||||
"\1\1\0\2"
|
||||
/* rowstride (56) */
|
||||
"\0\0\0""8"
|
||||
/* width (14) */
|
||||
"\0\0\0\16"
|
||||
/* height (14) */
|
||||
"\0\0\0\16"
|
||||
/* pixel_data: */
|
||||
"\377\377\377\0\377\377\377\0\377\377\377\0\0\0\0\15\1\11\22\206\1\13"
|
||||
"\27\314\1\14\31\345\2\15\32\345\1\13\27\314\1\11\22\206\0\0\0\15\377"
|
||||
"\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\1"
|
||||
"\3\6G\10\22\35\344X~\252\374\177\252\334\377\240\303\353\377\243\305"
|
||||
"\353\377\177\252\334\377U|\250\373\11\23\35\344\1\3\6G\377\377\377\0"
|
||||
"\377\377\377\0\377\377\377\0\1\3\6G\26'<\357~\251\334\377\227\275\351"
|
||||
"\377\226\274\351\377\226\274\351\377\226\274\351\377\226\274\351\377"
|
||||
"\226\274\351\377}\251\334\377\26'<\357\1\3\6G\377\377\377\0\0\0\0\15"
|
||||
"\4\15\30\343`\226\324\377\201\260\346\377\201\260\346\377\201\260\346"
|
||||
"\377\201\260\346\377\201\260\346\377\201\260\346\377\201\260\346\377"
|
||||
"\201\260\346\377n\237\330\377\4\15\30\343\0\0\0\15\4\13\23\206\37Q\212"
|
||||
"\372e\237\341\377n\244\343\377n\244\343\377n\244\343\377n\244\343\377"
|
||||
"n\244\343\377n\244\343\377i\242\342\377g\240\342\377n\244\343\377*Z\220"
|
||||
"\372\4\13\23\206\7\17\31\3146z\313\377:\204\333\377\77\207\334\377G\214"
|
||||
"\335\377H\215\336\377H\215\336\377G\214\335\377A\210\334\377:\204\333"
|
||||
"\377:\204\333\377=\206\334\3776z\313\377\7\17\31\314\10\21\33\345C\213"
|
||||
"\337\377C\213\337\377C\213\337\377C\213\337\377C\213\337\377C\213\337"
|
||||
"\377C\213\337\377C\213\337\377C\213\337\377C\213\337\377C\213\337\377"
|
||||
"C\213\337\377\10\21\33\345\11\22\34\345L\221\342\377L\221\342\377L\221"
|
||||
"\342\377L\221\342\377L\221\342\377L\221\342\377L\221\342\377L\221\342"
|
||||
"\377L\221\342\377L\221\342\377L\221\342\377L\221\342\377\11\22\34\345"
|
||||
"\12\22\33\314O\215\325\377U\230\346\377U\230\346\377U\230\346\377U\230"
|
||||
"\346\377U\230\346\377U\230\346\377U\230\346\377U\230\346\377U\230\346"
|
||||
"\377U\230\346\377O\215\325\377\12\22\33\314\10\16\25\206<f\225\372^\237"
|
||||
"\351\377^\237\351\377^\237\351\377^\237\351\377^\237\351\377^\237\351"
|
||||
"\377^\237\351\377^\237\351\377^\237\351\377^\237\351\377<f\225\372\10"
|
||||
"\16\25\206\0\0\0\15\14\23\33\343_\231\333\377g\245\355\377g\245\355\377"
|
||||
"g\245\355\377g\245\355\377g\245\355\377g\245\355\377g\245\355\377g\245"
|
||||
"\355\377_\231\333\377\14\23\33\343\0\0\0\15\377\377\377\0\3\5\7G\32'"
|
||||
"6\356i\237\337\377q\254\361\377q\254\361\377q\254\361\377q\254\361\377"
|
||||
"q\254\361\377q\254\361\377i\237\337\377\32'6\356\3\5\7G\377\377\377\0"
|
||||
"\377\377\377\0\377\377\377\0\4\5\10G\16\24\34\343Nr\234\372q\245\342"
|
||||
"\377z\262\364\377z\262\364\377q\245\342\377Nr\234\372\16\24\34\343\4"
|
||||
"\5\10G\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377"
|
||||
"\377\0\0\0\0\15\13\20\26\206\17\25\35\314\20\26\36\345\20\26\36\345\17"
|
||||
"\25\35\314\13\20\26\206\0\0\0\15\377\377\377\0\377\377\377\0\377\377"
|
||||
"\377\0"};
|
||||
|
||||
|
||||
/* GdkPixbuf RGBA C-Source image dump */
|
||||
|
||||
#ifdef __SUNPRO_C
|
||||
#pragma align 4 (expert_error_pb_data)
|
||||
#endif
|
||||
#ifdef __GNUC__
|
||||
static const guint8 expert_error_pb_data[] __attribute__ ((__aligned__ (4))) =
|
||||
#else
|
||||
static const guint8 expert_error_pb_data[] =
|
||||
#endif
|
||||
{ ""
|
||||
/* Pixbuf magic (0x47646b50) */
|
||||
"GdkP"
|
||||
/* length: header (24) + pixel_data (784) */
|
||||
"\0\0\3("
|
||||
/* pixdata_type (0x1010002) */
|
||||
"\1\1\0\2"
|
||||
/* rowstride (56) */
|
||||
"\0\0\0""8"
|
||||
/* width (14) */
|
||||
"\0\0\0\16"
|
||||
/* height (14) */
|
||||
"\0\0\0\16"
|
||||
/* pixel_data: */
|
||||
"\377\377\377\0\377\377\377\0\377\377\377\0\0\0\0\15\20\1\1\206\25\1\1"
|
||||
"\314\26\1\1\345\27\2\2\345\25\1\1\314\20\1\1\206\0\0\0\15\377\377\377"
|
||||
"\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\6\0\0G\33"
|
||||
"\7\7\343\241UU\373\321{{\376\343\235\235\376\344\241\241\376\321{{\376"
|
||||
"\237RR\373\34\10\10\343\6\0\0G\377\377\377\0\377\377\377\0\377\377\377"
|
||||
"\0\6\1\1G8\23\23\356\323yy\375\342\223\223\376\341\222\222\376\341\222"
|
||||
"\222\376\341\222\222\376\341\222\222\376\341\222\222\376\323xx\3758\23"
|
||||
"\23\356\6\1\1G\377\377\377\0\0\0\0\15\26\3\3\342\312YY\374\335{{\375"
|
||||
"\335{{\375\335{{\375\335{{\375\335{{\375\335{{\375\335{{\375\335{{\375"
|
||||
"\317hh\374\26\3\3\342\0\0\0\15\22\3\3\206\201\25\25\367\331[[\373\333"
|
||||
"dd\373\333dd\373\333dd\373\333dd\373\333dd\373\333dd\373\332__\373\331"
|
||||
"]]\373\333dd\373\207!!\367\22\3\3\206\30\5\5\313\301%%\371\321((\370"
|
||||
"\322--\370\32466\370\32488\370\32488\370\32477\370\32300\370\321((\370"
|
||||
"\321((\370\322,,\370\301%%\371\30\5\5\313\32\6\6\344\327//\367\327//"
|
||||
"\367\327//\367\327//\367\327//\367\327//\367\327//\367\327//\367\327"
|
||||
"//\367\327//\367\327//\367\327//\367\32\6\6\344\32\6\6\344\33566\366"
|
||||
"\33566\366\33566\366\33566\366\33566\366\33566\366\33566\366\33566\366"
|
||||
"\33566\366\33566\366\33566\366\33566\366\32\6\6\344\31\7\7\313\32177"
|
||||
"\366\343<<\365\343<<\365\343<<\365\343<<\365\343<<\365\343<<\365\343"
|
||||
"<<\365\343<<\365\343<<\365\343<<\365\32177\366\31\7\7\313\24\6\6\205"
|
||||
"\223**\363\351CC\364\351CC\364\351CC\364\351CC\364\351CC\364\351CC\364"
|
||||
"\351CC\364\351CC\364\351CC\364\351CC\364\223**\363\24\6\6\205\0\0\0\15"
|
||||
"\32\10\10\341\334DD\364\357JJ\363\357JJ\363\357JJ\363\357JJ\363\357J"
|
||||
"J\363\357JJ\363\357JJ\363\357JJ\363\334DD\364\32\10\10\341\0\0\0\15\377"
|
||||
"\377\377\0\10\2\2G5\21\21\353\342KK\362\365QQ\361\365QQ\361\365QQ\361"
|
||||
"\365QQ\361\365QQ\361\365QQ\361\342KK\3625\21\21\353\10\2\2G\377\377\377"
|
||||
"\0\377\377\377\0\377\377\377\0\10\3\3G\33\11\11\341\23566\361\347PP\361"
|
||||
"\373WW\360\373WW\360\347PP\361\23566\361\33\11\11\341\10\3\3G\377\377"
|
||||
"\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\0\0\0"
|
||||
"\15\26\10\10\205\34\12\12\312\36\13\13\343\36\13\13\343\34\12\12\312"
|
||||
"\26\10\10\205\0\0\0\15\377\377\377\0\377\377\377\0\377\377\377\0"};
|
||||
|
||||
|
||||
/* GdkPixbuf RGBA C-Source image dump */
|
||||
|
||||
#ifdef __SUNPRO_C
|
||||
#pragma align 4 (expert_none_pb_data)
|
||||
#endif
|
||||
#ifdef __GNUC__
|
||||
static const guint8 expert_none_pb_data[] __attribute__ ((__aligned__ (4))) =
|
||||
#else
|
||||
static const guint8 expert_none_pb_data[] =
|
||||
#endif
|
||||
{ ""
|
||||
/* Pixbuf magic (0x47646b50) */
|
||||
"GdkP"
|
||||
/* length: header (24) + pixel_data (784) */
|
||||
"\0\0\3("
|
||||
/* pixdata_type (0x1010002) */
|
||||
"\1\1\0\2"
|
||||
/* rowstride (56) */
|
||||
"\0\0\0""8"
|
||||
/* width (14) */
|
||||
"\0\0\0\16"
|
||||
/* height (14) */
|
||||
"\0\0\0\16"
|
||||
/* pixel_data: */
|
||||
"\377\377\377\0\377\377\377\0\377\377\377\0\0\0\0\15\17\17\17\206\24\24"
|
||||
"\24\314\25\25\25\345\26\26\26\345\24\24\24\314\17\17\17\206\0\0\0\15"
|
||||
"\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377"
|
||||
"\0\5\5\5G\32\32\32\344\235\235\235\374\315\315\315\377\337\337\337\377"
|
||||
"\340\340\340\377\315\315\315\377\233\233\233\373\33\33\33\344\5\5\5G"
|
||||
"\377\377\377\0\377\377\377\0\377\377\377\0\6\6\6G555\357\314\314\314"
|
||||
"\377\334\334\334\377\334\334\334\377\334\334\334\377\334\334\334\377"
|
||||
"\334\334\334\377\334\334\334\377\314\314\314\377555\357\6\6\6G\377\377"
|
||||
"\377\0\0\0\0\15\25\25\25\343\300\300\300\377\324\324\324\377\324\324"
|
||||
"\324\377\324\324\324\377\324\324\324\377\324\324\324\377\324\324\324"
|
||||
"\377\324\324\324\377\324\324\324\377\306\306\306\377\25\25\25\343\0\0"
|
||||
"\0\15\21\21\21\206www\372\313\313\313\377\316\316\316\377\316\316\316"
|
||||
"\377\316\316\316\377\316\316\316\377\316\316\316\377\316\316\316\377"
|
||||
"\314\314\314\377\314\314\314\377\316\316\316\377~~~\372\21\21\21\206"
|
||||
"\26\26\26\314\256\256\256\377\274\274\274\377\276\276\276\377\300\300"
|
||||
"\300\377\301\301\301\377\301\301\301\377\301\301\301\377\276\276\276"
|
||||
"\377\274\274\274\377\274\274\274\377\275\275\275\377\256\256\256\377"
|
||||
"\26\26\26\314\27\27\27\345\277\277\277\377\277\277\277\377\277\277\277"
|
||||
"\377\277\277\277\377\277\277\277\377\277\277\277\377\277\277\277\377"
|
||||
"\277\277\277\377\277\277\277\377\277\277\277\377\277\277\277\377\277"
|
||||
"\277\277\377\27\27\27\345\30\30\30\345\302\302\302\377\302\302\302\377"
|
||||
"\302\302\302\377\302\302\302\377\302\302\302\377\302\302\302\377\302"
|
||||
"\302\302\377\302\302\302\377\302\302\302\377\302\302\302\377\302\302"
|
||||
"\302\377\302\302\302\377\30\30\30\345\27\27\27\314\266\266\266\377\305"
|
||||
"\305\305\377\305\305\305\377\305\305\305\377\305\305\305\377\305\305"
|
||||
"\305\377\305\305\305\377\305\305\305\377\305\305\305\377\305\305\305"
|
||||
"\377\305\305\305\377\266\266\266\377\27\27\27\314\22\22\22\206\200\200"
|
||||
"\200\372\310\310\310\377\310\310\310\377\310\310\310\377\310\310\310"
|
||||
"\377\310\310\310\377\310\310\310\377\310\310\310\377\310\310\310\377"
|
||||
"\310\310\310\377\310\310\310\377\200\200\200\372\22\22\22\206\0\0\0\15"
|
||||
"\27\27\27\343\274\274\274\377\313\313\313\377\313\313\313\377\313\313"
|
||||
"\313\377\313\313\313\377\313\313\313\377\313\313\313\377\313\313\313"
|
||||
"\377\313\313\313\377\274\274\274\377\27\27\27\343\0\0\0\15\377\377\377"
|
||||
"\0\6\6\6G///\356\277\277\277\377\316\316\316\377\316\316\316\377\316"
|
||||
"\316\316\377\316\316\316\377\316\316\316\377\316\316\316\377\277\277"
|
||||
"\277\377///\356\6\6\6G\377\377\377\0\377\377\377\0\377\377\377\0\6\6"
|
||||
"\6G\30\30\30\343\206\206\206\372\301\301\301\377\321\321\321\377\321"
|
||||
"\321\321\377\301\301\301\377\206\206\206\372\30\30\30\343\6\6\6G\377"
|
||||
"\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\0"
|
||||
"\0\0\15\23\23\23\206\30\30\30\314\32\32\32\345\32\32\32\345\30\30\30"
|
||||
"\314\23\23\23\206\0\0\0\15\377\377\377\0\377\377\377\0\377\377\377\0"};
|
||||
|
||||
|
||||
/* GdkPixbuf RGBA C-Source image dump */
|
||||
|
||||
#ifdef __SUNPRO_C
|
||||
#pragma align 4 (expert_note_pb_data)
|
||||
#endif
|
||||
#ifdef __GNUC__
|
||||
static const guint8 expert_note_pb_data[] __attribute__ ((__aligned__ (4))) =
|
||||
#else
|
||||
static const guint8 expert_note_pb_data[] =
|
||||
#endif
|
||||
{ ""
|
||||
/* Pixbuf magic (0x47646b50) */
|
||||
"GdkP"
|
||||
/* length: header (24) + pixel_data (784) */
|
||||
"\0\0\3("
|
||||
/* pixdata_type (0x1010002) */
|
||||
"\1\1\0\2"
|
||||
/* rowstride (56) */
|
||||
"\0\0\0""8"
|
||||
/* width (14) */
|
||||
"\0\0\0\16"
|
||||
/* height (14) */
|
||||
"\0\0\0\16"
|
||||
/* pixel_data: */
|
||||
"\377\377\377\0\377\377\377\0\377\377\377\0\0\0\0\15\1\16\20\206\1\22"
|
||||
"\25\314\1\23\26\345\2\24\27\345\1\22\25\314\1\16\20\206\0\0\0\15\377"
|
||||
"\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\1"
|
||||
"\5\6G\11\30\33\344Z\226\242\374\200\305\323\377\241\330\344\377\244\332"
|
||||
"\345\377\200\305\323\377V\224\240\373\12\31\33\344\1\5\6G\377\377\377"
|
||||
"\0\377\377\377\0\377\377\377\0\1\5\6G\27""39\357\200\307\324\377\231"
|
||||
"\327\343\377\230\327\343\377\230\327\343\377\230\327\343\377\230\327"
|
||||
"\343\377\230\327\343\377\177\306\324\377\27""39\357\1\5\6G\377\377\377"
|
||||
"\0\0\0\0\15\5\24\27\343e\275\314\377\205\322\336\377\205\322\336\377"
|
||||
"\205\322\336\377\205\322\336\377\205\322\336\377\205\322\336\377\205"
|
||||
"\322\336\377\205\322\336\377s\303\320\377\5\24\27\343\0\0\0\15\5\21\22"
|
||||
"\206%w\203\372m\313\332\377u\316\334\377u\316\334\377u\316\334\377u\316"
|
||||
"\334\377u\316\334\377u\316\334\377p\314\333\377n\314\332\377u\316\334"
|
||||
"\3770~\211\372\5\21\22\206\10\26\30\314A\263\303\377F\301\323\377K\303"
|
||||
"\324\377R\305\326\377S\305\326\377S\305\326\377R\305\326\377M\303\325"
|
||||
"\377F\301\323\377F\301\323\377I\302\324\377A\263\303\377\10\26\30\314"
|
||||
"\12\31\33\345Q\311\331\377Q\311\331\377Q\311\331\377Q\311\331\377Q\311"
|
||||
"\331\377Q\311\331\377Q\311\331\377Q\311\331\377Q\311\331\377Q\311\331"
|
||||
"\377Q\311\331\377Q\311\331\377\12\31\33\345\13\32\33\345]\321\336\377"
|
||||
"]\321\336\377]\321\336\377]\321\336\377]\321\336\377]\321\336\377]\321"
|
||||
"\336\377]\321\336\377]\321\336\377]\321\336\377]\321\336\377]\321\336"
|
||||
"\377\13\32\33\345\14\31\32\314a\311\323\377i\331\344\377i\331\344\377"
|
||||
"i\331\344\377i\331\344\377i\331\344\377i\331\344\377i\331\344\377i\331"
|
||||
"\344\377i\331\344\377i\331\344\377a\311\323\377\14\31\32\314\12\24\25"
|
||||
"\206K\220\226\372u\341\352\377u\341\352\377u\341\352\377u\341\352\377"
|
||||
"u\341\352\377u\341\352\377u\341\352\377u\341\352\377u\341\352\377u\341"
|
||||
"\352\377K\220\226\372\12\24\25\206\0\0\0\15\17\32\33\343w\330\336\377"
|
||||
"\201\351\360\377\201\351\360\377\201\351\360\377\201\351\360\377\201"
|
||||
"\351\360\377\201\351\360\377\201\351\360\377\201\351\360\377w\330\336"
|
||||
"\377\17\32\33\343\0\0\0\15\377\377\377\0\4\7\10G\40""77\356\202\340\343"
|
||||
"\377\215\362\365\377\215\362\365\377\215\362\365\377\215\362\365\377"
|
||||
"\215\362\365\377\215\362\365\377\202\340\343\377\40""77\356\4\7\10G\377"
|
||||
"\377\377\0\377\377\377\0\377\377\377\0\5\10\10G\21\34\34\343a\240\241"
|
||||
"\372\215\347\350\377\230\372\373\377\230\372\373\377\215\347\350\377"
|
||||
"a\240\241\372\21\34\34\343\5\10\10G\377\377\377\0\377\377\377\0\377\377"
|
||||
"\377\0\377\377\377\0\377\377\377\0\0\0\0\15\16\27\27\206\22\35\35\314"
|
||||
"\24\37\37\345\24\37\37\345\22\35\35\314\16\27\27\206\0\0\0\15\377\377"
|
||||
"\377\0\377\377\377\0\377\377\377\0"};
|
||||
|
||||
|
||||
/* GdkPixbuf RGBA C-Source image dump */
|
||||
|
||||
#ifdef __SUNPRO_C
|
||||
#pragma align 4 (expert_warn_pb_data)
|
||||
#endif
|
||||
#ifdef __GNUC__
|
||||
static const guint8 expert_warn_pb_data[] __attribute__ ((__aligned__ (4))) =
|
||||
#else
|
||||
static const guint8 expert_warn_pb_data[] =
|
||||
#endif
|
||||
{ ""
|
||||
/* Pixbuf magic (0x47646b50) */
|
||||
"GdkP"
|
||||
/* length: header (24) + pixel_data (784) */
|
||||
"\0\0\3("
|
||||
/* pixdata_type (0x1010002) */
|
||||
"\1\1\0\2"
|
||||
/* rowstride (56) */
|
||||
"\0\0\0""8"
|
||||
/* width (14) */
|
||||
"\0\0\0\16"
|
||||
/* height (14) */
|
||||
"\0\0\0\16"
|
||||
/* pixel_data: */
|
||||
"\377\377\377\0\377\377\377\0\377\377\377\0\0\0\0\15\21\21\1\206\26\26"
|
||||
"\1\314\27\30\1\345\30\31\2\345\26\26\1\314\21\21\1\206\0\0\0\15\377\377"
|
||||
"\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\6\6\0"
|
||||
"G\34\34\10\344\245\246V\374\326\327}\377\346\347\236\377\347\350\241"
|
||||
"\377\326\327}\377\243\244S\373\34\34\11\344\6\6\0G\377\377\377\0\377"
|
||||
"\377\377\0\377\377\377\0\6\6\1G::\24\357\327\327y\377\345\346\223\377"
|
||||
"\345\345\222\377\345\345\222\377\345\345\222\377\345\345\222\377\345"
|
||||
"\345\222\377\326\327y\377::\24\357\6\6\1G\377\377\377\0\0\0\0\15\27\27"
|
||||
"\3\343\316\317X\377\341\341z\377\341\341z\377\341\341z\377\341\341z\377"
|
||||
"\341\341z\377\341\341z\377\341\341z\377\341\341z\377\323\323g\377\27"
|
||||
"\27\3\343\0\0\0\15\23\23\3\206\205\205\25\372\334\334Z\377\336\336c\377"
|
||||
"\336\336c\377\336\336c\377\336\336c\377\336\336c\377\336\336c\377\335"
|
||||
"\335^\377\334\334\\\377\336\336c\377\213\213!\372\23\23\3\206\31\31\5"
|
||||
"\314\304\304$\377\324\324'\377\325\325,\377\327\3275\377\327\3276\377"
|
||||
"\327\3276\377\327\3276\377\326\326/\377\324\324'\377\324\324'\377\325"
|
||||
"\325+\377\304\304$\377\31\31\5\314\33\32\6\345\331\327-\377\331\327-"
|
||||
"\377\331\327-\377\331\327-\377\331\327-\377\331\327-\377\331\327-\377"
|
||||
"\331\327-\377\331\327-\377\331\327-\377\331\327-\377\331\327-\377\33"
|
||||
"\32\6\345\33\33\6\345\335\3332\377\335\3332\377\335\3332\377\335\333"
|
||||
"2\377\335\3332\377\335\3332\377\335\3332\377\335\3332\377\335\3332\377"
|
||||
"\335\3332\377\335\3332\377\335\3332\377\33\33\6\345\32\32\6\314\321\316"
|
||||
"4\377\342\3378\377\342\3378\377\342\3378\377\342\3378\377\342\3378\377"
|
||||
"\342\3378\377\342\3378\377\342\3378\377\342\3378\377\342\3378\377\321"
|
||||
"\3164\377\32\32\6\314\25\24\6\206\223\221(\372\346\343>\377\346\343>"
|
||||
"\377\346\343>\377\346\343>\377\346\343>\377\346\343>\377\346\343>\377"
|
||||
"\346\343>\377\346\343>\377\346\343>\377\223\221(\372\25\24\6\206\0\0"
|
||||
"\0\15\33\32\10\343\331\326\77\377\353\347D\377\353\347D\377\353\347D"
|
||||
"\377\353\347D\377\353\347D\377\353\347D\377\353\347D\377\353\347D\377"
|
||||
"\331\326\77\377\33\32\10\343\0\0\0\15\377\377\377\0\7\7\2G65\21\356\335"
|
||||
"\331D\377\357\353I\377\357\353I\377\357\353I\377\357\353I\377\357\353"
|
||||
"I\377\357\353I\377\335\331D\37765\21\356\7\7\2G\377\377\377\0\377\377"
|
||||
"\377\0\377\377\377\0\10\7\2G\34\33\11\343\234\2313\372\342\335I\377\364"
|
||||
"\357O\377\364\357O\377\342\335I\377\234\2313\372\34\33\11\343\10\7\2"
|
||||
"G\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377"
|
||||
"\0\0\0\0\15\26\26\7\206\35\34\12\314\36\36\12\345\36\36\12\345\35\34"
|
||||
"\12\314\26\26\7\206\0\0\0\15\377\377\377\0\377\377\377\0\377\377\377"
|
||||
"\0"};
|
||||
|
||||
|
||||
/* GdkPixbuf RGBA C-Source image dump */
|
||||
|
||||
#ifdef __SUNPRO_C
|
||||
#pragma align 4 (expert_ok_pb_data)
|
||||
#endif
|
||||
#ifdef __GNUC__
|
||||
static const guint8 expert_ok_pb_data[] __attribute__ ((__aligned__ (4))) =
|
||||
#else
|
||||
static const guint8 expert_ok_pb_data[] =
|
||||
#endif
|
||||
{ ""
|
||||
/* Pixbuf magic (0x47646b50) */
|
||||
"GdkP"
|
||||
/* length: header (24) + pixel_data (784) */
|
||||
"\0\0\3("
|
||||
/* pixdata_type (0x1010002) */
|
||||
"\1\1\0\2"
|
||||
/* rowstride (56) */
|
||||
"\0\0\0""8"
|
||||
/* width (14) */
|
||||
"\0\0\0\16"
|
||||
/* height (14) */
|
||||
"\0\0\0\16"
|
||||
/* pixel_data: */
|
||||
"\377\377\377\0\377\377\377\0\377\377\377\0\0\0\0\15\1\16\20\206\1\22"
|
||||
"\25\314\1\23\26\345\2\24\27\345\1\22\25\314\1\16\20\206\0\0\0\15\377"
|
||||
"\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\1"
|
||||
"\5\6G\11\30\33\344[\243\221\377\201\324\277\377\241\343\322\377\241\343"
|
||||
"\322\377\201\324\277\377[\243\221\377\12\31\33\344\1\5\6G\377\377\377"
|
||||
"\0\377\377\377\0\377\377\377\0\1\5\6G\27""39\357\201\324\277\377\241"
|
||||
"\343\322\377\241\343\322\377\241\343\322\377\241\343\322\377\241\343"
|
||||
"\322\377\241\343\322\377\201\324\277\377\27""39\357\1\5\6G\377\377\377"
|
||||
"\0\0\0\0\15\5\24\27\343\201\324\277\377\205\336\310\377\205\336\310\377"
|
||||
"\205\336\310\377\205\336\310\377\205\336\310\377\205\336\310\377\205"
|
||||
"\336\310\377\205\336\310\377\201\324\277\377\5\24\27\343\0\0\0\15\5\21"
|
||||
"\22\206[\243\221\377l\331\276\377l\331\276\377l\331\276\377l\331\276"
|
||||
"\377l\331\276\377l\331\276\377l\331\276\377l\331\276\377l\331\276\377"
|
||||
"l\331\276\377[\243\221\377\5\21\22\206\10\26\30\314\201\324\277\377F"
|
||||
"\324\260\377F\324\260\377F\324\260\377F\324\260\377F\324\260\377F\324"
|
||||
"\260\377F\324\260\377F\324\260\377F\324\260\377F\324\260\377\201\324"
|
||||
"\277\377\10\26\30\314\12\31\33\345P\331\267\377P\331\267\377P\331\267"
|
||||
"\377P\331\267\377P\331\267\377P\331\267\377P\331\267\377P\331\267\377"
|
||||
"P\331\267\377P\331\267\377P\331\267\377P\331\267\377\12\31\33\345\13"
|
||||
"\32\33\345]\336\276\377]\336\276\377]\336\276\377]\336\276\377]\336\276"
|
||||
"\377]\336\276\377]\336\276\377]\336\276\377]\336\276\377]\336\276\377"
|
||||
"]\336\276\377]\336\276\377\13\32\33\345\14\31\32\314\201\324\277\377"
|
||||
"h\343\304\377h\343\304\377h\343\304\377h\343\304\377h\343\304\377h\343"
|
||||
"\304\377h\343\304\377h\343\304\377h\343\304\377h\343\304\377\201\324"
|
||||
"\277\377\14\31\32\314\12\24\25\206[\243\221\377u\353\315\377u\353\315"
|
||||
"\377u\353\315\377u\353\315\377u\353\315\377u\353\315\377u\353\315\377"
|
||||
"u\353\315\377u\353\315\377u\353\315\377[\243\221\377\12\24\25\206\0\0"
|
||||
"\0\15\17\32\33\343\201\324\277\377\201\360\324\377\201\360\324\377\201"
|
||||
"\360\324\377\201\360\324\377\201\360\324\377\201\360\324\377\201\360"
|
||||
"\324\377\201\360\324\377\201\324\277\377\17\32\33\343\0\0\0\15\377\377"
|
||||
"\377\0\4\7\10G\40""77\356\201\324\277\377\216\365\333\377\216\365\333"
|
||||
"\377\216\365\333\377\216\365\333\377\216\365\333\377\216\365\333\377"
|
||||
"\201\324\277\377\40""77\356\4\7\10G[\243\221\0\377\377\377\0\377\377"
|
||||
"\377\0\5\10\10G\21\34\34\343[\243\221\377\216\350\321\377\230\372\342"
|
||||
"\377\230\372\342\377\216\350\321\377[\243\221\377\21\34\34\343\5\10\10"
|
||||
"G\201\324\277\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377"
|
||||
"\0\0\0\0\15\16\27\27\206\22\35\35\314\24\37\37\345\24\37\37\345\22\35"
|
||||
"\35\314\16\27\27\206\0\0\0\15\201\324\277\0\377\377\377\0\377\377\377"
|
||||
"\0"};
|
||||
|
||||
|
|
@ -50,10 +50,10 @@
|
|||
#include "ui/gtk/gui_utils.h"
|
||||
#include "ui/gtk/font_utils.h"
|
||||
#include "ui/gtk/color_utils.h"
|
||||
|
||||
#include "ui/gtk/old-gtk-compat.h"
|
||||
|
||||
#include "ui/gtk/wsicon.h"
|
||||
#ifndef HAVE_GRESOURCE
|
||||
#include "ui/gtk/pixbuf-csource.h"
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <windows.h>
|
||||
|
@ -110,16 +110,23 @@ window_icon_realize_cb(GtkWidget *win,
|
|||
{
|
||||
#ifndef _WIN32
|
||||
GList *ws_icon_list = NULL;
|
||||
GdkPixbuf *icon;
|
||||
GdkPixbuf *icon16, *icon32, *icon48, *icon64;
|
||||
|
||||
icon = gdk_pixbuf_new_from_inline(-1, wsicon_16_pb_data, FALSE, NULL);
|
||||
ws_icon_list = g_list_append(ws_icon_list, icon);
|
||||
icon = gdk_pixbuf_new_from_inline(-1, wsicon_32_pb_data, FALSE, NULL);
|
||||
ws_icon_list = g_list_append(ws_icon_list, icon);
|
||||
icon = gdk_pixbuf_new_from_inline(-1, wsicon_48_pb_data, FALSE, NULL);
|
||||
ws_icon_list = g_list_append(ws_icon_list, icon);
|
||||
icon = gdk_pixbuf_new_from_inline(-1, wsicon_64_pb_data, FALSE, NULL);
|
||||
ws_icon_list = g_list_append(ws_icon_list, icon);
|
||||
#ifdef HAVE_GRESOURCE
|
||||
icon16 = ws_gdk_pixbuf_new_from_resource("/org/wireshark/image/wsicon16.png");
|
||||
icon32 = ws_gdk_pixbuf_new_from_resource("/org/wireshark/image/wsicon32.png");
|
||||
icon48 = ws_gdk_pixbuf_new_from_resource("/org/wireshark/image/wsicon48.png");
|
||||
icon64 = ws_gdk_pixbuf_new_from_resource("/org/wireshark/image/wsicon64.png");
|
||||
#else
|
||||
icon16 = gdk_pixbuf_new_from_inline(-1, wsicon_16_pb_data, FALSE, NULL);
|
||||
icon32 = gdk_pixbuf_new_from_inline(-1, wsicon_32_pb_data, FALSE, NULL);
|
||||
icon48 = gdk_pixbuf_new_from_inline(-1, wsicon_48_pb_data, FALSE, NULL);
|
||||
icon64 = gdk_pixbuf_new_from_inline(-1, wsicon_64_pb_data, FALSE, NULL);
|
||||
#endif
|
||||
ws_icon_list = g_list_append(ws_icon_list, icon16);
|
||||
ws_icon_list = g_list_append(ws_icon_list, icon32);
|
||||
ws_icon_list = g_list_append(ws_icon_list, icon48);
|
||||
ws_icon_list = g_list_append(ws_icon_list, icon64);
|
||||
|
||||
gtk_window_set_icon_list(GTK_WINDOW(win), ws_icon_list);
|
||||
|
||||
|
@ -515,13 +522,20 @@ xpm_to_widget(const char **xpm) {
|
|||
return _gtk_image_new_from_pixbuf_unref(pixbuf);
|
||||
}
|
||||
|
||||
/* Convert an pixbuf data to a GtkWidget */
|
||||
/* Data should be created with "gdk-pixbuf-csource --raw" */
|
||||
/* Convert an pixbuf GResource to a GtkWidget */
|
||||
GtkWidget *
|
||||
#ifdef HAVE_GRESOURCE
|
||||
pixbuf_to_widget(const char *pb_path) {
|
||||
#else
|
||||
pixbuf_to_widget(const guint8 *pb_data) {
|
||||
#endif
|
||||
GdkPixbuf *pixbuf;
|
||||
|
||||
#ifdef HAVE_GRESOURCE
|
||||
pixbuf = ws_gdk_pixbuf_new_from_resource(pb_path);
|
||||
#else
|
||||
pixbuf = gdk_pixbuf_new_from_inline(-1, pb_data, FALSE, NULL);
|
||||
#endif
|
||||
return _gtk_image_new_from_pixbuf_unref(pixbuf);
|
||||
}
|
||||
|
||||
|
@ -2035,6 +2049,19 @@ gdk_cairo_set_source_rgba(cairo_t *cr, const GdkRGBA *rgba)
|
|||
}
|
||||
#endif /* GTK_CHECK_VERSION(3,0,0) */
|
||||
|
||||
#ifdef HAVE_GRESOURCE
|
||||
GdkPixbuf *
|
||||
ws_gdk_pixbuf_new_from_resource(const char *path)
|
||||
{
|
||||
GdkPixbuf *pixbuf;
|
||||
GError *err = NULL;
|
||||
|
||||
pixbuf = gdk_pixbuf_new_from_resource(path, &err);
|
||||
g_assert_no_error(err);
|
||||
return pixbuf;
|
||||
}
|
||||
#endif /* HAVE_GRESOURCE */
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
|
|
|
@ -277,12 +277,26 @@ extern GtkWidget *xpm_to_widget(const char ** xpm);
|
|||
extern GtkWidget *xpm_to_widget_from_parent(GtkWidget *parent, const char ** xpm);
|
||||
#endif
|
||||
|
||||
/** Convert an pixbuf data to a GtkWidget
|
||||
#ifdef HAVE_GRESOURCE
|
||||
/** Convert pixbuf data to a GtkWidget
|
||||
*
|
||||
* @param pb_data Inline pixbuf data. This should be created with "gdk-pixbuf-csource --raw"
|
||||
* @param pb_path GResource pixbuf path.
|
||||
*/
|
||||
extern GtkWidget *pixbuf_to_widget(const char *pb_path);
|
||||
|
||||
#define PIXBUF_TO_WIDGET(pb, path) \
|
||||
pixbuf_to_widget(path)
|
||||
#else
|
||||
/** Convert an pixbuf data to a GtkWidget
|
||||
*
|
||||
* @param pb_data Inline pixbuf data. This should be created with "gdk-pixbuf-csource --raw"
|
||||
*/
|
||||
extern GtkWidget *pixbuf_to_widget(const guint8 * pb_data);
|
||||
|
||||
#define PIXBUF_TO_WIDGET(pb, path) \
|
||||
pixbuf_to_widget(pb)
|
||||
#endif /* HAVE_GRESOURCE */
|
||||
|
||||
/** Copy a GString to the clipboard.
|
||||
*
|
||||
* @param str GString that is to be copied to the clipboard.
|
||||
|
@ -515,6 +529,16 @@ void ws_combo_box_set_active(GtkComboBox *combo_box, gint idx);
|
|||
void
|
||||
ws_combo_box_set_active_iter(GtkComboBox *combo_box, GtkTreeIter *iter);
|
||||
|
||||
#ifdef HAVE_GRESOURCE
|
||||
/**
|
||||
* ws_gdk_pixbuf_new_from_resource:
|
||||
* @param path A GResource path
|
||||
* @return The GdkPixbuf object
|
||||
*/
|
||||
GdkPixbuf *
|
||||
ws_gdk_pixbuf_new_from_resource(const char *path);
|
||||
#endif /* HAVE_GRESOURCE */
|
||||
|
||||
#if GTK_CHECK_VERSION(2,22,0)
|
||||
#if !GTK_CHECK_VERSION(3,0,0)
|
||||
GdkPixbuf *gdk_pixbuf_get_from_surface (cairo_surface_t *surface,
|
||||
|
@ -652,7 +676,6 @@ extern void ws_gtk_grid_set_homogeneous(GtkGrid *grid, gboolean homogeneous);
|
|||
#define ws_gtk_grid_set_column_spacing(grid, spacing) \
|
||||
gtk_grid_set_column_spacing(grid, spacing)
|
||||
|
||||
|
||||
#endif /* GTK_CHECK_VERSION(3,0,0) */
|
||||
|
||||
|
||||
|
|
2948
ui/gtk/layouts.h
2948
ui/gtk/layouts.h
File diff suppressed because it is too large
Load Diff
137
ui/gtk/main.c
137
ui/gtk/main.c
|
@ -193,14 +193,14 @@
|
|||
#include "ui/gtk/response_time_delay_table.h"
|
||||
#include "ui/gtk/simple_stattable.h"
|
||||
#include "simple_dialog.h"
|
||||
#ifdef HAVE_GRESOURCE
|
||||
#include "wireshark-gresources.h"
|
||||
#else
|
||||
#include "ui/gtk/pixbuf-csource.h"
|
||||
#endif
|
||||
|
||||
#include "ui/gtk/old-gtk-compat.h"
|
||||
|
||||
#ifdef HAVE_LIBPCAP
|
||||
#include "wsicon.h"
|
||||
#include "wsiconcap.h"
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_AIRPCAP
|
||||
#include <caputils/airpcap.h>
|
||||
#include <caputils/airpcap_loader.h>
|
||||
|
@ -1474,41 +1474,52 @@ main_cf_cb_file_rescan_finished(capture_file *cf)
|
|||
|
||||
#ifdef HAVE_LIBPCAP
|
||||
static GList *icon_list_create(
|
||||
#ifdef HAVE_GRESOURCE
|
||||
const gchar *icon16_path,
|
||||
const gchar *icon32_path,
|
||||
const gchar *icon48_path,
|
||||
const gchar *icon64_path)
|
||||
#else
|
||||
const guint8 *icon16_pb,
|
||||
const guint8 *icon32_pb,
|
||||
const guint8 *icon48_pb,
|
||||
const guint8 *icon64_pb)
|
||||
#endif
|
||||
{
|
||||
GList *icon_list = NULL;
|
||||
GdkPixbuf * pixbuf16;
|
||||
GdkPixbuf * pixbuf32;
|
||||
GdkPixbuf * pixbuf48;
|
||||
GdkPixbuf * pixbuf64;
|
||||
GdkPixbuf *pixbuf16 = NULL;
|
||||
GdkPixbuf *pixbuf32 = NULL;
|
||||
GdkPixbuf *pixbuf48 = NULL;
|
||||
GdkPixbuf *pixbuf64 = NULL;
|
||||
|
||||
|
||||
if(icon16_pb != NULL) {
|
||||
#ifdef HAVE_GRESOURCE
|
||||
if (icon16_path != NULL)
|
||||
pixbuf16 = ws_gdk_pixbuf_new_from_resource(icon16_path);
|
||||
if (icon32_path != NULL)
|
||||
pixbuf32 = ws_gdk_pixbuf_new_from_resource(icon32_path);
|
||||
if (icon48_path != NULL)
|
||||
pixbuf48 = ws_gdk_pixbuf_new_from_resource(icon48_path);
|
||||
if (icon64_path != NULL)
|
||||
pixbuf64 = ws_gdk_pixbuf_new_from_resource(icon64_path);
|
||||
#else
|
||||
if (icon16_pb != NULL)
|
||||
pixbuf16 = gdk_pixbuf_new_from_inline(-1, icon16_pb, FALSE, NULL);
|
||||
g_assert(pixbuf16);
|
||||
icon_list = g_list_append(icon_list, pixbuf16);
|
||||
}
|
||||
|
||||
if(icon32_pb != NULL) {
|
||||
if (icon32_pb != NULL)
|
||||
pixbuf32 = gdk_pixbuf_new_from_inline(-1, icon32_pb, FALSE, NULL);
|
||||
g_assert(pixbuf32);
|
||||
icon_list = g_list_append(icon_list, pixbuf32);
|
||||
}
|
||||
|
||||
if(icon48_pb != NULL) {
|
||||
if (icon48_pb != NULL)
|
||||
pixbuf48 = gdk_pixbuf_new_from_inline(-1, icon48_pb, FALSE, NULL);
|
||||
g_assert(pixbuf48);
|
||||
icon_list = g_list_append(icon_list, pixbuf48);
|
||||
}
|
||||
|
||||
if(icon64_pb != NULL) {
|
||||
if (icon64_pb != NULL)
|
||||
pixbuf64 = gdk_pixbuf_new_from_inline(-1, icon64_pb, FALSE, NULL);
|
||||
g_assert(pixbuf64);
|
||||
#endif
|
||||
|
||||
if (pixbuf16 != NULL)
|
||||
icon_list = g_list_append(icon_list, pixbuf16);
|
||||
if (pixbuf32 != NULL)
|
||||
icon_list = g_list_append(icon_list, pixbuf32);
|
||||
if (pixbuf48 != NULL)
|
||||
icon_list = g_list_append(icon_list, pixbuf48);
|
||||
if (pixbuf64 != NULL)
|
||||
icon_list = g_list_append(icon_list, pixbuf64);
|
||||
}
|
||||
|
||||
return icon_list;
|
||||
}
|
||||
|
@ -1521,7 +1532,17 @@ main_capture_cb_capture_prepared(capture_session *cap_session)
|
|||
set_titlebar_for_capture_in_progress((capture_file *)cap_session->cf);
|
||||
|
||||
if(icon_list == NULL) {
|
||||
icon_list = icon_list_create(wsiconcap_16_pb_data, wsiconcap_32_pb_data, wsiconcap_48_pb_data, wsiconcap_64_pb_data);
|
||||
#ifdef HAVE_GRESOURCE
|
||||
icon_list = icon_list_create("/org/wireshark/image/wsiconcap16.png",
|
||||
"/org/wireshark/image/wsiconcap32.png",
|
||||
"/org/wireshark/image/wsiconcap48.png",
|
||||
"/org/wireshark/image/wsiconcap64.png");
|
||||
#else
|
||||
icon_list = icon_list_create(wsiconcap_16_pb_data,
|
||||
wsiconcap_32_pb_data,
|
||||
wsiconcap_48_pb_data,
|
||||
wsiconcap_64_pb_data);
|
||||
#endif
|
||||
}
|
||||
gtk_window_set_icon_list(GTK_WINDOW(top_level), icon_list);
|
||||
|
||||
|
@ -1581,7 +1602,17 @@ main_capture_cb_capture_update_finished(capture_session *cap_session)
|
|||
main_set_for_capture_file(TRUE);
|
||||
|
||||
if(icon_list == NULL) {
|
||||
icon_list = icon_list_create(wsicon_16_pb_data, wsicon_32_pb_data, wsicon_48_pb_data, wsicon_64_pb_data);
|
||||
#ifdef HAVE_GRESOURCE
|
||||
icon_list = icon_list_create("/org/wireshark/image/wsicon16.png",
|
||||
"/org/wireshark/image/wsicon32.png",
|
||||
"/org/wireshark/image/wsicon48.png",
|
||||
"/org/wireshark/image/wsicon64.png");
|
||||
#else
|
||||
icon_list = icon_list_create(wsicon_16_pb_data,
|
||||
wsicon_32_pb_data,
|
||||
wsicon_48_pb_data,
|
||||
wsicon_64_pb_data);
|
||||
#endif
|
||||
}
|
||||
gtk_window_set_icon_list(GTK_WINDOW(top_level), icon_list);
|
||||
|
||||
|
@ -1622,7 +1653,17 @@ main_capture_cb_capture_fixed_finished(capture_session *cap_session _U_)
|
|||
set_titlebar_for_capture_file(NULL);
|
||||
|
||||
if(icon_list == NULL) {
|
||||
icon_list = icon_list_create(wsicon_16_pb_data, wsicon_32_pb_data, wsicon_48_pb_data, wsicon_64_pb_data);
|
||||
#ifdef HAVE_GRESOURCE
|
||||
icon_list = icon_list_create("/org/wireshark/image/wsicon16.png",
|
||||
"/org/wireshark/image/wsicon32.png",
|
||||
"/org/wireshark/image/wsicon48.png",
|
||||
"/org/wireshark/image/wsicon64.png");
|
||||
#else
|
||||
icon_list = icon_list_create(wsicon_16_pb_data,
|
||||
wsicon_32_pb_data,
|
||||
wsicon_48_pb_data,
|
||||
wsicon_64_pb_data);
|
||||
#endif
|
||||
}
|
||||
gtk_window_set_icon_list(GTK_WINDOW(top_level), icon_list);
|
||||
|
||||
|
@ -1666,7 +1707,17 @@ main_capture_cb_capture_failed(capture_session *cap_session _U_)
|
|||
main_set_for_capture_file(FALSE);
|
||||
|
||||
if(icon_list == NULL) {
|
||||
icon_list = icon_list_create(wsicon_16_pb_data, wsicon_32_pb_data, wsicon_48_pb_data, wsicon_64_pb_data);
|
||||
#ifdef HAVE_GRESOURCE
|
||||
icon_list = icon_list_create("/org/wireshark/image/wsicon16.png",
|
||||
"/org/wireshark/image/wsicon32.png",
|
||||
"/org/wireshark/image/wsicon48.png",
|
||||
"/org/wireshark/image/wsicon64.png");
|
||||
#else
|
||||
icon_list = icon_list_create(wsicon_16_pb_data,
|
||||
wsicon_32_pb_data,
|
||||
wsicon_48_pb_data,
|
||||
wsicon_64_pb_data);
|
||||
#endif
|
||||
}
|
||||
gtk_window_set_icon_list(GTK_WINDOW(top_level), icon_list);
|
||||
|
||||
|
@ -1834,7 +1885,11 @@ main_capture_callback(gint event, capture_session *cap_session, gpointer user_da
|
|||
main_capture_cb_capture_update_started(cap_session);
|
||||
#ifdef HAVE_GTKOSXAPPLICATION
|
||||
theApp = (GtkosxApplication *)g_object_new(GTKOSX_TYPE_APPLICATION, NULL);
|
||||
gtkosx_application_set_dock_icon_pixbuf(theApp, gdk_pixbuf_new_from_inline(-1, wsiconcap_48_pb_data, FALSE, NULL));
|
||||
#ifdef HAVE_GRESOURCE
|
||||
gtkosx_application_set_dock_icon_pixbuf(theApp, ws_gdk_pixbuf_new_from_resource("/org/wireshark/image/wsicon48.png"));
|
||||
#else
|
||||
gtkosx_application_set_dock_icon_pixbuf(theApp, gdk_pixbuf_new_from_inline(-1, wsicon_48_pb_data, FALSE, NULL));
|
||||
#endif
|
||||
#endif
|
||||
break;
|
||||
case(capture_cb_capture_update_continue):
|
||||
|
@ -1861,7 +1916,11 @@ main_capture_callback(gint event, capture_session *cap_session, gpointer user_da
|
|||
* closes the capturing on its own! */
|
||||
#ifdef HAVE_GTKOSXAPPLICATION
|
||||
theApp = (GtkosxApplication *)g_object_new(GTKOSX_TYPE_APPLICATION, NULL);
|
||||
#ifdef HAVE_GRESOURCE
|
||||
gtkosx_application_set_dock_icon_pixbuf(theApp, ws_gdk_pixbuf_new_from_resource("/org/wireshark/image/wsicon64.png"));
|
||||
#else
|
||||
gtkosx_application_set_dock_icon_pixbuf(theApp, gdk_pixbuf_new_from_inline(-1, wsicon_64_pb_data, FALSE, NULL));
|
||||
#endif
|
||||
#endif
|
||||
main_capture_cb_capture_stopping(cap_session);
|
||||
break;
|
||||
|
@ -2185,6 +2244,10 @@ DIAG_OFF(cast-qual)
|
|||
DIAG_ON(cast-qual)
|
||||
static const char optstring[] = OPTSTRING;
|
||||
|
||||
#ifdef HAVE_GRESOURCE
|
||||
main_register_resource();
|
||||
#endif
|
||||
|
||||
cmdarg_err_init(wireshark_cmdarg_err, wireshark_cmdarg_err_cont);
|
||||
|
||||
/* Set the C-language locale to the native environment. */
|
||||
|
@ -3278,7 +3341,11 @@ DIAG_ON(cast-qual)
|
|||
|
||||
#ifdef HAVE_GTKOSXAPPLICATION
|
||||
theApp = (GtkosxApplication *)g_object_new(GTKOSX_TYPE_APPLICATION, NULL);
|
||||
#ifdef HAVE_GRESOURCE
|
||||
gtkosx_application_set_dock_icon_pixbuf(theApp, ws_gdk_pixbuf_new_from_resource("/org/wireshark/image/wsicon64.png"));
|
||||
#else
|
||||
gtkosx_application_set_dock_icon_pixbuf(theApp, gdk_pixbuf_new_from_inline(-1, wsicon_64_pb_data, FALSE, NULL));
|
||||
#endif
|
||||
gtkosx_application_ready(theApp);
|
||||
#endif
|
||||
|
||||
|
@ -3325,6 +3392,10 @@ DIAG_ON(cast-qual)
|
|||
destroy_console();
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_GRESOURCE
|
||||
main_unregister_resource();
|
||||
#endif
|
||||
|
||||
exit(0);
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1,65 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<gresources>
|
||||
<gresource prefix="/org/wireshark">
|
||||
<file>image/wsicon16.png</file>
|
||||
<file>image/wsicon24.png</file>
|
||||
<file>image/wsicon32.png</file>
|
||||
<file>image/wsicon48.png</file>
|
||||
<file>image/wsicon64.png</file>
|
||||
|
||||
<file>image/wsiconcap16.png</file>
|
||||
<file>image/wsiconcap24.png</file>
|
||||
<file>image/wsiconcap32.png</file>
|
||||
<file>image/wsiconcap48.png</file>
|
||||
<file>image/wsiconcap64.png</file>
|
||||
|
||||
<file>image/wssplash.png</file>
|
||||
<file>image/wssplash_dev.png</file>
|
||||
|
||||
<file>image/layout_1.png</file>
|
||||
<file>image/layout_2.png</file>
|
||||
<file>image/layout_3.png</file>
|
||||
<file>image/layout_4.png</file>
|
||||
<file>image/layout_5.png</file>
|
||||
<file>image/layout_6.png</file>
|
||||
|
||||
<file>image/capture_comment_add.png</file>
|
||||
<file>image/capture_comment_update.png</file>
|
||||
<file>image/capture_comment_disabled.png</file>
|
||||
|
||||
<file>image/toolbar/network_bluetooth_16.png</file>
|
||||
<file>image/toolbar/network_usb_16.png</file>
|
||||
<file>image/toolbar/network_wired_16.png</file>
|
||||
<file>image/toolbar/network_wireless_16.png</file>
|
||||
|
||||
<file>image/toolbar/remote_arrow_16.png</file>
|
||||
<file>image/toolbar/remote_globe_16.png</file>
|
||||
<file>image/toolbar/remote_sat_16.png</file>
|
||||
|
||||
<file>image/toolbar/pipe_16.png</file>
|
||||
|
||||
<file>image/toolbar/capture_interfaces_16.png</file>
|
||||
<file>image/toolbar/gnome_emblem_web_16.png</file>
|
||||
<file>image/toolbar/capture_interfaces_24.png</file>
|
||||
<file>image/toolbar/gnome_emblem_web_24.png</file>
|
||||
|
||||
<file>image/toolbar/14x14/x-expert-chat.png</file>
|
||||
<file>image/toolbar/14x14/x-expert-error.png</file>
|
||||
<file>image/toolbar/14x14/x-expert-none.png</file>
|
||||
<file>image/toolbar/14x14/x-expert-note.png</file>
|
||||
<file>image/toolbar/14x14/x-expert-warn.png</file>
|
||||
<file>image/expert_ok.png</file>
|
||||
|
||||
<file>image/toolbar/16x16/x-capture-file-save.png</file>
|
||||
<file>image/toolbar/16x16/x-capture-options.png</file>
|
||||
<file>image/toolbar/16x16/x-capture-restart.png</file>
|
||||
<file>image/toolbar/16x16/x-capture-start.png</file>
|
||||
<file>image/toolbar/16x16/x-capture-stop.png</file>
|
||||
|
||||
<file>image/toolbar/24x24/x-capture-file-save.png</file>
|
||||
<file>image/toolbar/24x24/x-capture-options.png</file>
|
||||
<file>image/toolbar/24x24/x-capture-restart.png</file>
|
||||
<file>image/toolbar/24x24/x-capture-start.png</file>
|
||||
<file>image/toolbar/24x24/x-capture-stop.png</file>
|
||||
</gresource>
|
||||
</gresources>
|
|
@ -57,9 +57,10 @@
|
|||
#include "ui/gtk/gtkglobals.h"
|
||||
#include "ui/gtk/expert_comp_dlg.h"
|
||||
#include "ui/gtk/stock_icons.h"
|
||||
#ifndef HAVE_GRESOURCE
|
||||
#include "ui/gtk/pixbuf-csource.h"
|
||||
#endif
|
||||
#include "ui/gtk/profile_dlg.h"
|
||||
#include "ui/gtk/expert_indicators.h"
|
||||
#include "ui/gtk/capture_comment_icons.h"
|
||||
#include "ui/gtk/keys.h"
|
||||
#include "ui/gtk/menus.h"
|
||||
#include "ui/gtk/edit_packet_comment_dlg.h"
|
||||
|
@ -573,28 +574,28 @@ status_expert_new(void)
|
|||
{
|
||||
GtkWidget *expert_image;
|
||||
|
||||
expert_image = pixbuf_to_widget(expert_error_pb_data);
|
||||
expert_image = PIXBUF_TO_WIDGET(expert_error_pb_data, "/org/wireshark/image/toolbar/14x14/x-expert-error.png");
|
||||
gtk_widget_set_tooltip_text(expert_image, "ERROR is the highest expert info level");
|
||||
gtk_widget_show(expert_image);
|
||||
expert_info_error = gtk_event_box_new();
|
||||
gtk_container_add(GTK_CONTAINER(expert_info_error), expert_image);
|
||||
g_signal_connect(expert_info_error, "button_press_event", G_CALLBACK(expert_comp_dlg_event_cb), NULL);
|
||||
|
||||
expert_image = pixbuf_to_widget(expert_warn_pb_data);
|
||||
expert_image = PIXBUF_TO_WIDGET(expert_warn_pb_data, "/org/wireshark/image/toolbar/14x14/x-expert-warn.png");
|
||||
gtk_widget_set_tooltip_text(expert_image, "WARNING is the highest expert info level");
|
||||
gtk_widget_show(expert_image);
|
||||
expert_info_warn = gtk_event_box_new();
|
||||
gtk_container_add(GTK_CONTAINER(expert_info_warn), expert_image);
|
||||
g_signal_connect(expert_info_warn, "button_press_event", G_CALLBACK(expert_comp_dlg_event_cb), NULL);
|
||||
|
||||
expert_image = pixbuf_to_widget(expert_note_pb_data);
|
||||
expert_image = PIXBUF_TO_WIDGET(expert_note_pb_data, "/org/wireshark/image/toolbar/14x14/x-expert-note.png");
|
||||
gtk_widget_set_tooltip_text(expert_image, "NOTE is the highest expert info level");
|
||||
gtk_widget_show(expert_image);
|
||||
expert_info_note = gtk_event_box_new();
|
||||
gtk_container_add(GTK_CONTAINER(expert_info_note), expert_image);
|
||||
g_signal_connect(expert_info_note, "button_press_event", G_CALLBACK(expert_comp_dlg_event_cb), NULL);
|
||||
|
||||
expert_image = pixbuf_to_widget(expert_chat_pb_data);
|
||||
expert_image = PIXBUF_TO_WIDGET(expert_chat_pb_data, "/org/wireshark/image/toolbar/14x14/x-expert-chat.png");
|
||||
gtk_widget_set_tooltip_text(expert_image, "CHAT is the highest expert info level");
|
||||
gtk_widget_show(expert_image);
|
||||
expert_info_chat = gtk_event_box_new();
|
||||
|
@ -608,14 +609,14 @@ status_expert_new(void)
|
|||
gtk_container_add(GTK_CONTAINER(expert_info_comment), expert_image);
|
||||
g_signal_connect(expert_info_comment, "button_press_event", G_CALLBACK(expert_comp_dlg_event_cb), NULL);
|
||||
|
||||
expert_image = pixbuf_to_widget(expert_none_pb_data);
|
||||
expert_image = PIXBUF_TO_WIDGET(expert_none_pb_data, "/org/wireshark/image/toolbar/14x14/x-expert-none.png");
|
||||
gtk_widget_set_tooltip_text(expert_image, "No expert info");
|
||||
gtk_widget_show(expert_image);
|
||||
expert_info_none = gtk_event_box_new();
|
||||
gtk_container_add(GTK_CONTAINER(expert_info_none), expert_image);
|
||||
g_signal_connect(expert_info_none, "button_press_event", G_CALLBACK(expert_comp_dlg_event_cb), NULL);
|
||||
|
||||
expert_image = pixbuf_to_widget(expert_none_pb_data);
|
||||
expert_image = PIXBUF_TO_WIDGET(expert_none_pb_data, "/org/wireshark/image/toolbar/14x14/x-expert-none.png");
|
||||
gtk_widget_show(expert_image);
|
||||
expert_info_placeholder = gtk_event_box_new();
|
||||
gtk_container_add(GTK_CONTAINER(expert_info_placeholder), expert_image);
|
||||
|
@ -673,28 +674,28 @@ status_capture_comment_new(void)
|
|||
{
|
||||
GtkWidget *comment_image;
|
||||
|
||||
comment_image = pixbuf_to_widget(capture_comment_update_pb_data);
|
||||
comment_image = PIXBUF_TO_WIDGET(capture_comment_update_pb_data, "/org/wireshark/image/capture_comment_update.png");
|
||||
gtk_widget_set_tooltip_text(comment_image, "Read or edit the comment for this capture file");
|
||||
gtk_widget_show(comment_image);
|
||||
capture_comment = gtk_event_box_new();
|
||||
gtk_container_add(GTK_CONTAINER(capture_comment), comment_image);
|
||||
g_signal_connect(capture_comment, "button_press_event", G_CALLBACK(edit_capture_comment_dlg_event_cb), NULL);
|
||||
|
||||
comment_image = pixbuf_to_widget(capture_comment_add_pb_data);
|
||||
comment_image = PIXBUF_TO_WIDGET(capture_comment_add_pb_data, "/org/wireshark/image/capture_comment_add.png");
|
||||
gtk_widget_set_tooltip_text(comment_image, "Add a comment to this capture file");
|
||||
gtk_widget_show(comment_image);
|
||||
capture_comment_none = gtk_event_box_new();
|
||||
gtk_container_add(GTK_CONTAINER(capture_comment_none), comment_image);
|
||||
g_signal_connect(capture_comment_none, "button_press_event", G_CALLBACK(edit_capture_comment_dlg_event_cb), NULL);
|
||||
|
||||
comment_image = pixbuf_to_widget(capture_comment_add_pb_data);
|
||||
comment_image = PIXBUF_TO_WIDGET(capture_comment_add_pb_data, "/org/wireshark/image/capture_comment_add.png");
|
||||
gtk_widget_show(comment_image);
|
||||
capture_comment_placeholder = gtk_event_box_new();
|
||||
gtk_container_add(GTK_CONTAINER(capture_comment_placeholder), comment_image);
|
||||
gtk_widget_set_sensitive(capture_comment_placeholder, FALSE);
|
||||
|
||||
gtk_widget_show(capture_comment_placeholder);
|
||||
/* comment_image = pixbuf_to_widget(capture_comment_disabled_pb_data); ... */
|
||||
/* comment_image = PIXBUF_TO_WIDGET(capture_comment_disabled_pb_data, "/org/wireshark/image/toolbar/capture_comment_disabled.png"); ... */
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -56,7 +56,10 @@
|
|||
#include "ui/gtk/help_dlg.h"
|
||||
#include "ui/gtk/capture_file_dlg.h"
|
||||
#include "ui/gtk/stock_icons.h"
|
||||
#include "ui/gtk/wssplash.h"
|
||||
#ifndef HAVE_GRESOURCE
|
||||
#include "ui/gtk/pixbuf-csource.h"
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_LIBPCAP
|
||||
#include "ui/gtk/capture_dlg.h"
|
||||
#include "ui/gtk/capture_if_dlg.h"
|
||||
|
@ -75,9 +78,6 @@
|
|||
#include <caputils/airpcap_loader.h>
|
||||
#include "airpcap_gui_utils.h"
|
||||
#endif
|
||||
#if defined(HAVE_PCAP_REMOTE)
|
||||
#include "ui/gtk/remote_icons.h"
|
||||
#endif
|
||||
|
||||
/* XXX */
|
||||
static GtkWidget *welcome_hb = NULL;
|
||||
|
@ -372,7 +372,11 @@ welcome_header_new(void)
|
|||
item_hb = ws_gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0, FALSE);
|
||||
gtk_box_pack_start(GTK_BOX(item_vb), item_hb, FALSE, FALSE, 10);
|
||||
|
||||
#ifdef HAVE_GRESOURCE
|
||||
icon = pixbuf_to_widget("/org/wireshark/image/wssplash_dev.png");
|
||||
#else
|
||||
icon = pixbuf_to_widget(wssplash_pb_data);
|
||||
#endif
|
||||
gtk_box_pack_start(GTK_BOX(item_hb), icon, FALSE, FALSE, 10);
|
||||
|
||||
header_lb = gtk_label_new(NULL);
|
||||
|
@ -877,7 +881,11 @@ add_interface_to_list(guint indx)
|
|||
interface_t device;
|
||||
|
||||
device = g_array_index(global_capture_opts.all_ifaces, interface_t, indx);
|
||||
#ifdef HAVE_GRESOURCE
|
||||
icon = pixbuf_to_widget("/org/wireshark/image/toolbar/remote_sat_16.png");
|
||||
#else
|
||||
icon = pixbuf_to_widget(remote_sat_pb_data);
|
||||
#endif
|
||||
view = g_object_get_data(G_OBJECT(welcome_hb), TREE_VIEW_INTERFACES);
|
||||
model = gtk_tree_view_get_model(GTK_TREE_VIEW(view));
|
||||
size = gtk_tree_model_iter_n_children(model, NULL);
|
||||
|
|
|
@ -1,263 +0,0 @@
|
|||
/* This file was automatically generated. DO NOT EDIT. */
|
||||
|
||||
/* GdkPixbuf RGBA C-Source image dump */
|
||||
|
||||
#ifdef __SUNPRO_C
|
||||
#pragma align 4 (network_bluetooth_pb_data)
|
||||
#endif
|
||||
#ifdef __GNUC__
|
||||
static const guint8 network_bluetooth_pb_data[] __attribute__ ((__aligned__ (4))) =
|
||||
#else
|
||||
static const guint8 network_bluetooth_pb_data[] =
|
||||
#endif
|
||||
{ ""
|
||||
/* Pixbuf magic (0x47646b50) */
|
||||
"GdkP"
|
||||
/* length: header (24) + pixel_data (1024) */
|
||||
"\0\0\4\30"
|
||||
/* pixdata_type (0x1010002) */
|
||||
"\1\1\0\2"
|
||||
/* rowstride (64) */
|
||||
"\0\0\0@"
|
||||
/* width (16) */
|
||||
"\0\0\0\20"
|
||||
/* height (16) */
|
||||
"\0\0\0\20"
|
||||
/* pixel_data: */
|
||||
"\0\0\0\0\0\0\0\0\0\0\0\0\11\13\16\13\40!\"v\"$'\265\36\40\"\344\35\36"
|
||||
"\37\372\35\36\37\344\36\40\"\251\40\"$b\16\21\24\16\0\0\0\0\0\0\0\0\0"
|
||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\33\35\37\241035\350ehl\363\202"
|
||||
"\213\223\363t}\207\362r|\207\361Zcj\362&+/\350\27\33\37\214\10\14\20"
|
||||
"\17\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\23\24\26RCDF\363\220\227"
|
||||
"\236\367j}\221\373y\214\237\377\375\376\376\377r\206\232\377B[t\376H"
|
||||
"Xh\367#'+\356\23\27\34q\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\25\27\30,\34"
|
||||
"\36!\314\215\221\226\373m\201\225\3774Pn\377f|\222\377\375\376\376\377"
|
||||
"\375\376\376\377q\205\231\377>Yt\377;IW\372\26\32\35\333\40!\":\0\0\0"
|
||||
"\0\0\0\0\0\0\0\0\0\36\40!|KOQ\346\227\243\257\374Ib}\377@[w\377g}\222"
|
||||
"\377\375\376\376\377\357\362\364\377\375\376\376\377m\203\227\377;Ri"
|
||||
"\377\32#-\360\40!\"\215\0\0\0\0\0\0\0\0\0\0\0\0\37!\"\254\202\207\213"
|
||||
"\352\\r\211\375\375\376\376\377\307\317\327\377|\217\242\377\375\376"
|
||||
"\376\377g|\222\377\343\350\353\377\375\376\376\377C^x\377\"6L\362\36"
|
||||
"\37\40\266\0\0\0\0\0\0\0\0\0\0\0\0\37\40\"\302\221\227\232\357G`{\376"
|
||||
"`v\216\377\375\376\376\377\341\346\352\377\375\376\376\377\217\236\256"
|
||||
"\377\375\376\376\377\254\270\304\3779Uq\377!5J\362\35\36\37\347\0\0\0"
|
||||
"\0\0\0\0\0\0\0\0\0\36\37!\353\212\215\221\3655Qn\3762Om\377Sk\204\377"
|
||||
"\375\376\376\377\375\376\376\377\375\376\376\377\263\276\311\3773Pn\377"
|
||||
"1Nl\377\"6K\366\31\33\35\347\0\0\0\0\0\0\0\0\0\0\0\0\36\37\40\360\210"
|
||||
"\214\217\3643Ol\3761Nl\3779Tq\377\251\265\301\377\375\376\376\377\375"
|
||||
"\376\376\377aw\215\3771Nl\3771Nl\377#6J\367\27\30\32\3361Nl\1\0\0\0\0"
|
||||
"\0\0\0\0\36\40!\301y|\201\3624Pl\376=Yu\377\214\234\255\377\375\376\376"
|
||||
"\377\375\376\376\377\370\372\373\377\375\376\376\377Xo\207\3772Om\377"
|
||||
"%8M\363\34\37\40\307\0\0\0\0\0\0\0\0\0\0\0\0\37!\"\244\202\205\212\361"
|
||||
"A[v\375\216\236\256\377\375\376\376\377\312\322\331\377\375\376\376\377"
|
||||
"g|\222\377\363\365\367\377\375\376\376\377@Zv\377#3E\363\37\40#\261\0"
|
||||
"\0\0\0\0\0\0\0\0\0\0\0\35\37\"m]ac\361dw\213\376\230\247\266\377\253"
|
||||
"\267\303\377q\205\232\377\375\376\376\377\254\267\303\377\375\376\376"
|
||||
"\377\261\273\306\3774Ni\377\35$+\370\"'(\233\0\0\0\0\0\0\0\0\0\0\0\0"
|
||||
"\22\31\40\25""048\336ku\177\373Jc}\377;Wt\377f|\221\377\375\376\376\377"
|
||||
"\375\376\376\377\240\256\274\3776Ro\377!1B\376\35\37(\304!%(6\0\0\0\0"
|
||||
"\0\0\0\0\0\0\0\0\0\0\0\1\30\35#V<=B\364jw\205\3728Tp\377g}\223\377\375"
|
||||
"\376\376\377\235\253\270\3778Tq\377(>U\374\35%*\365\30\"+|\20\32$\3\0"
|
||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\20\32$\3\26\35$\225>BG\360Yaj\371n}\214"
|
||||
"\372\202\216\233\3740Ha\372$0=\372\35'-\364\24\40-\234\23\37+\31\0\0"
|
||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\14\23\32\32\31\37%e\36\40"
|
||||
"&\235\35\37$\310\33\35\37\372\35\36\"\337\36#(\264\32\36#\220\16\26\36"
|
||||
"&\20\32$\3\0\0\0\0\0\0\0\0\0\0\0\0"};
|
||||
|
||||
|
||||
/* GdkPixbuf RGBA C-Source image dump */
|
||||
|
||||
#ifdef __SUNPRO_C
|
||||
#pragma align 4 (network_usb_pb_data)
|
||||
#endif
|
||||
#ifdef __GNUC__
|
||||
static const guint8 network_usb_pb_data[] __attribute__ ((__aligned__ (4))) =
|
||||
#else
|
||||
static const guint8 network_usb_pb_data[] =
|
||||
#endif
|
||||
{ ""
|
||||
/* Pixbuf magic (0x47646b50) */
|
||||
"GdkP"
|
||||
/* length: header (24) + pixel_data (512) */
|
||||
"\0\0\2\30"
|
||||
/* pixdata_type (0x1010002) */
|
||||
"\1\1\0\2"
|
||||
/* rowstride (32) */
|
||||
"\0\0\0\40"
|
||||
/* width (8) */
|
||||
"\0\0\0\10"
|
||||
/* height (16) */
|
||||
"\0\0\0\20"
|
||||
/* pixel_data: */
|
||||
"\223\223\223\0]_[\344mok\340qso\340uwr\340xzv\340cea\344\223\223\223"
|
||||
"\0\223\223\223\0suq\340\243\245\241\377\254\255\251\377\265\266\262\377"
|
||||
"\275\276\273\377\205\207\203\340\223\223\223\0\223\223\223\0|~z\340U"
|
||||
"WS\377\246\247\244\377\254\256\253\377UWS\377\217\220\214\340\223\223"
|
||||
"\223\0\223\223\223\0\205\207\203\340\317\317\314\377\246\250\244\377"
|
||||
"\254\255\251\377\351\351\347\377\226\227\224\340\223\223\223\0\223\223"
|
||||
"\223\0\217\220\214\340\344\344\342\377\355\355\353\377\355\355\353\377"
|
||||
"\355\355\353\377\226\227\224\340\223\223\223\0)S\2175Fb\206\364Tp\225"
|
||||
"\363Tp\225\363Tp\225\363Tp\225\363Fb\206\364)S\2175=h\240\325q\236\316"
|
||||
"\377r\237\317\377r\237\317\377r\237\317\377r\237\317\377q\236\316\377"
|
||||
"=h\240\325Co\246\337r\237\317\377r\237\317\377r\237\317\377r\237\317"
|
||||
"\377r\237\317\377r\237\317\377Co\246\337Co\246\337r\237\317\377r\237"
|
||||
"\317\377r\237\317\377r\237\317\377r\237\317\377r\237\317\377Co\246\337"
|
||||
"Co\246\337r\237\317\377r\237\317\377r\237\317\377r\237\317\377r\237\317"
|
||||
"\377r\237\317\377Co\246\337Co\246\337r\237\317\377r\237\317\377r\237"
|
||||
"\317\377r\237\317\377r\237\317\377r\237\317\377Co\246\337Co\246\337r"
|
||||
"\237\317\377r\237\317\377r\237\317\377r\237\317\377r\237\317\377r\237"
|
||||
"\317\377Co\246\337Co\246\337r\237\317\377r\237\317\377r\237\317\377r"
|
||||
"\237\317\377r\237\317\377r\237\317\377Co\246\337Co\246\337r\237\317\377"
|
||||
"r\237\317\377r\237\317\377r\237\317\377r\237\317\377r\237\317\377Co\246"
|
||||
"\337Cn\246\335r\237\317\377r\237\317\377r\237\317\377r\237\317\377r\237"
|
||||
"\317\377r\237\317\377Cn\246\3354_\231\243Cn\246\335Co\246\337Co\246\337"
|
||||
"Co\246\337Co\246\337Cn\246\3354_\231\243"};
|
||||
|
||||
|
||||
/* GdkPixbuf RGBA C-Source image dump */
|
||||
|
||||
#ifdef __SUNPRO_C
|
||||
#pragma align 4 (network_wired_pb_data)
|
||||
#endif
|
||||
#ifdef __GNUC__
|
||||
static const guint8 network_wired_pb_data[] __attribute__ ((__aligned__ (4))) =
|
||||
#else
|
||||
static const guint8 network_wired_pb_data[] =
|
||||
#endif
|
||||
{ ""
|
||||
/* Pixbuf magic (0x47646b50) */
|
||||
"GdkP"
|
||||
/* length: header (24) + pixel_data (1024) */
|
||||
"\0\0\4\30"
|
||||
/* pixdata_type (0x1010002) */
|
||||
"\1\1\0\2"
|
||||
/* rowstride (64) */
|
||||
"\0\0\0@"
|
||||
/* width (16) */
|
||||
"\0\0\0\20"
|
||||
/* height (16) */
|
||||
"\0\0\0\20"
|
||||
/* pixel_data: */
|
||||
"\0\0\0\0\216\221\213a\213\214\210\366\211\213\206\376\211\213\206\376"
|
||||
"\211\213\206\376\211\213\206\376\211\213\206\376\211\213\206\376\211"
|
||||
"\213\206\376\211\213\206\376\211\213\206\376\211\213\206\376\211\213"
|
||||
"\206\376\213\214\210\366\216\221\213a\0\0\0\0\214\216\211\363\361\361"
|
||||
"\360\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\360\360\357\377\213"
|
||||
"\215\211\364\0\0\0\0\211\213\206\376\376\376\376\377\357\357\355\377"
|
||||
"\356\356\354\377\356\356\354\377\355\355\353\377\355\355\353\377\354"
|
||||
"\355\352\377\354\354\352\377\354\354\351\377\353\354\351\377\353\353"
|
||||
"\351\377\354\354\351\377\376\376\376\377\211\213\206\376\0\0\0\0\211"
|
||||
"\213\206\376\377\377\377\377\355\355\353\377\354\355\352\377\354\354"
|
||||
"\352\377\360\360\356\377\363\364\362\377\364\364\362\377\364\364\362"
|
||||
"\377\357\357\355\377\352\352\350\377\351\352\347\377\351\352\347\377"
|
||||
"\377\377\377\377\211\213\206\376\0\0\0\0\211\213\206\376\377\377\377"
|
||||
"\377\353\354\351\377\357\357\356\377\364\364\362\377\350\351\346\377"
|
||||
"\215\217\212\377\210\212\205\377\213\215\210\377\351\352\347\377\364"
|
||||
"\364\363\377\356\357\354\377\350\351\345\377\377\377\377\377\211\213"
|
||||
"\206\376\0\0\0\0\211\213\206\376\377\377\377\377\352\353\350\377\364"
|
||||
"\364\362\377\214\216\211\377\210\212\205\377JON\377.46\377JOO\377\233"
|
||||
"\236\230\377\254\257\250\377\364\365\363\377\346\347\344\377\377\377"
|
||||
"\377\377\211\213\206\376\0\0\0\0\211\213\206\376\377\377\377\377\351"
|
||||
"\351\346\377\364\364\363\377\210\212\205\377.46\377.46\377.46\377.46"
|
||||
"\377.46\377\272\275\266\377\365\365\364\377\345\346\342\377\377\377\377"
|
||||
"\377\211\213\206\376]^[\326VXS\377VXT\377VXT\377VXT\377VXS\377UWS\377"
|
||||
"Y[X\377CGE\377CGE\377CGE\377\272\275\266\377\365\366\364\377\343\345"
|
||||
"\341\377\377\377\377\377\211\213\206\376\\_Z\350\327\327\326\377\377"
|
||||
"\377\377\377\314\316\311\377\323\325\321\377\366\366\365\377\366\367"
|
||||
"\366\377VXS\377UWS\377\260\247Q\377UWS\377\272\275\266\377\366\367\365"
|
||||
"\377\342\344\337\377\377\377\377\377\211\213\206\376UWS\373\260\261\257"
|
||||
"\377\210\212\205\377\242\243\237\377\352\352\350\377\366\367\366\377"
|
||||
"\324\326\322\377VXT\377\272\275\266\377\272\275\266\377\272\275\266\377"
|
||||
"\275\300\271\377\367\370\366\377\341\342\336\377\377\377\377\377\211"
|
||||
"\213\206\376UWS\376\355\355\354\377\262\302\324\377\254\275\323\377\355"
|
||||
"\355\354\377\311\314\307\377\337\340\335\377VXT\377\367\370\366\377\367"
|
||||
"\370\367\377\367\370\367\377\370\370\367\377\354\355\352\377\337\341"
|
||||
"\334\377\377\377\377\377\211\213\206\376UWT\376y\230\277\377O{\261\377"
|
||||
"<l\250\377\254\275\323\377\323\325\321\377\261\262\260\377qtp\377\340"
|
||||
"\342\335\377\337\341\334\377\337\341\334\377\337\341\333\377\336\340"
|
||||
"\333\377\337\341\335\377\376\376\376\377\211\213\206\376Cc\211\377Q}"
|
||||
"\263\377\226\266\332\377Oz\261\377\262\301\325\377\263\265\261\377oq"
|
||||
"n\377\355\355\355\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\376\376\376\377\351\353\350\377\212"
|
||||
"\215\210\364Kw\255\375\226\266\332\377Kv\254\377Cc\212\377VXU\377efb"
|
||||
"\377\204\205\201\376\211\213\206\376\211\213\206\376\211\213\206\376"
|
||||
"\211\213\206\376\211\213\206\376\211\213\206\376\211\213\206\376\213"
|
||||
"\214\210\366\216\221\213a\226\266\332\377Jx\261\3649i\247\245\0\0\377"
|
||||
"\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0Gu\256\3559i\247\245\0\0\377\1\0\0\0\0"
|
||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0"};
|
||||
|
||||
|
||||
/* GdkPixbuf RGBA C-Source image dump */
|
||||
|
||||
#ifdef __SUNPRO_C
|
||||
#pragma align 4 (network_wireless_pb_data)
|
||||
#endif
|
||||
#ifdef __GNUC__
|
||||
static const guint8 network_wireless_pb_data[] __attribute__ ((__aligned__ (4))) =
|
||||
#else
|
||||
static const guint8 network_wireless_pb_data[] =
|
||||
#endif
|
||||
{ ""
|
||||
/* Pixbuf magic (0x47646b50) */
|
||||
"GdkP"
|
||||
/* length: header (24) + pixel_data (1024) */
|
||||
"\0\0\4\30"
|
||||
/* pixdata_type (0x1010002) */
|
||||
"\1\1\0\2"
|
||||
/* rowstride (64) */
|
||||
"\0\0\0@"
|
||||
/* width (16) */
|
||||
"\0\0\0\20"
|
||||
/* height (16) */
|
||||
"\0\0\0\20"
|
||||
/* pixel_data: */
|
||||
"\0\0\0\0""9c\252\22""5j\252\30\0\0\0\0\0\0\0\0q\252\306\11q\234\325\22"
|
||||
"t\242\321\26t\242\321\26q\234\325\22q\252\306\11\0\0\0\0\0\0\0\0""5j"
|
||||
"\252\30""9c\252\22\0\0\0\0+U\252\6""2d\241.\0\200\200\2\200\237\277\10"
|
||||
"f\231\304\36b\215\311/q\242\3164o\242\3217o\242\3217q\242\3164b\215\311"
|
||||
"/f\231\304\36\200\237\277\10\0\200\200\2""2d\241.+U\252\6""2c\252$0h"
|
||||
"\247\40t\242\321\13d\225\307)V\206\274Ps\232\315Gs\237\317Pq\240\320"
|
||||
"Vq\240\320Vs\237\317Ps\232\315GV\206\274Pd\225\307)t\242\321\13""0h\247"
|
||||
"\40""2c\252$5g\246HKx\264\21s\234\316\37Q\201\267_e\222\304[q\236\320"
|
||||
"af\202\231\245\206\207\206\375^b_\373f\203\235\242q\236\320ae\222\304"
|
||||
"[Q\201\267_s\234\316\37Kx\264\21""5g\246H5e\244eh\242\321\26r\241\320"
|
||||
"1Jx\264\216q\240\320fq\236\316\214fhh\375\373\373\372\377\320\320\316"
|
||||
"\377`dc\374q\236\316\214q\240\320fJx\264\216r\241\3201h\242\321\26""5"
|
||||
"e\244e3e\245wm\240\314#q\236\316\77Fv\260\253q\235\315zq\236\314\256"
|
||||
"^a`\377\322\323\320\377\317\317\314\377`cb\377q\236\314\256q\235\315"
|
||||
"zFv\260\253q\236\316\77m\240\314#3e\245w6f\246va\215\275:s\241\316II"
|
||||
"y\263\253a\217\304\233y\230\266\324{\216\233\377\\`^\377]`^\377}\217"
|
||||
"\237\377y\230\266\324a\217\304\233Iy\263\253s\241\316Ia\215\275:6f\246"
|
||||
"v4e\246SGv\263hr\240\316N_\215\300\206Bs\254\330\201\213\222\371\270"
|
||||
"\310\332\377\221\252\301\377\221\252\301\377\270\310\332\377\177\215"
|
||||
"\226\365Bs\254\330_\215\300\206r\240\316NGv\263h4e\246S3f\246\24""8h"
|
||||
"\246\247m\230\312Rq\236\320lW{\250\323Lr\243\377\255\302\333\377\252"
|
||||
"\270\307\377\204\223\241\377\247\274\324\377Lr\243\377W{\250\323q\236"
|
||||
"\320lm\230\312R8h\246\2473f\246\24\0\0\0\0""4d\244k>n\255\244r\237\315"
|
||||
"e\206\214\215\345\254\271\312\377c\204\255\377Is\252\377Oy\260\377n\217"
|
||||
"\270\377\256\273\315\377\210\212\207\371r\237\315e>n\255\2444d\244k\0"
|
||||
"\0\0\0\0\0\0\0""3f\231\5""3e\245\244Uy\235\313\234\235\231\377\364\364"
|
||||
"\364\377\215\216\212\376\215\220\214\377\271\273\270\377\360\360\357"
|
||||
"\377\377\377\377\377\234\235\231\377Uy\235\3133e\245\2443f\231\5\0\0"
|
||||
"\0\0\0\0\0\0\0\0\0\0+U\252\6\205\211\206\367\326\326\325\377\327\330"
|
||||
"\326\377\333\333\332\377\370\371\370\377\333\333\332\377\263\264\261"
|
||||
"\377\303\305\303\377\324\324\323\377z\204\212\340+U\252\6\0\0\0\0\0\0"
|
||||
"\0\0\0\0\0\0\0\0\0\0\211\211\2046\226\230\224\377\377\377\377\377\373"
|
||||
"\373\372\377\353\353\353\377\323\324\322\377\300\301\276\377\260\261"
|
||||
"\256\377\246\250\244\377\366\366\366\377\226\230\224\377\211\211\206"
|
||||
"N\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\210\212\205\257\315\316\314\377\310"
|
||||
"\310\306\377\230\232\226\377\250\252\246\377\270\271\266\377\310\311"
|
||||
"\307\377\330\330\327\377\350\350\347\377\374\374\373\377\336\337\335"
|
||||
"\377\210\212\205\360\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\210\212\205\355"
|
||||
"\352\352\351\377\223\225\220\375\210\214\205I\210\210\205G\210\212\206"
|
||||
"i\210\212\204\213\210\213\205\255\207\213\205\327\223\225\220\377\347"
|
||||
"\350\347\377\210\212\205\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\211\213"
|
||||
"\205{\210\212\205\356\211\213\205\177\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
||||
"\0\0\0\0\0\0\0\0\207\212\205q\210\212\205\356\211\213\205{\0\0\0\0\0"
|
||||
"\0\0\0"};
|
||||
|
||||
|
|
@ -1,70 +0,0 @@
|
|||
/* This file was automatically generated. DO NOT EDIT. */
|
||||
|
||||
/* GdkPixbuf RGBA C-Source image dump */
|
||||
|
||||
#ifdef __SUNPRO_C
|
||||
#pragma align 4 (pipe_pb_data)
|
||||
#endif
|
||||
#ifdef __GNUC__
|
||||
static const guint8 pipe_pb_data[] __attribute__ ((__aligned__ (4))) =
|
||||
#else
|
||||
static const guint8 pipe_pb_data[] =
|
||||
#endif
|
||||
{ ""
|
||||
/* Pixbuf magic (0x47646b50) */
|
||||
"GdkP"
|
||||
/* length: header (24) + pixel_data (1024) */
|
||||
"\0\0\4\30"
|
||||
/* pixdata_type (0x1010002) */
|
||||
"\1\1\0\2"
|
||||
/* rowstride (64) */
|
||||
"\0\0\0@"
|
||||
/* width (16) */
|
||||
"\0\0\0\20"
|
||||
/* height (16) */
|
||||
"\0\0\0\20"
|
||||
/* pixel_data: */
|
||||
"\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377"
|
||||
"\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377"
|
||||
"\0\377\377\377\0\377\377\377\0\377\377\377\0HKK\377egl\377HKK\377\377"
|
||||
"\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377"
|
||||
"\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377"
|
||||
"\377\377\0\377\377\377\0\377\377\377\0OPP\377ty\202\377OPP\377\220\221"
|
||||
"\216\377ce`\377ce`\377ce`\377ce`\377ce`\377ce`\377ce`\377ce`\377ce`\377"
|
||||
"ce`\377aee\377\377\377\377\0PQQ\377ty\202\377PQQ\377ce`\377\264\264\263"
|
||||
"\377\343\354\364\377\343\354\364\377\343\354\364\377\343\354\364\377"
|
||||
"\343\354\364\377\343\354\364\377\343\354\364\377\343\354\364\377\307"
|
||||
"\307\307\377ce`\377\377\377\377\0PQQ\377ty\202\377PQQ\377ce`\377\343"
|
||||
"\354\364\377)B\210\377-G\214\377-G\214\377-G\214\377-G\214\377-G\214"
|
||||
"\377-G\214\377)B\210\377\347\360\365\377ce`\377\377\377\377\0PQQ\377"
|
||||
"ty\202\377PQQ\377ce`\377\343\354\364\377)B\210\377-G\214\377-G\214\377"
|
||||
"-G\214\377-G\214\377-G\214\377-G\214\377)B\210\377\347\360\365\377ce"
|
||||
"`\377\377\377\377\0KLM\377)B\210\377)B\210\377ce`\377\345\355\365\377"
|
||||
"-G\214\377\374\374\376\377Tz\272\377Tz\270\377Tz\272\377Tz\272\377Tz"
|
||||
"\272\377-G\214\377\345\355\365\377ce`\377\355\355\355\377JKL\377Tz\272"
|
||||
"\377/S\237\377ce`\377\345\355\365\377-G\214\377W}\274\377\374\374\376"
|
||||
"\377\373\374\375\377:_\245\3770S\233\3770S\233\377-G\214\377\345\355"
|
||||
"\365\377ce`\377UUY\377)B\210\377Tz\272\377/S\237\377ce`\377\345\355\365"
|
||||
"\377-G\214\377/T\235\377\373\374\375\377\373\374\375\377/S\237\377/S"
|
||||
"\237\377/S\237\377-G\214\377\343\354\364\377ce`\377gjr\377)B\210\377"
|
||||
"Tz\272\377/S\237\377ce`\377\343\354\364\377)B\210\377\373\373\375\377"
|
||||
"-G\214\377-G\214\377\373\373\375\377\373\373\375\377\373\373\375\377"
|
||||
")B\210\377\343\354\364\377ce`\377\345\345\345\377JKL\377Tz\272\377/S"
|
||||
"\237\377ce`\377\343\354\364\377)B\210\377-G\214\377-G\214\377-G\214\377"
|
||||
"-G\214\377-G\214\377-G\214\377)B\210\377\343\354\364\377ce`\377\377\377"
|
||||
"\377\0KLM\377)B\210\377)B\210\377ce`\377\343\354\364\377)B\210\377-G"
|
||||
"\214\377-G\214\377-G\214\377-G\214\377-G\214\377-G\214\377)B\210\377"
|
||||
"\343\354\364\377ce`\377\377\377\377\0PQQ\377ty\202\377PQQ\377ce`\377"
|
||||
"\307\307\307\377\343\354\364\377\343\354\364\377\343\354\364\377\343"
|
||||
"\354\364\377\343\354\364\377\343\354\364\377\343\354\364\377\343\354"
|
||||
"\364\377\307\307\307\377ce`\377\377\377\377\0PQQ\377ty\202\377PQQ\377"
|
||||
"\234\235\232\377ce`\377ce`\377ce`\377ce`\377ce`\377ce`\377ce`\377ce`"
|
||||
"\377ce`\377ce`\377\255\256\252\377\377\377\377\0PQQ\377ty\202\377PQQ"
|
||||
"\377\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377"
|
||||
"\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377"
|
||||
"\377\0\377\377\377\0\377\377\377\0\377\377\377\0OPP\377ty\202\377OPP"
|
||||
"\377\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377"
|
||||
"\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377"
|
||||
"\377\0\377\377\377\0\377\377\377\0\377\377\377\0JIL\377fkp\377JIL\377"};
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,57 @@
|
|||
/* This file was automatically generated. DO NOT EDIT. */
|
||||
|
||||
#ifndef __PIXBUF_CSOURCE_HEADER__
|
||||
#define __PIXBUF_CSOURCE_HEADER__
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
extern const guint8 expert_chat_pb_data[];
|
||||
extern const guint8 expert_error_pb_data[];
|
||||
extern const guint8 expert_none_pb_data[];
|
||||
extern const guint8 expert_note_pb_data[];
|
||||
extern const guint8 expert_warn_pb_data[];
|
||||
extern const guint8 expert_ok_pb_data[];
|
||||
extern const guint8 capture_comment_add_pb_data[];
|
||||
extern const guint8 capture_comment_update_pb_data[];
|
||||
extern const guint8 capture_comment_disabled_pb_data[];
|
||||
extern const guint8 network_bluetooth_pb_data[];
|
||||
extern const guint8 network_usb_pb_data[];
|
||||
extern const guint8 network_wired_pb_data[];
|
||||
extern const guint8 network_wireless_pb_data[];
|
||||
extern const guint8 remote_arrow_pb_data[];
|
||||
extern const guint8 remote_globe_pb_data[];
|
||||
extern const guint8 remote_sat_pb_data[];
|
||||
extern const guint8 pipe_pb_data[];
|
||||
extern const guint8 capture_interfaces_16_pb_data[];
|
||||
extern const guint8 capture_interfaces_24_pb_data[];
|
||||
extern const guint8 gnome_emblem_web_16_pb_data[];
|
||||
extern const guint8 gnome_emblem_web_24_pb_data[];
|
||||
extern const guint8 toolbar_wireshark_file_16_pb_data[];
|
||||
extern const guint8 toolbar_wireshark_file_24_pb_data[];
|
||||
extern const guint8 capture_options_alt1_16_pb_data[];
|
||||
extern const guint8 capture_options_alt1_24_pb_data[];
|
||||
extern const guint8 capture_restart_16_pb_data[];
|
||||
extern const guint8 capture_restart_24_pb_data[];
|
||||
extern const guint8 capture_start_16_pb_data[];
|
||||
extern const guint8 capture_start_24_pb_data[];
|
||||
extern const guint8 capture_stop_16_pb_data[];
|
||||
extern const guint8 capture_stop_24_pb_data[];
|
||||
extern const guint8 layout_1_pb_data[];
|
||||
extern const guint8 layout_2_pb_data[];
|
||||
extern const guint8 layout_3_pb_data[];
|
||||
extern const guint8 layout_4_pb_data[];
|
||||
extern const guint8 layout_5_pb_data[];
|
||||
extern const guint8 layout_6_pb_data[];
|
||||
extern const guint8 wsicon_16_pb_data[];
|
||||
extern const guint8 wsicon_24_pb_data[];
|
||||
extern const guint8 wsicon_32_pb_data[];
|
||||
extern const guint8 wsicon_48_pb_data[];
|
||||
extern const guint8 wsicon_64_pb_data[];
|
||||
extern const guint8 wsiconcap_16_pb_data[];
|
||||
extern const guint8 wsiconcap_24_pb_data[];
|
||||
extern const guint8 wsiconcap_32_pb_data[];
|
||||
extern const guint8 wsiconcap_48_pb_data[];
|
||||
extern const guint8 wsiconcap_64_pb_data[];
|
||||
extern const guint8 wssplash_pb_data[];
|
||||
|
||||
#endif /*__PIXBUF_CSOURCE_HEADER__*/
|
|
@ -34,8 +34,9 @@
|
|||
#include "ui/gtk/main_titlebar.h"
|
||||
#include "ui/gtk/gui_utils.h"
|
||||
#include "ui/gtk/main.h"
|
||||
|
||||
#include "layouts.h"
|
||||
#ifndef HAVE_GRESOURCE
|
||||
#include "ui/gtk/pixbuf-csource.h"
|
||||
#endif
|
||||
|
||||
#define LAYOUT_QTY (layout_type_max - 1)
|
||||
|
||||
|
@ -311,6 +312,7 @@ layout_prefs_show(void)
|
|||
GtkWidget *filter_toolbar_style_om;
|
||||
GtkWidget *filter_toolbar_placement_om;
|
||||
GtkWidget *window_title_te;
|
||||
GdkPixbuf *pixbuf[6];
|
||||
|
||||
GtkWidget ** layout_type_buttons = (GtkWidget **)g_malloc (sizeof(GtkWidget*) * LAYOUT_QTY);
|
||||
GtkWidget *layout_pixbufs[LAYOUT_QTY];
|
||||
|
@ -340,12 +342,29 @@ layout_prefs_show(void)
|
|||
gtk_box_pack_start (GTK_BOX(pane_vb), button_hb, FALSE, FALSE, 0);
|
||||
|
||||
/* pane layout */
|
||||
layout_pixbufs[0] = gtk_image_new_from_pixbuf(gdk_pixbuf_new_from_inline(-1, layout_5_pb_data, FALSE, NULL));
|
||||
layout_pixbufs[1] = gtk_image_new_from_pixbuf(gdk_pixbuf_new_from_inline(-1, layout_2_pb_data, FALSE, NULL));
|
||||
layout_pixbufs[2] = gtk_image_new_from_pixbuf(gdk_pixbuf_new_from_inline(-1, layout_1_pb_data, FALSE, NULL));
|
||||
layout_pixbufs[3] = gtk_image_new_from_pixbuf(gdk_pixbuf_new_from_inline(-1, layout_4_pb_data, FALSE, NULL));
|
||||
layout_pixbufs[4] = gtk_image_new_from_pixbuf(gdk_pixbuf_new_from_inline(-1, layout_3_pb_data, FALSE, NULL));
|
||||
layout_pixbufs[5] = gtk_image_new_from_pixbuf(gdk_pixbuf_new_from_inline(-1, layout_6_pb_data, FALSE, NULL));
|
||||
#ifdef HAVE_GRESOURCE
|
||||
pixbuf[0] = ws_gdk_pixbuf_new_from_resource("/org/wireshark/image/layout_5.png");
|
||||
pixbuf[1] = ws_gdk_pixbuf_new_from_resource("/org/wireshark/image/layout_2.png");
|
||||
pixbuf[2] = ws_gdk_pixbuf_new_from_resource("/org/wireshark/image/layout_1.png");
|
||||
pixbuf[3] = ws_gdk_pixbuf_new_from_resource("/org/wireshark/image/layout_4.png");
|
||||
pixbuf[4] = ws_gdk_pixbuf_new_from_resource("/org/wireshark/image/layout_3.png");
|
||||
pixbuf[5] = ws_gdk_pixbuf_new_from_resource("/org/wireshark/image/layout_6.png");
|
||||
#else
|
||||
pixbuf[0] = gdk_pixbuf_new_from_inline(-1, layout_5_pb_data, FALSE, NULL);
|
||||
pixbuf[1] = gdk_pixbuf_new_from_inline(-1, layout_2_pb_data, FALSE, NULL);
|
||||
pixbuf[2] = gdk_pixbuf_new_from_inline(-1, layout_1_pb_data, FALSE, NULL);
|
||||
pixbuf[3] = gdk_pixbuf_new_from_inline(-1, layout_4_pb_data, FALSE, NULL);
|
||||
pixbuf[4] = gdk_pixbuf_new_from_inline(-1, layout_3_pb_data, FALSE, NULL);
|
||||
pixbuf[5] = gdk_pixbuf_new_from_inline(-1, layout_6_pb_data, FALSE, NULL);
|
||||
#endif
|
||||
|
||||
layout_pixbufs[0] = gtk_image_new_from_pixbuf(pixbuf[0]);
|
||||
layout_pixbufs[1] = gtk_image_new_from_pixbuf(pixbuf[1]);
|
||||
layout_pixbufs[2] = gtk_image_new_from_pixbuf(pixbuf[2]);
|
||||
layout_pixbufs[3] = gtk_image_new_from_pixbuf(pixbuf[3]);
|
||||
layout_pixbufs[4] = gtk_image_new_from_pixbuf(pixbuf[4]);
|
||||
layout_pixbufs[5] = gtk_image_new_from_pixbuf(pixbuf[5]);
|
||||
|
||||
for (i=0; i<LAYOUT_QTY; ++i)
|
||||
{
|
||||
type_tb = gtk_toggle_button_new ();
|
||||
|
|
|
@ -1,224 +0,0 @@
|
|||
/* This file was automatically generated. DO NOT EDIT. */
|
||||
|
||||
/* GdkPixbuf RGBA C-Source image dump */
|
||||
|
||||
#ifdef __SUNPRO_C
|
||||
#pragma align 4 (remote_arrow_pb_data)
|
||||
#endif
|
||||
#ifdef __GNUC__
|
||||
static const guint8 remote_arrow_pb_data[] __attribute__ ((__aligned__ (4))) =
|
||||
#else
|
||||
static const guint8 remote_arrow_pb_data[] =
|
||||
#endif
|
||||
{ ""
|
||||
/* Pixbuf magic (0x47646b50) */
|
||||
"GdkP"
|
||||
/* length: header (24) + pixel_data (1024) */
|
||||
"\0\0\4\30"
|
||||
/* pixdata_type (0x1010002) */
|
||||
"\1\1\0\2"
|
||||
/* rowstride (64) */
|
||||
"\0\0\0@"
|
||||
/* width (16) */
|
||||
"\0\0\0\20"
|
||||
/* height (16) */
|
||||
"\0\0\0\20"
|
||||
/* pixel_data: */
|
||||
"\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377"
|
||||
"\0\377\377\377\0\253\254\251\377\202\204\177\377\202\204\177\377\202"
|
||||
"\204\177\377\202\204\177\377\202\204\177\377\202\204\177\377\202\204"
|
||||
"\177\377\202\204\177\377\265\266\263\377\377\377\377\0\377\377\377\0"
|
||||
"\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\202\204\177"
|
||||
"\377\310\310\307\377\353\361\367\377\353\361\367\377\353\361\367\377"
|
||||
"\353\361\367\377\353\361\367\377\353\361\367\377\326\326\326\377\202"
|
||||
"\204\177\377\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0"
|
||||
"\377\377\377\0\377\377\377\0\202\204\177\377\353\361\367\377<]\244\377"
|
||||
"Bc\250\377Bc\250\377Bc\250\377Bc\250\377<]\244\377\356\364\370\377\202"
|
||||
"\204\177\377\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0"
|
||||
"\377\377\377\0\377\377\377\0\202\204\177\377\354\362\370\377Bc\250\377"
|
||||
"r\230\314\377r\230\313\377r\230\314\377r\230\314\377Bc\250\377\354\362"
|
||||
"\370\377\202\204\177\377\253\254\251\377\202\204\177\377\202\204\177"
|
||||
"\377\202\204\177\377\202\204\177\377\202\204\177\377\202\204\177\377"
|
||||
"\202\204\177\377\202\204\177\377|\205\217\377]\206\302\377S}\274\377"
|
||||
"Fq\264\377Bc\250\377\354\362\370\377\202\204\177\377\202\204\177\377"
|
||||
"\310\310\307\377\353\361\367\377\353\361\367\377\353\361\367\377\353"
|
||||
"\361\367\377\353\361\367\377\353\361\367\377\326\326\326\377\202\204"
|
||||
"\177\377Dq\267\377Dq\267\377Dq\267\377Bc\250\377\353\361\367\377\202"
|
||||
"\204\177\377\202\204\177\377\353\361\367\377<]\244\377Bc\250\377Bc\250"
|
||||
"\377Bc\250\377Bc\250\377<]\244\377\356\364\370\377\202\204\177\377Bc"
|
||||
"\250\377Bc\250\377Bc\250\377<]\244\377\353\361\367\377\202\204\177\377"
|
||||
"\202\204\177\377\354\362\370\377Bc\250\377r\230\314\377r\230\313\377"
|
||||
"r\230\314\377r\230\314\377Bc\250\377\354\362\370\377\202\204\177\377"
|
||||
"\353\361\367\377\353\361\367\377\353\361\367\377\353\361\367\377\326"
|
||||
"\326\326\377\202\204\177\377\202\204\177\377\354\362\370\377Bc\250\377"
|
||||
"u\233\316\377]\206\302\377S}\274\377Fq\264\377Bc\250\377\354\362\370"
|
||||
"\377\202\204\177\377\202\204\177\377\202\204\177\377\202\204\177\377"
|
||||
"\202\204\177\377\202\204\177\377\302\303\300\377\202\204\177\377\354"
|
||||
"\362\370\377Bc\250\377Dr\266\377Dq\267\377Dq\267\377Dq\267\377Bc\250"
|
||||
"\377\353\361\367\377\202\204\177\377\353\353\353\377\353\353\353\377"
|
||||
"\353\353\353\377\206\251\306\377\5T\225\377j{\204\377\202\204\177\377"
|
||||
"\353\361\367\377<]\244\377Bc\250\377Bc\250\377Bc\250\377Bc\250\377<]"
|
||||
"\244\377\353\361\367\377k~\207\377\261\302\317\377\331\331\331\377\177"
|
||||
"\244\301\377\31y\265\377;\310\365\377\14_\240\377\202\204\177\377\326"
|
||||
"\326\326\377\353\361\367\377\353\361\367\377\353\361\367\377\353\361"
|
||||
"\367\377\353\361\367\377\353\361\367\377\326\326\326\377\27m\256\377"
|
||||
"\37\203\277\377Ky\231\377\37\203\277\377F\313\365\377'\207\300\377Sy"
|
||||
"\223\377\265\266\263\377\202\204\177\377\202\204\177\377\202\204\177"
|
||||
"\377\202\204\177\377\202\204\177\377\202\204\177\377\202\204\177\377"
|
||||
"\202\204\177\377\"|\273\377q\327\365\377@\220\300\377S\317\365\377-\220"
|
||||
"\313\377\235\304\340\377\377\377\377\0\202\204\177\377\363\363\363\377"
|
||||
"\353\353\353\377\353\353\353\377\353\353\353\377\353\353\353\377\353"
|
||||
"\353\353\377\353\353\353\377\355\355\355\377,\212\312\377e\304\351\377"
|
||||
"u\330\365\377D\221\300\377\220\301\342\377\377\377\377\0\377\377\377"
|
||||
"\0\202\204\177\377\331\331\331\377\331\331\331\377\331\331\331\377\331"
|
||||
"\331\331\377\331\331\331\377\331\331\331\377\331\331\331\377\331\331"
|
||||
"\331\3776\226\326\377\222\341\365\377y\316\355\377\223\341\365\377M\250"
|
||||
"\336\377\327\353\367\377\377\377\377\0\202\204\177\377\202\204\177\377"
|
||||
"\202\204\177\377\202\204\177\377\202\204\177\377\202\204\177\377\202"
|
||||
"\204\177\377\202\204\177\377\202\204\177\377X\224\270\377=\237\337\377"
|
||||
"=\237\337\377=\237\337\377=\237\337\377\330\353\370\377\377\377\377\0"};
|
||||
|
||||
|
||||
/* GdkPixbuf RGBA C-Source image dump */
|
||||
|
||||
#ifdef __SUNPRO_C
|
||||
#pragma align 4 (remote_globe_pb_data)
|
||||
#endif
|
||||
#ifdef __GNUC__
|
||||
static const guint8 remote_globe_pb_data[] __attribute__ ((__aligned__ (4))) =
|
||||
#else
|
||||
static const guint8 remote_globe_pb_data[] =
|
||||
#endif
|
||||
{ ""
|
||||
/* Pixbuf magic (0x47646b50) */
|
||||
"GdkP"
|
||||
/* length: header (24) + pixel_data (1024) */
|
||||
"\0\0\4\30"
|
||||
/* pixdata_type (0x1010002) */
|
||||
"\1\1\0\2"
|
||||
/* rowstride (64) */
|
||||
"\0\0\0@"
|
||||
/* width (16) */
|
||||
"\0\0\0\20"
|
||||
/* height (16) */
|
||||
"\0\0\0\20"
|
||||
/* pixel_data: */
|
||||
"\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\364\371\376"
|
||||
"\377\245\324\365\377Y\252\354\377<\227\347\3770\217\346\377<\227\347"
|
||||
"\377Y\252\354\377\245\324\365\377\364\371\376\377\377\377\377\0\377\377"
|
||||
"\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\323\351"
|
||||
"\370\377K\234\341\377B\224\336\377k\263\330\377\202\301\330\377\212\305"
|
||||
"\324\377\220\336\260\377v\310\277\377F\234\323\377K\234\341\377\323\351"
|
||||
"\370\377\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\323"
|
||||
"\347\365\377>\213\316\377Y\237\316\377w\275\270\377\202\333\232\377y"
|
||||
"\274\320\377v\260\341\377\204\324\246\377\207\343\222\377\212\343\227"
|
||||
"\377d\267\270\377>\213\316\377\323\347\365\377\377\377\377\0\377\377"
|
||||
"\377\0\363\370\373\377F\207\304\377R\233\266\377T\245\247\377m\317\213"
|
||||
"\377\200\337\220\377x\274\307\377|\303\277\377\202\326\237\377\177\334"
|
||||
"\220\377t\336\201\377k\334x\377Y\256\244\377F\207\304\377\363\370\373"
|
||||
"\377\220\221\216\377ce`\377ce`\377ce`\377ce`\377ce`\377ce`\377ce`\377"
|
||||
"ce`\377g\211h\377P\225\242\377V\303v\377Q\327`\377V\322i\3772l\253\377"
|
||||
"\240\301\334\377ce`\377\264\264\263\377\343\354\364\377\343\354\364\377"
|
||||
"\343\354\364\377\343\354\364\377\343\354\364\377\343\354\364\377\307"
|
||||
"\307\307\377ce`\3770n\240\377@\311T\3774\262Y\377+\226m\377>\205\234"
|
||||
"\377Q}\256\377ce`\377\343\354\364\377)B\210\377-G\214\377-G\214\377-"
|
||||
"G\214\377-G\214\377)B\210\377\347\360\365\377ce`\377.\316=\377)\275A"
|
||||
"\377\34tw\377\33i\233\3774v\267\3771\\\217\377ce`\377\345\355\365\377"
|
||||
"-G\214\377Tz\272\377Tz\270\377Tz\272\377Tz\272\377-G\214\377\345\355"
|
||||
"\365\377ce`\377\27\204S\377\32\2672\377\21N\227\377\25yl\377(j\244\377"
|
||||
"$L\177\377ce`\377\345\355\365\377-G\214\377W}\274\377Bg\255\377:_\245"
|
||||
"\3770S\233\377-G\214\377\345\355\365\377ce`\377\23\210N\377\22\262)\377"
|
||||
"\16Sz\377\21\301\35\377#\246A\3770V\207\377ce`\377\345\355\365\377-G"
|
||||
"\214\377/T\235\377/S\237\377/S\237\377/S\237\377-G\214\377\343\354\364"
|
||||
"\377ce`\377\31\200q\377\25nk\377\17\2223\377\15\270\30\377\40\224B\377"
|
||||
"Nt\240\377ce`\377\343\354\364\377)B\210\377-G\214\377-G\214\377-G\214"
|
||||
"\377-G\214\377)B\210\377\343\354\364\377ce`\377+u\313\377\"b\256\377"
|
||||
"\21\253\33\377\23\253\34\377\40bk\377\235\270\322\377ce`\377\307\307"
|
||||
"\307\377\343\354\364\377\343\354\364\377\343\354\364\377\343\354\364"
|
||||
"\377\343\354\364\377\343\354\364\377\307\307\307\377ce`\377>\210\337"
|
||||
"\3771o\310\377\33\237\"\377\35}K\377Ao\246\377\363\367\371\377\234\235"
|
||||
"\232\377ce`\377ce`\377ce`\377ce`\377ce`\377ce`\377ce`\377ce`\377\\\177"
|
||||
"\242\377M\224\352\377>{\326\377${U\3771k\241\377\320\341\356\377\377"
|
||||
"\377\377\0ce`\377\356\356\356\377\343\343\343\377\343\343\343\377\343"
|
||||
"\343\343\377\343\343\343\377\343\343\343\377\343\343\343\377\346\346"
|
||||
"\346\377ce`\377\77\203\334\377*h\270\377A{\273\377\320\342\360\377\377"
|
||||
"\377\377\0\377\377\377\0ce`\377\313\313\313\377\313\313\313\377\313\313"
|
||||
"\313\377\313\313\313\377\313\313\313\377\313\313\313\377\313\313\313"
|
||||
"\377\313\313\313\377ce`\377N\213\310\377\235\303\343\377\363\370\373"
|
||||
"\377\377\377\377\0\377\377\377\0\377\377\377\0ce`\377ce`\377ce`\377c"
|
||||
"e`\377ce`\377ce`\377ce`\377ce`\377ce`\377ce`\377\377\377\377\0\377\377"
|
||||
"\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0"};
|
||||
|
||||
|
||||
/* GdkPixbuf RGBA C-Source image dump */
|
||||
|
||||
#ifdef __SUNPRO_C
|
||||
#pragma align 4 (remote_sat_pb_data)
|
||||
#endif
|
||||
#ifdef __GNUC__
|
||||
static const guint8 remote_sat_pb_data[] __attribute__ ((__aligned__ (4))) =
|
||||
#else
|
||||
static const guint8 remote_sat_pb_data[] =
|
||||
#endif
|
||||
{ ""
|
||||
/* Pixbuf magic (0x47646b50) */
|
||||
"GdkP"
|
||||
/* length: header (24) + pixel_data (1024) */
|
||||
"\0\0\4\30"
|
||||
/* pixdata_type (0x1010002) */
|
||||
"\1\1\0\2"
|
||||
/* rowstride (64) */
|
||||
"\0\0\0@"
|
||||
/* width (16) */
|
||||
"\0\0\0\20"
|
||||
/* height (16) */
|
||||
"\0\0\0\20"
|
||||
/* pixel_data: */
|
||||
"\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377"
|
||||
"\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377"
|
||||
"\0\377\377\377\0\377\377\377\0\277\277\277\377\256\256\256\377\377\377"
|
||||
"\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377"
|
||||
"\377\0\370\370\370\377z\177\214\377do\207\377`j\177\377inz\377\242\244"
|
||||
"\251\377\377\377\377\0\311\317\337\377{\202\222\377\244\244\246\377\377"
|
||||
"\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0\377"
|
||||
"\377\377\0u{\212\377\240\303\355\377\246\311\363\377\251\313\363\377"
|
||||
"\251\311\361\377\203\233\304\377V`\202\377js\217\377x\202\247\377\363"
|
||||
"\364\367\377\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0"
|
||||
"\377\377\377\0\330\330\332\377\177\217\256\377\252\313\363\377\257\317"
|
||||
"\363\377\260\317\363\377\202\232\310\377\207\240\314\377\230\262\336"
|
||||
"\377s\207\262\377QYu\377\363\363\364\377\377\377\377\0\377\377\377\0"
|
||||
"\220\221\216\377ce`\377ce`\377ce`\377ce`\377ce`\377ce`\377ce`\377ce`"
|
||||
"\377}\204\210\377\221\247\320\377\232\262\334\377}\224\301\377TZi\377"
|
||||
"\352\352\352\377\377\377\377\0ce`\377\264\264\263\377\343\354\364\377"
|
||||
"\343\354\364\377\343\354\364\377\343\354\364\377\343\354\364\377\343"
|
||||
"\354\364\377\307\307\307\377ce`\377\311\336\367\377\241\270\336\377\214"
|
||||
"\244\317\377\244\277\345\377QUc\377\371\371\371\377ce`\377\343\354\364"
|
||||
"\377)B\210\377-G\214\377-G\214\377-G\214\377-G\214\377)B\210\377\347"
|
||||
"\360\365\377ce`\377\322\343\367\377\311\336\364\377\224\252\322\377\267"
|
||||
"\323\364\377\214\246\314\377orx\377ce`\377\345\355\365\377-G\214\377"
|
||||
"Tz\272\377Tz\270\377Tz\272\377Tz\272\377-G\214\377\345\355\365\377ce"
|
||||
"`\377\337\355\371\377\326\346\370\377\232\257\326\377\274\327\364\377"
|
||||
"\260\317\363\377NWk\377ce`\377\345\355\365\377-G\214\377W}\274\377Bg"
|
||||
"\255\377:_\245\3770S\233\377-G\214\377\345\355\365\377ce`\377\345\360"
|
||||
"\371\377\313\334\360\377\252\277\341\377\275\330\367\377\262\320\364"
|
||||
"\377l\201\244\377ce`\377\345\355\365\377-G\214\377/T\235\377/S\237\377"
|
||||
"/S\237\377/S\237\377-G\214\377\343\354\364\377ce`\377\222\240\274\377"
|
||||
"\273\313\343\377\303\330\363\377\275\330\364\377\260\320\364\377\\i\202"
|
||||
"\377ce`\377\343\354\364\377)B\210\377-G\214\377-G\214\377-G\214\377-"
|
||||
"G\214\377)B\210\377\343\354\364\377ce`\377ALv\377AMu\377Wd\214\377`r"
|
||||
"\233\377LXu\377rsu\377ce`\377\307\307\307\377\343\354\364\377\343\354"
|
||||
"\364\377\343\354\364\377\343\354\364\377\343\354\364\377\343\354\364"
|
||||
"\377\307\307\307\377ce`\377=Fg\3777@]\37749L\377BFO\377\235\235\235\377"
|
||||
"\377\377\377\0\234\235\232\377ce`\377ce`\377ce`\377ce`\377ce`\377ce`"
|
||||
"\377ce`\377ce`\377iq\201\377R^\207\377ISu\377\257\257\260\377\377\377"
|
||||
"\377\0\377\377\377\0\377\377\377\0ce`\377\356\356\356\377\343\343\343"
|
||||
"\377\343\343\343\377\343\343\343\377\343\343\343\377\343\343\343\377"
|
||||
"\343\343\343\377\346\346\346\377ce`\377R^\207\377R^\207\377Z]e\377\377"
|
||||
"\377\377\0\377\377\377\0\377\377\377\0ce`\377\313\313\313\377\313\313"
|
||||
"\313\377\313\313\313\377\313\313\313\377\313\313\313\377\313\313\313"
|
||||
"\377\313\313\313\377\313\313\313\377ce`\377KUy\377;AQ\377\233\234\234"
|
||||
"\377\377\377\377\0\377\377\377\0\377\377\377\0ce`\377ce`\377ce`\377c"
|
||||
"e`\377ce`\377ce`\377ce`\377ce`\377ce`\377ce`\377\230\230\232\377\352"
|
||||
"\352\352\377\377\377\377\0\377\377\377\0\377\377\377\0\377\377\377\0"};
|
||||
|
||||
|
|
@ -28,8 +28,10 @@
|
|||
#include <string.h>
|
||||
|
||||
#include "ui/gtk/stock_icons.h"
|
||||
#include "ui/gtk/toolbar_icons.h"
|
||||
#include "ui/gtk/wsicon.h"
|
||||
#ifndef HAVE_GRESOURCE
|
||||
#include "ui/gtk/pixbuf-csource.h"
|
||||
#endif
|
||||
#include "ui/gtk/gui_utils.h"
|
||||
|
||||
#include <wsutil/utf8_entities.h>
|
||||
|
||||
|
@ -90,8 +92,15 @@ typedef struct stock_pixmap_tag{
|
|||
|
||||
typedef struct stock_pixbuf_tag{
|
||||
const char * name;
|
||||
#ifdef HAVE_GRESOURCE
|
||||
struct {
|
||||
const char *p16; /* Optional */
|
||||
const char *p24; /* Mandatory */
|
||||
} path;
|
||||
#else
|
||||
const guint8 * pb_data16; /* Optional */
|
||||
const guint8 * pb_data24; /* Mandatory */
|
||||
#endif
|
||||
} stock_pixbuf_t;
|
||||
|
||||
/*
|
||||
|
@ -314,6 +323,41 @@ void stock_icons_init(void) {
|
|||
#endif
|
||||
|
||||
static const stock_pixbuf_t pixbufs[] = {
|
||||
#ifdef HAVE_GRESOURCE
|
||||
{ WIRESHARK_STOCK_ABOUT,
|
||||
{ "/org/wireshark/image/wsicon16.png",
|
||||
"/org/wireshark/image/wsicon24.png" }
|
||||
},
|
||||
{ WIRESHARK_STOCK_CAPTURE_INTERFACES,
|
||||
{ "/org/wireshark/image/toolbar/capture_interfaces_16.png",
|
||||
"/org/wireshark/image/toolbar/capture_interfaces_24.png" }
|
||||
},
|
||||
{ WIRESHARK_STOCK_CAPTURE_OPTIONS,
|
||||
{ "/org/wireshark/image/toolbar/16x16/x-capture-options.png",
|
||||
"/org/wireshark/image/toolbar/24x24/x-capture-options.png" }
|
||||
},
|
||||
{ WIRESHARK_STOCK_CAPTURE_RESTART,
|
||||
{ "/org/wireshark/image/toolbar/16x16/x-capture-restart.png",
|
||||
"/org/wireshark/image/toolbar/24x24/x-capture-restart.png" }
|
||||
},
|
||||
{ WIRESHARK_STOCK_CAPTURE_START,
|
||||
{ "/org/wireshark/image/toolbar/16x16/x-capture-start.png",
|
||||
"/org/wireshark/image/toolbar/24x24/x-capture-start.png" }
|
||||
},
|
||||
{ WIRESHARK_STOCK_CAPTURE_STOP,
|
||||
{ "/org/wireshark/image/toolbar/16x16/x-capture-stop.png",
|
||||
"/org/wireshark/image/toolbar/24x24/x-capture-stop.png" }
|
||||
},
|
||||
{ WIRESHARK_STOCK_SAVE,
|
||||
{ "/org/wireshark/image/toolbar/16x16/x-capture-file-save.png",
|
||||
"/org/wireshark/image/toolbar/24x24/x-capture-file-save.png" }
|
||||
},
|
||||
{ WIRESHARK_STOCK_WIKI,
|
||||
{ "/org/wireshark/image/toolbar/gnome_emblem_web_16.png",
|
||||
"/org/wireshark/image/toolbar/gnome_emblem_web_24.png" }
|
||||
},
|
||||
{ NULL, { NULL, NULL } }
|
||||
#else
|
||||
{ WIRESHARK_STOCK_ABOUT, wsicon_16_pb_data, wsicon_24_pb_data },
|
||||
{ WIRESHARK_STOCK_CAPTURE_INTERFACES, capture_interfaces_16_pb_data, capture_interfaces_24_pb_data },
|
||||
{ WIRESHARK_STOCK_CAPTURE_OPTIONS, capture_options_alt1_16_pb_data, capture_options_alt1_24_pb_data },
|
||||
|
@ -323,6 +367,7 @@ void stock_icons_init(void) {
|
|||
{ WIRESHARK_STOCK_SAVE, toolbar_wireshark_file_16_pb_data, toolbar_wireshark_file_24_pb_data},
|
||||
{ WIRESHARK_STOCK_WIKI, gnome_emblem_web_16_pb_data, gnome_emblem_web_24_pb_data },
|
||||
{ NULL, NULL, NULL }
|
||||
#endif
|
||||
};
|
||||
|
||||
/* New images should be PNGs + pixbufs above. Please don't add to this list. */
|
||||
|
@ -409,8 +454,12 @@ void stock_icons_init(void) {
|
|||
|
||||
/* Add pixbufs as builtin theme icons */
|
||||
for (i = 0; pixbufs[i].name != NULL; i++) {
|
||||
#ifdef HAVE_GRESOURCE
|
||||
GdkPixbuf * pixbuf24 = ws_gdk_pixbuf_new_from_resource(pixbufs[i].path.p24);
|
||||
#else
|
||||
GdkPixbuf * pixbuf24 = gdk_pixbuf_new_from_inline(-1, pixbufs[i].pb_data24, FALSE, NULL);
|
||||
g_assert(pixbuf24);
|
||||
#endif
|
||||
#if !GTK_CHECK_VERSION(3, WS_GTK3_MINOR_STOCK_DEPRECATION_STARTS, 0)
|
||||
icon_set = gtk_icon_set_new_from_pixbuf(pixbuf24);
|
||||
gtk_icon_factory_add (factory, pixbufs[i].name, icon_set);
|
||||
|
@ -419,10 +468,14 @@ void stock_icons_init(void) {
|
|||
/* Default image */
|
||||
gtk_icon_theme_add_builtin_icon(pixbufs[i].name, 24, pixbuf24);
|
||||
|
||||
|
||||
#ifdef HAVE_GRESOURCE
|
||||
if (pixbufs[i].path.p16 != NULL) {
|
||||
GdkPixbuf * pixbuf16 = ws_gdk_pixbuf_new_from_resource(pixbufs[i].path.p16);
|
||||
#else
|
||||
if (pixbufs[i].pb_data16) {
|
||||
GdkPixbuf * pixbuf16 = gdk_pixbuf_new_from_inline(-1, pixbufs[i].pb_data16, FALSE, NULL);
|
||||
g_assert(pixbuf16);
|
||||
#endif
|
||||
#if !GTK_CHECK_VERSION(3, WS_GTK3_MINOR_STOCK_DEPRECATION_STARTS, 0)
|
||||
source16 = gtk_icon_source_new();
|
||||
gtk_icon_source_set_pixbuf(source16, pixbuf16);
|
||||
|
|
File diff suppressed because it is too large
Load Diff
1644
ui/gtk/wsicon.h
1644
ui/gtk/wsicon.h
File diff suppressed because it is too large
Load Diff
1529
ui/gtk/wsiconcap.h
1529
ui/gtk/wsiconcap.h
File diff suppressed because it is too large
Load Diff
1867
ui/gtk/wssplash.h
1867
ui/gtk/wssplash.h
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue