summaryrefslogtreecommitdiff
path: root/ui/gtk/main_welcome.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gtk/main_welcome.c')
-rw-r--r--ui/gtk/main_welcome.c16
1 files changed, 12 insertions, 4 deletions
diff --git a/ui/gtk/main_welcome.c b/ui/gtk/main_welcome.c
index d5fcae42fd..82615d989a 100644
--- a/ui/gtk/main_welcome.c
+++ b/ui/gtk/main_welcome.c
@@ -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);