xfce4-power-manager: update to 1.0.10.

This commit is contained in:
Juan RP 2011-05-18 11:27:48 +02:00
parent 94e6f73061
commit fcb58fbfc1
3 changed files with 16 additions and 21 deletions

View File

@ -1,18 +0,0 @@
--- 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)

View File

@ -0,0 +1,14 @@
diff --git a/src/xfpm-notify.c b/src/xfpm-notify.c
index c93a843..311b0fd 100644
--- src/xfpm-notify.c
+++ src/xfpm-notify.c
@@ -233,9 +233,6 @@ xfpm_notify_new_notification_internal (const gchar *title, const gchar *message,
#if !NOTIFY_CHECK_VERSION (0, 7, 0)
if ( icon )
notify_notification_attach_to_status_icon (n, icon);
-#else
- if ( icon )
- notify_notification_attach_to_status_icon (n, icon);
#endif
#endif

View File

@ -1,14 +1,13 @@
# Template file for 'xfce4-power-manager'
pkgname=xfce4-power-manager
version=1.0.3
revision=1
version=1.0.10
distfiles="http://archive.xfce.org/src/apps/${pkgname}/1.0/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--localstatedir=/var --enable-polkit --enable-dpms
--disable-debug --enable-network-manager --disable-static"
short_desc="Xfce power manager"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=9bb7487a652337335c00aafa4152e3ad0eaf24525a38d8df646e4950c42d61cf
checksum=80e4bb44f81c485ec09654dde432d6e28667d49a787625632a4413aac30422f0
long_desc="
$pkgname is the power manager for the Xfce desktop environment."