updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / network-manager-applet-notify-osd / lp358526_generic_disconnected_notification_icon.patch
blob93b143996c8d6b8533868af216a805b5c2ee5896
1 Index: network-manager-applet-0.7.1~rc4.1/src/applet.c
2 ===================================================================
3 --- network-manager-applet-0.7.1~rc4.1.orig/src/applet.c
4 +++ network-manager-applet-0.7.1~rc4.1/src/applet.c
5 @@ -1974,7 +1974,7 @@
6 applet->icon_layers[layer] = g_object_ref (pixbuf);
8 if (!applet->icon_layers[0]) {
9 - nma_icon_check_and_load ("nm-no-connection", &applet->no_connection_icon, applet);
10 + nma_icon_check_and_load ("notification-network-disconnected", &applet->no_connection_icon, applet);
11 pixbuf = g_object_ref (applet->no_connection_icon);
12 } else {
13 pixbuf = gdk_pixbuf_copy (applet->icon_layers[0]);
14 @@ -2060,7 +2060,7 @@
15 info->icon = "notification-gsm-disconnected";
16 break;
17 default:
18 - info->icon = "nm-no-connection";
19 + info->icon = "notification-network-disconnected";
20 break;
22 g_debug("going for offline with icon: %s", info->icon);
23 @@ -2560,11 +2560,11 @@
24 switch (state) {
25 case NM_STATE_UNKNOWN:
26 case NM_STATE_ASLEEP:
27 - pixbuf = nma_icon_check_and_load ("nm-no-connection", &applet->no_connection_icon, applet);
28 + pixbuf = nma_icon_check_and_load ("notification-network-disconnected", &applet->no_connection_icon, applet);
29 dev_tip = g_strdup (_("Networking disabled"));
30 break;
31 case NM_STATE_DISCONNECTED:
32 - pixbuf = nma_icon_check_and_load ("nm-no-connection", &applet->no_connection_icon, applet);
33 + pixbuf = nma_icon_check_and_load ("notification-network-disconnected", &applet->no_connection_icon, applet);
34 dev_tip = g_strdup (_("No network connection"));
35 break;
36 default: