summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-12-06 12:09:45 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-12-06 12:11:09 +0100
commit9a495b20b7a790ca6ff70e2f78877881ac002856 (patch)
treeca3aab5e9930098ca74fb49f4cc2d9ffe57f11d2
parent61563398324066693ec8d07b4f39b0fcc474ea87 (diff)
downloadmgaonline-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--NEWS2
-rwxr-xr-xmgaapplet2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index cad377d3..ab107ad0 100644
--- a/NEWS
+++ b/NEWS
@@ -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)
diff --git a/mgaapplet b/mgaapplet
index 9f57055c..35b7cec7 100755
--- a/mgaapplet
+++ b/mgaapplet
@@ -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);