summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-10-21 13:15:30 +0000
committerThierry Vignaud <tv@mandriva.org>2008-10-21 13:15:30 +0000
commit8502b7f40b54a0d69cc411b69b53abd3476ddf0c (patch)
treed2f9477fe9591279fe2c516eb9def7c51aeb8981 /mdkapplet
parenta19de9766adfb2e8dfd04e2714bf5010a6f661ce (diff)
downloadmgaonline-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-xmdkapplet2
1 files changed, 2 insertions, 0 deletions
diff --git a/mdkapplet b/mdkapplet
index 10aae9e9..1fa6b148 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -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 };
}