--- draksnapshot-applet 2008-12-10.fix-due-to-new-perl 15:48:03.000000000 +0000 +++ draksnapshot-applet 2011-06-18 21:33:58.889996334 +0100 @@ -128,14 +128,14 @@ if ($dbus && $do) { # make icon actually visible so that notification gots proper positionning: gtkflush(); my $bubble = - Gtk2::Notify->new_with_status_icon(N("Error. Service disabled."), + Gtk2::Notify->new(N("Error. Service disabled."), join("\n", formatAlaTeX(N("Error while initializing DBus:")), $dbus_error, '', N("Disabling the service."), ), - '/usr/share/icons/draksnapshot.png', $icon); + '/usr/share/icons/draksnapshot.png'); $bubble->set_urgency('critical'); my $timeout_bubble = 5000; $bubble->set_timeout($timeout_bubble); @@ -236,8 +236,8 @@ sub setState { select(undef, undef, undef, 0.1); #- hackish :-( if ($state{$state_type}{tt}[0] && $icon->isa('Gtk2::StatusIcon') && !$state{$state_type}{do_not_use_bubble}) { - my $bubble = Gtk2::Notify->new_with_status_icon(N("Info"), formatAlaTeX(translate($state{$state_type}{tt}[0])) . "\n", - '/usr/share/icons/draksnapshot.png', $icon); + my $bubble = Gtk2::Notify->new(N("Info"), formatAlaTeX(translate($state{$state_type}{tt}[0])) . "\n", + '/usr/share/icons/draksnapshot.png'); $bubble->set_timeout(5000); eval { $bubble->show }; }