diff options
author | Thierry Vignaud <tv@mageia.org> | 2011-12-10 05:40:47 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2011-12-10 05:40:47 +0000 |
commit | aad8c7c275453a7586841afd0e8d1945e584db8d (patch) | |
tree | 7c3b1ef1f12d24612d0cc90d96f683b091334243 /perl-install | |
parent | 79296e6c87f45c1139a3784035535755f1a1db92 (diff) | |
download | drakx-aad8c7c275453a7586841afd0e8d1945e584db8d.tar drakx-aad8c7c275453a7586841afd0e8d1945e584db8d.tar.gz drakx-aad8c7c275453a7586841afd0e8d1945e584db8d.tar.bz2 drakx-aad8c7c275453a7586841afd0e8d1945e584db8d.tar.xz drakx-aad8c7c275453a7586841afd0e8d1945e584db8d.zip |
(Gtk2::Notify::Queue->show) prevent net_applet to crash on notifications without icons (mga#2876)
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/NEWS | 2 | ||||
-rw-r--r-- | perl-install/ugtk2.pm | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS index d7328018e..b1fe135c7 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,5 @@ +- prevent net_applet to crash on notifications without icons (mga#2876) + Version 13.71 - 04 December 2011 - service_harddrake: diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm index 5199068e5..b36927411 100644 --- a/perl-install/ugtk2.pm +++ b/perl-install/ugtk2.pm @@ -1606,7 +1606,7 @@ sub show { my ($self) = @_; # perl_checker: $self = Gtk2::Notify->new my $info = $self->{queue}[0]; my $notification = Gtk2::Notify->new($info->{title}, $info->{message}, $self->{statusicon}); - $notification->set_icon_from_pixbuf($info->{pixbuf}); + $notification->set_icon_from_pixbuf($info->{pixbuf}) if $info->{pixbuf}; $notification->set_urgency($info->{urgency}) if $info->{urgency}; foreach my $a (@{$info->{actions} || []}) { $notification->add_action( |