Subject: | support app_icon |
Hi, I added code for app_icon.
app_icon in Net::DBus protocol is defined as struct "()".
I checked this patch with Growl::Any on my linux box.
Please check and include.
- Yasuhiro Matsumoto
Subject: | Desktop-Notify-0.03-support-icon.diff |
diff -ur Desktop-Notify-0.03.orig/lib/Desktop/Notify/Notification.pm Desktop-Notify-0.03/lib/Desktop/Notify/Notification.pm
--- Desktop-Notify-0.03.orig/lib/Desktop/Notify/Notification.pm 2009-12-25 10:09:23.000000000 +0900
+++ Desktop-Notify-0.03/lib/Desktop/Notify/Notification.pm 2011-03-18 20:15:24.204303495 +0900
@@ -5,7 +5,7 @@
use base qw/Class::Accessor/;
-Desktop::Notify::Notification->mk_accessors(qw/summary body timeout/);
+Desktop::Notify::Notification->mk_accessors(qw/summary body timeout app_icon/);
=head1 NAME
@@ -78,7 +78,7 @@
$self->{id} = $self->{server}->{notify}
->Notify($self->{server}->{app_name},
$self->{id} || 0,
- '',
+ ($self->{app_icon} || ''),
$self->{summary},
$self->{body},
[],