aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--NEWS2
-rw-r--r--Rpmdrake/edit_urpm_sources.pm1
2 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 0a272259..2ac5c4e7 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,8 @@
- rpmdrake:
o use radio buttons in order to show current search mode
- edit_urpm_sources:
+ o add an "Add media" menu item in order to still able to manually
+ choose mirror
o default to use mirrorlist
Version 4.21 - 30 September 2008, Thierry Vignaud
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>' ],