aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-10-01 13:38:18 +0000
committerThierry Vignaud <tv@mandriva.org>2008-10-01 13:38:18 +0000
commit979b60fca63d736ae3f2917a9525e4e35c3513b2 (patch)
treea1018f8c3083f62e47c2cefa23ed6450f09c092c /Rpmdrake
parent513a2f62b591dbb16306a001cf40d3b33c3ae217 (diff)
downloadrpmdrake-979b60fca63d736ae3f2917a9525e4e35c3513b2.tar
rpmdrake-979b60fca63d736ae3f2917a9525e4e35c3513b2.tar.gz
rpmdrake-979b60fca63d736ae3f2917a9525e4e35c3513b2.tar.bz2
rpmdrake-979b60fca63d736ae3f2917a9525e4e35c3513b2.tar.xz
rpmdrake-979b60fca63d736ae3f2917a9525e4e35c3513b2.zip
(mainwindow) plug easy_add_callback_with_mirror() into menu so that
one is still able to choose mirror
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/edit_urpm_sources.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Rpmdrake/edit_urpm_sources.pm b/Rpmdrake/edit_urpm_sources.pm
index d4ad889a..7b1ab6b8 100644
--- a/Rpmdrake/edit_urpm_sources.pm
+++ b/Rpmdrake/edit_urpm_sources.pm
@@ -957,6 +957,7 @@ sub mainwindow() {
[ N("/_File") . N("/Close"), N("<control>W"), sub { Gtk2->main_quit }, undef, '<Item>', ],
[ N("/_Options"), undef, undef, undef, '<Branch>' ],
[ N("/_Options") . N("/_Global options"), N("<control>G"), \&options_callback, undef, '<Item>' ],
+ [ N("/_Options") . N("/_Add media"), N("<control>A"), sub { easy_add_callback_with_mirror() and $reread_media->() }, undef, '<Item>' ],
[ N("/_Options") . N("/_Add a custom medium"), N("<control>A"), sub { add_callback() and $reread_media->() }, undef, '<Item>' ],
[ N("/_Options") . N("/Manage _keys"), N("<control>K"), \&keys_callback, undef, '<Item>' ],
[ N("/_Options") . N("/_Parallel"), N("<control>P"), \&parallel_callback, undef, '<Item>' ],