aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/edit_urpm_sources.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-02-23 16:49:17 +0000
committerThierry Vignaud <tv@mandriva.org>2008-02-23 16:49:17 +0000
commitfebf328ea948320cabea6a1bd057371958ae1659 (patch)
treea1cda5901b76d727b0cc83eabf303a3e81961374 /Rpmdrake/edit_urpm_sources.pm
parente80a9934d21f5454e5ff87aee01efba242de135f (diff)
downloadrpmdrake-febf328ea948320cabea6a1bd057371958ae1659.tar
rpmdrake-febf328ea948320cabea6a1bd057371958ae1659.tar.gz
rpmdrake-febf328ea948320cabea6a1bd057371958ae1659.tar.bz2
rpmdrake-febf328ea948320cabea6a1bd057371958ae1659.tar.xz
rpmdrake-febf328ea948320cabea6a1bd057371958ae1659.zip
(add_callback) fix crashing on clicking on "Create media for a whole
distribution" (regression introduced on Feb 21 2008 in rpmdrake-4.2 [r237156})
Diffstat (limited to 'Rpmdrake/edit_urpm_sources.pm')
-rw-r--r--Rpmdrake/edit_urpm_sources.pm9
1 files changed, 1 insertions, 8 deletions
diff --git a/Rpmdrake/edit_urpm_sources.pm b/Rpmdrake/edit_urpm_sources.pm
index 37dbea01..a2db0b45 100644
--- a/Rpmdrake/edit_urpm_sources.pm
+++ b/Rpmdrake/edit_urpm_sources.pm
@@ -207,14 +207,7 @@ sub add_callback() {
$url_entry->() ],
if_($info->{loginpass}, $loginpass_entries->()),
sub {
- [ gtksignal_connect(
- $info->{distrib_check} = $cb1 = gtknew('CheckButton', text => N("Create media for a whole distribution")),
- clicked => sub {
- if ($_[0]->get_active) {
- $info->{hdlist_check}->set_active(0);
- }
- },
- )
+ [ $info->{distrib_check} = $cb1 = gtknew('CheckButton', text => N("Create media for a whole distribution"))
];
}->(),
sub {