summaryrefslogtreecommitdiffstats
path: root/mgaapplet
diff options
context:
space:
mode:
authorDexter Morgan <dmorgan@mageia.org>2011-06-14 07:06:45 +0000
committerDexter Morgan <dmorgan@mageia.org>2011-06-14 07:06:45 +0000
commit402fb483953159efb0659ec392378491fc164abf (patch)
tree81b8307a58f539a1241b5c3ff9d3dca0b80b9f7c /mgaapplet
parentfdc965db65e42ff7f6cfb80ae12263006b8cea76 (diff)
downloadmgaonline-402fb483953159efb0659ec392378491fc164abf.tar
mgaonline-402fb483953159efb0659ec392378491fc164abf.tar.gz
mgaonline-402fb483953159efb0659ec392378491fc164abf.tar.bz2
mgaonline-402fb483953159efb0659ec392378491fc164abf.tar.xz
mgaonline-402fb483953159efb0659ec392378491fc164abf.zip
Adapt to new libnotify API
Fix date in NEWS file
Diffstat (limited to 'mgaapplet')
-rwxr-xr-xmgaapplet4
1 files changed, 2 insertions, 2 deletions
diff --git a/mgaapplet b/mgaapplet
index 3b504e27..8998a7f7 100755
--- a/mgaapplet
+++ b/mgaapplet
@@ -931,8 +931,8 @@ sub setState {
gtkflush(); # so that bubbles are displayed on right icon
if ($state{$state}{tt}[0] && $icon->isa('Gtk2::StatusIcon') && !$state{$state}{do_not_use_bubble}) {
- my $bubble = Gtk2::Notify->new_with_status_icon(N("Warning"), formatAlaTeX(translate($state{$state}{tt}[0])) . "\n",
- '/usr/share/icons/mgaonline.png', $icon);
+ my $bubble = Gtk2::Notify->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);
if ($sub_state eq 'updates') {