summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);