From 239af23e52c6ad02caef440117bb35d4c9afac81 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 16 Apr 2013 18:20:50 +0200 Subject: use the new icons --- netlink-notify.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/netlink-notify.c b/netlink-notify.c index 9679a45..cabde0f 100644 --- a/netlink-notify.c +++ b/netlink-notify.c @@ -24,8 +24,8 @@ #define DEBUG 0 #endif -#define ICON_NETWORK_ONLINE "network-transmit-receive" -#define ICON_NETWORK_OFFLINE "network-error" +#define ICON_NETWORK_CONNECTED "netlink-notify-connected" +#define ICON_NETWORK_DISCONNECTED "netlink-notify-disconnected" #define TEXT_TOPIC "Netlink Notification" #define TEXT_NOTIFICATION "Interface %s is %s." @@ -89,11 +89,11 @@ static int data_cb(const struct nlmsghdr * nlh, void * data) { } if (notificationref[ifm->ifi_index] == 0) { - notification = notify_notification_new(TEXT_TOPIC, notifystr, (ifm->ifi_flags & IFF_RUNNING ? ICON_NETWORK_ONLINE : ICON_NETWORK_OFFLINE)); + notification = notify_notification_new(TEXT_TOPIC, notifystr, (ifm->ifi_flags & IFF_RUNNING ? ICON_NETWORK_CONNECTED : ICON_NETWORK_DISCONNECTED)); notificationref[ifm->ifi_index] = (size_t)notification; } else { notification = (NotifyNotification *)notificationref[ifm->ifi_index]; - notify_notification_update(notification, TEXT_TOPIC, notifystr, (ifm->ifi_flags & IFF_RUNNING ? ICON_NETWORK_ONLINE : ICON_NETWORK_OFFLINE)); + notify_notification_update(notification, TEXT_TOPIC, notifystr, (ifm->ifi_flags & IFF_RUNNING ? ICON_NETWORK_CONNECTED : ICON_NETWORK_DISCONNECTED)); } notify_notification_set_timeout(notification, NOTIFICATION_TIMEOUT); -- cgit v1.2.3-70-g09d2