aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-03-02 11:05:48 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-03-02 11:05:48 +0000
commit4f1575eec3158112556abafe19941207d2c77f05 (patch)
tree9d9d78a35531db12c34fa8653e8859d0dc86053b
parent195d77e9eb0d6e57475bb74e41b4e6bb7a533c3f (diff)
downloadrpmdrake-4f1575eec3158112556abafe19941207d2c77f05.tar
rpmdrake-4f1575eec3158112556abafe19941207d2c77f05.tar.gz
rpmdrake-4f1575eec3158112556abafe19941207d2c77f05.tar.bz2
rpmdrake-4f1575eec3158112556abafe19941207d2c77f05.tar.xz
rpmdrake-4f1575eec3158112556abafe19941207d2c77f05.zip
follow mdk policy and ban stock items (they weren't displayed though)
-rwxr-xr-xrpmdrake10
1 files changed, 5 insertions, 5 deletions
diff --git a/rpmdrake b/rpmdrake
index bb457458..b8d73f0e 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -1122,7 +1122,7 @@ Is it ok to continue?",
$size_selected = 0;
$options->{rebuild_tree}->();
};
- }, undef, '<StockItem>', 'gtk-default' ]
+ }, undef, '<Item>' ]
),
[ N("/_File") . N("/_Reset the selection"), undef, sub {
if ($MODE ne 'remove') {
@@ -1134,13 +1134,13 @@ Is it ok to continue?",
$pkgs->{$_}{selected} = 0 foreach keys %$pkgs;
$size_selected = 0;
$options->{rebuild_tree}->();
- }, undef, '<StockItem>', 'gtk-default' ],
+ }, undef, '<Item>' ],
[ N("/_File") . N("/Reload the _packages list"), undef, sub {
($urpm, $pkgs, $descriptions) = $pkgs_provider->({ skip_updating_mu => 1 });
$size_selected = 0;
$options->{rebuild_tree}->();
- }, undef, '<StockItem>', 'gtk-default' ],
- [ N("/_File") . N("/_Quit"), undef, sub { Gtk2->main_quit }, undef, '<StockItem>', 'gtk-default' ],
+ }, undef, '<Item>' ],
+ [ N("/_File") . N("/_Quit"), undef, sub { Gtk2->main_quit }, undef, '<Item>', ],
#[ N("/_View"), undef, undef, undef, '<Branch>' ],
if_(!$>,
[ N("/_Options"), undef, undef, undef, '<Branch>' ],
@@ -1149,7 +1149,7 @@ Is it ok to continue?",
}, undef, '<CheckItem>' ],
),
[ N("/_Help"), undef, undef, undef, '<Branch>' ],
- [ N("/_Help") . N("/_Help"), undef, sub { rpmdrake::open_help($MODE) }, undef, '<StockItem>', 'gtk-default' ],
+ [ N("/_Help") . N("/_Help"), undef, sub { rpmdrake::open_help($MODE) }, undef, '<Item>' ],
);
$checkbox_show_autoselect = $factory->get_widget("<main>" . strip_first_underscore(N("/_Options"), N("/_Show automatically selected packages")))
and $checkbox_show_autoselect->set_active(!$dont_show_selections);