diff options
author | Alexander Sack <asac@ubuntu.com> | 2009-09-18 02:46:47 +0200 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2009-09-24 22:42:51 -0700 |
commit | 3d87e3e5c577e058565df49792d1a97e50ee629f (patch) | |
tree | 6ada360c9c3b556e2f651a3bea82695eb4fa0eb2 | |
parent | 4da7e3f6a72d038d39786ed03b93566e0b981fef (diff) | |
download | network-manager-applet-3d87e3e5c577e058565df49792d1a97e50ee629f.tar.gz |
icons: add active-device icon for menu
-rw-r--r-- | icons/22/Makefile.am | 1 | ||||
-rw-r--r-- | icons/22/nm-active-device.png | bin | 0 -> 415 bytes | |||
-rw-r--r-- | src/applet.c | 2 | ||||
-rw-r--r-- | src/applet.h | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/icons/22/Makefile.am b/icons/22/Makefile.am index a7f4df61..66417b74 100644 --- a/icons/22/Makefile.am +++ b/icons/22/Makefile.am @@ -1,5 +1,6 @@ icondir=${datadir}/icons/hicolor/22x22/apps icon_DATA = \ + nm-active-device.png \ nm-no-connection.png \ nm-device-wired.png \ nm-device-wwan.png \ diff --git a/icons/22/nm-active-device.png b/icons/22/nm-active-device.png Binary files differnew file mode 100644 index 00000000..70e5a8fb --- /dev/null +++ b/icons/22/nm-active-device.png diff --git a/src/applet.c b/src/applet.c index 9460122a..3fb320eb 100644 --- a/src/applet.c +++ b/src/applet.c @@ -2422,6 +2422,8 @@ nma_icons_load (NMApplet *applet) ICON_LOAD(applet->wireless_100_icon, "nm-signal-100"); ICON_LOAD(applet->secure_lock_icon, "nm-secure-lock"); + ICON_LOAD(applet->active_device_icon, "nm-active-device"); + for (i = 0; i < NUM_CONNECTING_STAGES; i++) { for (j = 0; j < NUM_CONNECTING_FRAMES; j++) { char *name; diff --git a/src/applet.h b/src/applet.h index 2a09db3e..761d891c 100644 --- a/src/applet.h +++ b/src/applet.h @@ -103,6 +103,7 @@ typedef struct gboolean icons_loaded; GtkIconTheme * icon_theme; + GdkPixbuf * active_device_icon; GdkPixbuf * no_connection_icon; GdkPixbuf * wired_icon; GdkPixbuf * adhoc_icon; |