Update all pkgs requiring libnotify to the 0.7 API.
--HG-- branch : gnome3
This commit is contained in:
16
srcpkgs/network-manager-applet/patches/libnotify-0.7.patch
Normal file
16
srcpkgs/network-manager-applet/patches/libnotify-0.7.patch
Normal file
@@ -0,0 +1,16 @@
|
||||
--- src/applet.c.orig 2011-03-01 00:01:37.106389077 +0100
|
||||
+++ src/applet.c 2011-03-01 00:01:58.380344793 +0100
|
||||
@@ -626,12 +626,10 @@ applet_do_notify (NMApplet *applet,
|
||||
escaped = utils_escape_notify_message (message);
|
||||
notify = notify_notification_new (summary,
|
||||
escaped,
|
||||
- icon ? icon : GTK_STOCK_NETWORK,
|
||||
- NULL);
|
||||
+ icon ? icon : GTK_STOCK_NETWORK);
|
||||
g_free (escaped);
|
||||
applet->notification = notify;
|
||||
|
||||
- notify_notification_attach_to_status_icon (notify, applet->status_icon);
|
||||
notify_notification_set_urgency (notify, urgency);
|
||||
notify_notification_set_timeout (notify, NOTIFY_EXPIRES_DEFAULT);
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
# Template file for 'network-manager-applet'
|
||||
pkgname=network-manager-applet
|
||||
version=0.8.2
|
||||
revision=1
|
||||
distfiles="${GNOME_SITE}/$pkgname/0.8/$pkgname-$version.tar.bz2"
|
||||
build_style=gnu_configure
|
||||
configure_args="--disable-schemas-install --localstatedir=/var
|
||||
|
||||
Reference in New Issue
Block a user