Update all pkgs requiring libnotify to the 0.7 API.

--HG--
branch : gnome3
This commit is contained in:
Juan RP
2011-03-01 00:26:33 +01:00
parent c9e501b6a7
commit a45ea7812a
16 changed files with 79 additions and 29 deletions

View 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);

View File

@@ -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