aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/capture_if_dlg.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2009-02-13 21:35:41 +0000
committerUlf Lamping <ulf.lamping@web.de>2009-02-13 21:35:41 +0000
commit974a0d94a7f58834488e698cd92c281ae322c3c1 (patch)
tree6cc5a6b842b2fc621171317f283374ba28e204c3 /gtk/capture_if_dlg.c
parentb20c4d6898d1f7f4226767f43cc56923e2fe7650 (diff)
downloadwireshark-974a0d94a7f58834488e698cd92c281ae322c3c1.tar.gz
wireshark-974a0d94a7f58834488e698cd92c281ae322c3c1.tar.bz2
wireshark-974a0d94a7f58834488e698cd92c281ae322c3c1.zip
add a (Windows only) bluetooth network interface icon
svn path=/trunk/; revision=27447
Diffstat (limited to 'gtk/capture_if_dlg.c')
-rw-r--r--gtk/capture_if_dlg.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/gtk/capture_if_dlg.c b/gtk/capture_if_dlg.c
index 9bb8670bb0..2fb85577ba 100644
--- a/gtk/capture_if_dlg.c
+++ b/gtk/capture_if_dlg.c
@@ -80,7 +80,9 @@
#if defined(_WIN32) || defined(__APPLE__)
#include "../image/toolbar/network_virtual_16.xpm"
#endif
-
+#if defined(_WIN32)
+#include "../image/toolbar/network_bluetooth_16.xpm"
+#endif
/* new buttons to be used instead of labels for 'Capture','Prepare',' */
/*#include "../image/toolbar/capture_capture_16.xpm"*/
@@ -390,6 +392,9 @@ GtkWidget * capture_get_if_icon(const if_info_t* if_info _U_)
if ( strstr(if_info->description,"VMware") != NULL) {
return xpm_to_widget(network_virtual_16_xpm);
}
+ if ( strstr(if_info->description,"Bluetooth") != NULL) {
+ return xpm_to_widget(network_bluetooth_16_xpm);
+ }
#elif defined(__APPLE__)
/*
* XXX - yes, fetching all the network addresses for an interface