diff options
Diffstat (limited to 'Rpmdrake/edit_urpm_sources.pm')
-rw-r--r-- | Rpmdrake/edit_urpm_sources.pm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Rpmdrake/edit_urpm_sources.pm b/Rpmdrake/edit_urpm_sources.pm index 8789883e..82d9316b 100644 --- a/Rpmdrake/edit_urpm_sources.pm +++ b/Rpmdrake/edit_urpm_sources.pm @@ -228,7 +228,12 @@ sub add_callback() { $url_entry->() ], if_($info->{loginpass}, $loginpass_entries->()), sub { - [ $info->{distrib_check} = $cb1 = gtknew('CheckButton', text => N("Create media for a whole distribution")) + [ $info->{distrib_check} = $cb1 = gtknew('CheckButton', text => N("Create media for a whole distribution"), + toggled => sub { + return if !$cb2; + my ($w) = @_; + $info->{update_check}->set_sensitive(!$w->get_active); + }) ]; }->(), sub { |