diff options
author | Dexter Morgan <dmorgan@mageia.org> | 2011-06-14 07:06:45 +0000 |
---|---|---|
committer | Dexter Morgan <dmorgan@mageia.org> | 2011-06-14 07:06:45 +0000 |
commit | 402fb483953159efb0659ec392378491fc164abf (patch) | |
tree | 81b8307a58f539a1241b5c3ff9d3dca0b80b9f7c /mgaapplet | |
parent | fdc965db65e42ff7f6cfb80ae12263006b8cea76 (diff) | |
download | mgaonline-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-x | mgaapplet | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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') { |