aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSawyer <Sawyer@mandriva.org>2005-05-24 14:40:47 +0000
committerSawyer <Sawyer@mandriva.org>2005-05-24 14:40:47 +0000
commit81c2b86ba93d6eac712d1a7ea3808345339a96f7 (patch)
treeed1a8b7a67b8ad0ce3b3f0f5b7ee34e754e304f1
parentf9754ef07ba4be230c2b67ce545dd993c034adb1 (diff)
downloadrpmdrake-81c2b86ba93d6eac712d1a7ea3808345339a96f7.tar
rpmdrake-81c2b86ba93d6eac712d1a7ea3808345339a96f7.tar.gz
rpmdrake-81c2b86ba93d6eac712d1a7ea3808345339a96f7.tar.bz2
rpmdrake-81c2b86ba93d6eac712d1a7ea3808345339a96f7.tar.xz
rpmdrake-81c2b86ba93d6eac712d1a7ea3808345339a96f7.zip
LOST
-rwxr-xr-xedit-urpm-sources.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/edit-urpm-sources.pl b/edit-urpm-sources.pl
index eb887d1e..b2610d73 100755
--- a/edit-urpm-sources.pl
+++ b/edit-urpm-sources.pl
@@ -371,6 +371,7 @@ sub remove_callback {
my $wait = wait_msg_(N("Please wait, removing medium..."));
urpm::media::remove_media($urpm, [ $urpm->{media}[$row] ]);
remove_wait_msg($wait);
+ return 1
}
sub renum_media ($$$) {
@@ -988,7 +989,7 @@ sub mainwindow {
Gtk2::VBox->new(0, 5),
gtksignal_connect(
$remove = Gtk2::Button->new(but(N("Remove"))),
- clicked => sub { remove_callback(); $reread_media->() },
+ clicked => sub { remove_callback() and $reread_media->() },
),
gtksignal_connect(
$edit = Gtk2::Button->new(but(N("Edit..."))),