diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-10-21 13:15:30 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-10-21 13:15:30 +0000 |
commit | 8502b7f40b54a0d69cc411b69b53abd3476ddf0c (patch) | |
tree | d2f9477fe9591279fe2c516eb9def7c51aeb8981 /mdkapplet | |
parent | a19de9766adfb2e8dfd04e2714bf5010a6f661ce (diff) | |
download | mgaonline-8502b7f40b54a0d69cc411b69b53abd3476ddf0c.tar mgaonline-8502b7f40b54a0d69cc411b69b53abd3476ddf0c.tar.gz mgaonline-8502b7f40b54a0d69cc411b69b53abd3476ddf0c.tar.bz2 mgaonline-8502b7f40b54a0d69cc411b69b53abd3476ddf0c.tar.xz mgaonline-8502b7f40b54a0d69cc411b69b53abd3476ddf0c.zip |
(setState) set 'low' urgency for new distribution notification
Diffstat (limited to 'mdkapplet')
-rwxr-xr-x | mdkapplet | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -106,6 +106,7 @@ my %state = ( colour => [ 'bundle' ], changes => [ 'okay' ], menu => [ 'upgrade_distro', 'check' ], + urgency => 'low', tt => [ N("A new version of Mandriva Linux distribution has been released") . "\n\n" . N("Do you want to upgrade?") ] }, disconnected => { @@ -573,6 +574,7 @@ sub setState { $bubble->add_action('clicked', N("Add media"), \&add_media); } + $bubble->set_urgency($state{$state}{urgency}) if $state{$state}{urgency}; $bubble->set_timeout(5000); eval { $bubble->show }; } |