diff options
-rw-r--r-- | NEWS | 3 | ||||
-rwxr-xr-x | mdkapplet | 1 |
2 files changed, 4 insertions, 0 deletions
@@ -1,3 +1,6 @@ +- mdkapplet: + o offer to install updates in notifications + Version 2.34 - 12 March 2008, Thierry Vignaud - 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 }; } |