From 8502b7f40b54a0d69cc411b69b53abd3476ddf0c Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 21 Oct 2008 13:15:30 +0000 Subject: (setState) set 'low' urgency for new distribution notification --- mdkapplet | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mdkapplet') 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 }; } -- cgit v1.2.1