summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet3
1 files changed, 3 insertions, 0 deletions
diff --git a/mdkapplet b/mdkapplet
index ecf544b5..73e74735 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -564,6 +564,9 @@ sub setState {
'/usr/share/icons/mdkonline.png', $icon);
$bubble->add_action('clicked', N("Install updates"), \&installUpdates) if $state eq 'updates';
$bubble->add_action('clicked', N("Upgrade the system"), \&upgrade) if $state eq 'new_distribution';
+ if (member($state, qw(no_enabled_medium no_update_medium))) {
+ $bubble->add_action('clicked', N("Add media"), \&add_media);
+ }
$bubble->set_timeout(5000);
eval { $bubble->show };