summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-14 16:14:57 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-14 16:14:57 +0000
commit1d7732984ee41bec78a69290a5bbf085cb190894 (patch)
treef7ab7d72088ced11554a39502f7e22125d2e624f /mdkapplet
parent42604e9f2d97ee1a8fa3e843f33115a8d087ced2 (diff)
downloadmgaonline-1d7732984ee41bec78a69290a5bbf085cb190894.tar
mgaonline-1d7732984ee41bec78a69290a5bbf085cb190894.tar.gz
mgaonline-1d7732984ee41bec78a69290a5bbf085cb190894.tar.bz2
mgaonline-1d7732984ee41bec78a69290a5bbf085cb190894.tar.xz
mgaonline-1d7732984ee41bec78a69290a5bbf085cb190894.zip
(setState) offer to install updates in notifications
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet1
1 files changed, 1 insertions, 0 deletions
diff --git a/mdkapplet b/mdkapplet
index 08448aa6..32f5f64c 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -461,6 +461,7 @@ sub setState {
if ($state{$state_type}{tt}[0] && $icon->isa('Gtk2::StatusIcon') && !$state{$state_type}{do_not_use_bubble}) {
my $bubble = Gtk2::Notify->new_with_status_icon(N("Warning"), formatAlaTeX(translate($state{$state_type}{tt}[0])) . "\n",
'/usr/share/icons/mdkonline.png', $icon);
+ $bubble->add_action('clicked', N("Install updates"), \&installUpdates);
$bubble->set_timeout(5000);
eval { $bubble->show };
}