updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / network-manager-applet-notify-osd / notify_without_statusicon.patch
blob747cc3c4ad6e71fcbdfa26e5e6da493dcecffa6d
1 --- A/src/applet.c.orig 2011-01-12 07:36:27.110312975 -0500
2 +++ B/src/applet.c 2011-01-12 07:37:37.110312978 -0500
3 @@ -621,9 +621,6 @@
4 g_return_if_fail (summary != NULL);
5 g_return_if_fail (message != NULL);
7 - if (!gtk_status_icon_is_embedded (applet->status_icon))
8 - return;
10 escaped = utils_escape_notify_message (message);
11 if (applet->notification == NULL) {
12 notify = notify_notification_new (summary,
13 @@ -642,7 +639,10 @@
15 g_free (escaped);
17 - notify_notification_attach_to_status_icon (notify, applet->status_icon);
18 + if (gtk_status_icon_is_embedded (applet->status_icon)) {
19 + notify_notification_attach_to_status_icon (notify, applet->status_icon);
20 + }
22 notify_notification_set_urgency (notify, urgency);
23 notify_notification_set_timeout (notify, NOTIFY_EXPIRES_DEFAULT);