From febf328ea948320cabea6a1bd057371958ae1659 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Sat, 23 Feb 2008 16:49:17 +0000 Subject: (add_callback) fix crashing on clicking on "Create media for a whole distribution" (regression introduced on Feb 21 2008 in rpmdrake-4.2 [r237156}) --- Rpmdrake/edit_urpm_sources.pm | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'Rpmdrake') 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 { -- cgit v1.2.1