From 1d7732984ee41bec78a69290a5bbf085cb190894 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 14 Mar 2008 16:14:57 +0000 Subject: (setState) offer to install updates in notifications --- mdkapplet | 1 + 1 file changed, 1 insertion(+) (limited to 'mdkapplet') 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 }; } -- cgit v1.2.1