Update all pkgs requiring libnotify to the 0.7 API.
--HG-- branch : gnome3
This commit is contained in:
parent
c9e501b6a7
commit
a45ea7812a
16 changed files with 79 additions and 29 deletions
18
srcpkgs/xfce4-power-manager/patches/libnotify-0.7.patch
Normal file
18
srcpkgs/xfce4-power-manager/patches/libnotify-0.7.patch
Normal file
|
@ -0,0 +1,18 @@
|
|||
--- src/xfpm-notify.c.orig 2011-02-28 23:43:55.521921469 +0100
|
||||
+++ src/xfpm-notify.c 2011-02-28 23:44:16.343032607 +0100
|
||||
@@ -209,14 +209,11 @@ xfpm_notify_new_notification_internal (c
|
||||
{
|
||||
NotifyNotification *n;
|
||||
|
||||
- n = notify_notification_new (title, message, NULL, NULL);
|
||||
+ n = notify_notification_new (title, message, NULL);
|
||||
|
||||
if ( icon_name )
|
||||
xfpm_notify_set_notification_icon (n, icon_name);
|
||||
|
||||
- if ( icon )
|
||||
- notify_notification_attach_to_status_icon (n, icon);
|
||||
-
|
||||
notify_notification_set_urgency (n, (NotifyUrgency)urgency);
|
||||
|
||||
if ( timeout != 0)
|
Loading…
Add table
Add a link
Reference in a new issue