diff options
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))), |