aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-02-14 23:08:12 +0000
committerThierry Vignaud <tv@mandriva.org>2009-02-14 23:08:12 +0000
commit479562c9476a01de5341476a6813f644d5001fa9 (patch)
treef1b1ec992128f6d7e801ef8fa0078962ce3c6af1
parentce2516d23b0c8f22e2aecddda7072b8a15f00244 (diff)
downloadrpmdrake-479562c9476a01de5341476a6813f644d5001fa9.tar
rpmdrake-479562c9476a01de5341476a6813f644d5001fa9.tar.gz
rpmdrake-479562c9476a01de5341476a6813f644d5001fa9.tar.bz2
rpmdrake-479562c9476a01de5341476a6813f644d5001fa9.tar.xz
rpmdrake-479562c9476a01de5341476a6813f644d5001fa9.zip
(mainwindow) do not use the same shortcut for "Add a specific "media
mirror" and "_Add a custom medium" menu entries (#46027)
-rw-r--r--NEWS2
-rw-r--r--Rpmdrake/edit_urpm_sources.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 3b547a18..3c5ed878 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,6 @@
- edit-urpm-sources:
+ o do not use the same shortcut for "Add a specific "media mirror"
+ and "_Add a custom medium" menu entries (#46027)
o honnor canceling when the user refused to access the network when
adding a specific mirror from the menubar (#46027)
diff --git a/Rpmdrake/edit_urpm_sources.pm b/Rpmdrake/edit_urpm_sources.pm
index 4b0f32af..9c4430f1 100644
--- a/Rpmdrake/edit_urpm_sources.pm
+++ b/Rpmdrake/edit_urpm_sources.pm
@@ -954,7 +954,7 @@ sub mainwindow() {
$mainw->{real_window},
[ N("/_File"), undef, undef, undef, '<Branch>' ],
[ N("/_File") . N("/_Update"), N("<control>U"), sub { update_callback() and $reread_media->() }, undef, '<Item>', ],
- [ N("/_File") . N("/Add _media"), N("<control>A"), sub { easy_add_callback_with_mirror() and $reread_media->() }, undef, '<Item>' ],
+ [ N("/_File") . N("/Add _media"), N("<control>M"), sub { easy_add_callback_with_mirror() and $reread_media->() }, undef, '<Item>' ],
[ N("/_File") . N("/_Add a custom medium"), N("<control>A"), sub { add_callback() and $reread_media->() }, undef, '<Item>' ],
[ N("/_File") . N("/Close"), N("<control>W"), sub { Gtk2->main_quit }, undef, '<Item>', ],
[ N("/_Options"), undef, undef, undef, '<Branch>' ],