diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-10-06 18:57:57 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-10-06 18:57:57 +0000 |
commit | aafa007aef5b61f93fcb4f1fdc8aa1fd690771ff (patch) | |
tree | fd064a2538de8bd5f500ca6c1a3ca6da6123eb54 | |
parent | d4d935c2c1778a26f7388ecf5f1212171af507d3 (diff) | |
download | rpmdrake-aafa007aef5b61f93fcb4f1fdc8aa1fd690771ff.tar rpmdrake-aafa007aef5b61f93fcb4f1fdc8aa1fd690771ff.tar.gz rpmdrake-aafa007aef5b61f93fcb4f1fdc8aa1fd690771ff.tar.bz2 rpmdrake-aafa007aef5b61f93fcb4f1fdc8aa1fd690771ff.tar.xz rpmdrake-aafa007aef5b61f93fcb4f1fdc8aa1fd690771ff.zip |
(mainwindow) move "add media" menu entries from the "Options" menu
into the "File" menu (#44601)
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | Rpmdrake/edit_urpm_sources.pm | 4 |
2 files changed, 5 insertions, 2 deletions
@@ -1,4 +1,7 @@ - do not ask sources on startup +- edit_urpm_sources: + o move "add media" menu entries from the "Options" menu into the + "File" menu (#44601) - gurpmi.addmedia: o handle --urpmi-root - rpmdrake: diff --git a/Rpmdrake/edit_urpm_sources.pm b/Rpmdrake/edit_urpm_sources.pm index 2071e13d..d4d31887 100644 --- a/Rpmdrake/edit_urpm_sources.pm +++ b/Rpmdrake/edit_urpm_sources.pm @@ -954,11 +954,11 @@ 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 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>' ], [ 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"), \¶llel_callback, undef, '<Item>' ], [ N("/_Options") . N("/P_roxy"), N("<control>R"), \&proxy_callback, undef, '<Item>' ], |