updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / network-manager-applet-notify-osd / strict_enum_check.patch
blob9bca275bdbc076eacd914e065f841529dd1de661
1 --- network-manager-applet-0.8.2/src/applet.c.orig 2010-11-22 08:28:00.231811667 -0500
2 +++ network-manager-applet-0.8.2/src/applet.c 2010-11-22 08:31:08.008478336 -0500
3 @@ -2039,7 +2036,7 @@
5 info->urgency = NOTIFY_URGENCY_LOW;
6 /* only do something if this is about full offline state */
7 - if(info->state != NM_STATE_UNKNOWN || info->device_state != NM_STATE_UNKNOWN) {
8 + if(info->state != NM_STATE_UNKNOWN || info->device_state != NM_DEVICE_STATE_UNKNOWN) {
9 info->urgency = NOTIFY_URGENCY_NORMAL;
10 if (!info->title)
11 info->title = g_strdup (_("Network"));