diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-12-06 12:09:45 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-12-06 12:11:09 +0100 |
commit | 9a495b20b7a790ca6ff70e2f78877881ac002856 (patch) | |
tree | ca3aab5e9930098ca74fb49f4cc2d9ffe57f11d2 | |
parent | 61563398324066693ec8d07b4f39b0fcc474ea87 (diff) | |
download | mgaonline-9a495b20b7a790ca6ff70e2f78877881ac002856.tar mgaonline-9a495b20b7a790ca6ff70e2f78877881ac002856.tar.gz mgaonline-9a495b20b7a790ca6ff70e2f78877881ac002856.tar.bz2 mgaonline-9a495b20b7a790ca6ff70e2f78877881ac002856.tar.xz mgaonline-9a495b20b7a790ca6ff70e2f78877881ac002856.zip |
Gtk3::Notify->new => Gtk3::Notify::Notification->new (mga#11897)
-rw-r--r-- | NEWS | 2 | ||||
-rwxr-xr-x | mgaapplet | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1,3 +1,5 @@ +- fix using Notifications introspection API (mga#11897) + Version 3.0 - 5 December 2013, Thierry Vignaud - convert from gtk2 to gtk3 (needs rpmdrake >= 6.0) @@ -794,7 +794,7 @@ sub setState { gtkflush(); # so that bubbles are displayed on right icon if ($state{$state}{tt}[0] && $icon->isa('Gtk3::StatusIcon') && !$state{$state}{do_not_use_bubble}) { - my $bubble = Gtk3::Notify->new(N("Warning"), formatAlaTeX(translate($state{$state}{tt}[0])) . "\n", + my $bubble = Gtk3::Notify::Notification->new(N("Warning"), formatAlaTeX(translate($state{$state}{tt}[0])) . "\n", '/usr/share/icons/mgaonline.png'); if ($state eq 'new_distribution') { $bubble->add_action('clicked', N("More Information"), \&upgrade); |