diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-04-30 16:23:13 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-04-30 16:23:13 +0000 |
commit | 588bf2dabd7af5948062b115895cbbd53896e892 (patch) | |
tree | 5a7d15de303ca6a98311234581ca638ae4a33387 /edit-urpm-sources.pl | |
parent | 5fbe3ef7ee6553bc647952742cae27886365ee2b (diff) | |
download | rpmdrake-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-x | edit-urpm-sources.pl | 7 |
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 => \¶llel_callback))), |