aboutsummaryrefslogtreecommitdiffstats
path: root/edit-urpm-sources.pl
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-04-30 16:23:13 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-04-30 16:23:13 +0000
commit588bf2dabd7af5948062b115895cbbd53896e892 (patch)
tree5a7d15de303ca6a98311234581ca638ae4a33387 /edit-urpm-sources.pl
parent5fbe3ef7ee6553bc647952742cae27886365ee2b (diff)
downloadrpmdrake-588bf2dabd7af5948062b115895cbbd53896e892.tar
rpmdrake-588bf2dabd7af5948062b115895cbbd53896e892.tar.gz
rpmdrake-588bf2dabd7af5948062b115895cbbd53896e892.tar.bz2
rpmdrake-588bf2dabd7af5948062b115895cbbd53896e892.tar.xz
rpmdrake-588bf2dabd7af5948062b115895cbbd53896e892.zip
In the Software Media Manager, in the sub-window to choose the media
to be updated, don't list the disabled media.
Diffstat (limited to 'edit-urpm-sources.pl')
-rwxr-xr-xedit-urpm-sources.pl7
1 files changed, 6 insertions, 1 deletions
diff --git a/edit-urpm-sources.pl b/edit-urpm-sources.pl
index 1e263b8d..9746d49e 100755
--- a/edit-urpm-sources.pl
+++ b/edit-urpm-sources.pl
@@ -646,7 +646,12 @@ sub mainwindow {
clicked => sub { edit_callback() and $reread_media->() }),
gtksignal_connect(Gtk2::Button->new(but(N("Add..."))),
clicked => sub { add_callback() and $reread_media->(); }),
- gtksignal_connect(Gtk2::Button->new(but(N("Update..."))), clicked => \&update_callback),
+ gtksignal_connect(
+ Gtk2::Button->new(but(N("Update..."))),
+ clicked => sub {
+ update_callback() and $reread_media->();
+ },
+ ),
gtksignal_connect(Gtk2::Button->new(but(N("Manage keys..."))), clicked => \&keys_callback),
gtksignal_connect(Gtk2::Button->new(but(N("Proxy..."))), clicked => \&proxy_callback),
gtksignal_connect(Gtk2::Button->new(but(N("Parallel..."))), clicked => \&parallel_callback))),