Add a USB network icon.
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 12 Nov 2009 18:10:34 +0000 (18:10 +0000)
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 12 Nov 2009 18:10:34 +0000 (18:10 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30941 f5534014-38df-0310-8fa8-9805f1628bb7

Makefile.am
gtk/Makefile.am
gtk/network_icons.h
image/toolbar/network_usb.svg [new file with mode: 0644]
image/toolbar/network_usb_16.png [new file with mode: 0644]

index 94cc3e256adbf45b59281c1a2e744b16cb1f167e..1f2cf5027c1005b89384aecf103c84b74645b0fd 100644 (file)
@@ -741,6 +741,8 @@ EXTRA_DIST = \
        image/toolbar/modem_16.png      \
        image/toolbar/modem_16.xpm      \
        image/toolbar/network_bluetooth_16.png  \
+       image/toolbar/network_usb.svg           \
+       image/toolbar/network_usb_16.png        \
        image/toolbar/network_virtual_16.xpm    \
        image/toolbar/network_wired_16.png      \
        image/toolbar/network_wireless_16.png   \
index eb8ee9714d9a351f1e63d9b7b765f007c450da2f..29019140dfd356d857877cf1f7cb31c6277bc2df 100644 (file)
@@ -76,6 +76,6 @@ expert_indicators.h:
 network_icons.h:
        echo "/* This file was automatically generated. DO NOT EDIT. */" > $@
        echo >> $@
-       for icon in bluetooth wired wireless ; do \
+       for icon in bluetooth usb wired wireless ; do \
                gdk-pixbuf-csource --raw --name=network_$${icon}_pb_data ../image/toolbar/network_$${icon}_16.png >> $@ ;\
        done
index 6f8daf2b556ce3db58adbb76bc66ee8c3fdf7182..1f430e683d126987395a19fe04306fc5452881ad 100644 (file)
@@ -65,6 +65,79 @@ static const guint8 network_bluetooth_pb_data[] =
   "&\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 (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: */
+  "\223\223\223\0\223\223\223\0\223\223\223\0\223\223\223\0\223\223\223"
+  "\0]_[\344mok\340qso\340uwr\340xzv\340cea\344\223\223\223\0\223\223\223"
+  "\0\223\223\223\0\223\223\223\0\223\223\223\0\223\223\223\0\223\223\223"
+  "\0\223\223\223\0\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\223\223\223\0\223\223\223\0\223\223\223\0\223\223"
+  "\223\0\223\223\223\0\223\223\223\0\223\223\223\0\223\223\223\0|~z\340"
+  "UWS\377\302\302\277\377\312\313\310\377UWS\377\217\220\214\340\223\223"
+  "\223\0\223\223\223\0\223\223\223\0\223\223\223\0\223\223\223\0\223\223"
+  "\223\0\223\223\223\0\223\223\223\0\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\223\223\223\0\223\223"
+  "\223\0\223\223\223\0\223\223\223\0\223\223\223\0\223\223\223\0\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\223\223"
+  "\223\0\223\223\223\0\223\223\223\0\223\223\223\0\223\223\223\0\223\223"
+  "\223\0\223\223\223\0\223\223\223\0\"M\2125>[\201\364Lh\217\363Lh\217"
+  "\363Lh\217\363Lh\217\363>[\201\364\"M\2125\223\223\223\0\223\223\223"
+  "\0\223\223\223\0\223\223\223\0\223\223\223\0\223\223\223\0\223\223\223"
+  "\0\223\223\223\0'S\221\3254e\244\3774e\244\3774e\244\3774e\244\3774e"
+  "\244\3774e\244\377'S\221\325\223\223\223\0\223\223\223\0\223\223\223"
+  "\0\223\223\223\0\223\223\223\0\223\223\223\0\223\223\223\0\223\223\223"
+  "\0)V\223\3374e\244\3774e\244\3774e\244\3774e\244\3774e\244\3774e\244"
+  "\377)V\223\337\223\223\223\0\223\223\223\0\223\223\223\0\223\223\223"
+  "\0\223\223\223\0\223\223\223\0\223\223\223\0\223\223\223\0)V\223\337"
+  "4e\244\3774e\244\3774e\244\3774e\244\3774e\244\3774e\244\377)V\223\337"
+  "\223\223\223\0\223\223\223\0\223\223\223\0\223\223\223\0\223\223\223"
+  "\0\223\223\223\0\223\223\223\0\223\223\223\0)V\223\3374e\244\3774e\244"
+  "\3774e\244\3774e\244\3774e\244\3774e\244\377)V\223\337\223\223\223\0"
+  "\223\223\223\0\223\223\223\0\223\223\223\0\223\223\223\0\223\223\223"
+  "\0\223\223\223\0\223\223\223\0)V\223\3374e\244\3774e\244\3774e\244\377"
+  "4e\244\3774e\244\3774e\244\377)V\223\337\223\223\223\0\223\223\223\0"
+  "\223\223\223\0\223\223\223\0\223\223\223\0\223\223\223\0\223\223\223"
+  "\0\223\223\223\0)V\223\3374e\244\3774e\244\3774e\244\3774e\244\3774e"
+  "\244\3774e\244\377)V\223\337\223\223\223\0\223\223\223\0\223\223\223"
+  "\0\223\223\223\0\223\223\223\0\223\223\223\0\223\223\223\0\223\223\223"
+  "\0)V\223\3374e\244\3774e\244\3774e\244\3774e\244\3774e\244\3774e\244"
+  "\377)V\223\337\223\223\223\0\223\223\223\0\223\223\223\0\223\223\223"
+  "\0\223\223\223\0\223\223\223\0\223\223\223\0\223\223\223\0)V\223\337"
+  "4e\244\3774e\244\3774e\244\3774e\244\3774e\244\3774e\244\377)V\223\337"
+  "\223\223\223\0\223\223\223\0\223\223\223\0\223\223\223\0\223\223\223"
+  "\0\223\223\223\0\223\223\223\0\223\223\223\0(U\223\3354e\244\3774e\244"
+  "\3774e\244\3774e\244\3774e\244\3774e\244\377(U\223\335\223\223\223\0"
+  "\223\223\223\0\223\223\223\0\223\223\223\0\223\223\223\0\223\223\223"
+  "\0\223\223\223\0\223\223\223\0%Q\216\243(U\223\335)V\224\337)V\224\337"
+  ")V\224\337)V\224\337(U\223\335%Q\216\243\223\223\223\0\223\223\223\0"
+  "\223\223\223\0\223\223\223\0"};
+
+
 /* GdkPixbuf RGBA C-Source image dump */
 
 #ifdef __SUNPRO_C
diff --git a/image/toolbar/network_usb.svg b/image/toolbar/network_usb.svg
new file mode 100644 (file)
index 0000000..5fe5c00
--- /dev/null
@@ -0,0 +1,126 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:xlink="http://www.w3.org/1999/xlink"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   width="16"
+   height="16"
+   id="svg2"
+   sodipodi:version="0.32"
+   inkscape:version="0.46"
+   version="1.0"
+   sodipodi:docname="network_usb.svg"
+   inkscape:output_extension="org.inkscape.output.svg.inkscape"
+   inkscape:export-filename="/Users/gerald/Development/wireshark/image/toolbar/network_usb_16.png"
+   inkscape:export-xdpi="90"
+   inkscape:export-ydpi="90">
+  <defs
+     id="defs4">
+    <linearGradient
+       id="linearGradient3252">
+      <stop
+         style="stop-color:#888a85;stop-opacity:1"
+         offset="0"
+         id="stop3254" />
+      <stop
+         style="stop-color:#eeeeec;stop-opacity:1"
+         offset="1"
+         id="stop3256" />
+    </linearGradient>
+    <inkscape:perspective
+       sodipodi:type="inkscape:persp3d"
+       inkscape:vp_x="0 : 526.18109 : 1"
+       inkscape:vp_y="0 : 1000 : 0"
+       inkscape:vp_z="744.09448 : 526.18109 : 1"
+       inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
+       id="perspective10" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient3252"
+       id="linearGradient3303"
+       x1="6.3700194"
+       y1="0.25996122"
+       x2="8"
+       y2="4.3306699"
+       gradientUnits="userSpaceOnUse" />
+  </defs>
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#939393"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     gridtolerance="10000"
+     guidetolerance="10"
+     objecttolerance="10"
+     inkscape:pageopacity="0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="22.627417"
+     inkscape:cx="9.5090068"
+     inkscape:cy="7.3308523"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer1"
+     showgrid="false"
+     inkscape:window-width="1086"
+     inkscape:window-height="761"
+     inkscape:window-x="234"
+     inkscape:window-y="503" />
+  <metadata
+     id="metadata7">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1">
+    <rect
+       style="fill:url(#linearGradient3303);fill-opacity:1;stroke:#555753;stroke-width:0.50000000000000000;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+       id="rect2387"
+       width="5.5"
+       height="5.5"
+       x="5.25"
+       y="0.25000003" />
+    <rect
+       style="fill:#3465a4;fill-opacity:1;stroke:#204a87;stroke-width:0.5;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.99588479"
+       id="rect3260"
+       width="7.5"
+       height="10"
+       x="4.25"
+       y="5.75"
+       rx="1"
+       ry="1" />
+    <rect
+       style="fill:#555753;fill-opacity:1;stroke:none;stroke-width:0.50000000000000000;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+       id="rect3262"
+       width="1"
+       height="1"
+       x="6"
+       y="2" />
+    <rect
+       y="2"
+       x="9"
+       height="1"
+       width="1"
+       id="rect3264"
+       style="fill:#555753;fill-opacity:1;stroke:none;stroke-width:0.50000000000000000;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+    <rect
+       style="fill:#555753;fill-opacity:1;stroke:none;stroke-width:0.50000000000000000;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+       id="rect3266"
+       width="1.5"
+       height="0.5"
+       x="7.25"
+       y="3.5" />
+  </g>
+</svg>
diff --git a/image/toolbar/network_usb_16.png b/image/toolbar/network_usb_16.png
new file mode 100644 (file)
index 0000000..37a8637
Binary files /dev/null and b/image/toolbar/network_usb_16.png differ