[network-manager-applet/menu-rework: 4/18] icons: add active-device icon for menu



commit 3d87e3e5c577e058565df49792d1a97e50ee629f
Author: Alexander Sack <asac ubuntu com>
Date:   Fri Sep 18 02:46:47 2009 +0200

    icons: add active-device icon for menu

 icons/22/Makefile.am          |    1 +
 icons/22/nm-active-device.png |  Bin 0 -> 415 bytes
 src/applet.c                  |    2 ++
 src/applet.h                  |    1 +
 4 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/icons/22/Makefile.am b/icons/22/Makefile.am
index a7f4df6..66417b7 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
new file mode 100644
index 0000000..70e5a8f
Binary files /dev/null and b/icons/22/nm-active-device.png differ
diff --git a/src/applet.c b/src/applet.c
index 9460122..3fb320e 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 2a09db3..761d891 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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]