From 6eef70de886b7130f8e5e308778dc48f800f3dda Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Sun, 6 Jul 2003 21:54:02 +0000 Subject: use stock items for menu too --- perl-install/standalone/harddrake2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'perl-install') diff --git a/perl-install/standalone/harddrake2 b/perl-install/standalone/harddrake2 index 361f58249..80bd16fc9 100755 --- a/perl-install/standalone/harddrake2 +++ b/perl-install/standalone/harddrake2 @@ -95,7 +95,7 @@ my %menu_options = ( my @menu_items = ( [ N("/_File"), undef, undef, undef, '' ], - [ N("/_File").N("/_Quit"), N("Q"), \&quit_global, undef, '' ], + [ N("/_File").N("/_Quit"), N("Q"), \&quit_global, undef, '', 'gtk-quit' ], [ join('', @{$menu_options{PRINTERS_DETECTION}}), undef, sub { $options{PRINTERS_DETECTION} = $check_boxes{PRINTERS_DETECTION}->active }, undef, '' ], [ join('', @{$menu_options{MODEMS_DETECTION}}), undef, @@ -179,8 +179,8 @@ $w->{window}->add(gtkpack_(0, Gtk2::VBox->new(0, 0), 0, $statusbar = Gtk2::Statusbar->new, if_($::isEmbedded, 0, gtkpack(create_hbox(), gtksignal_connect(Gtk2::Button->new_from_stock('gtk-preferences'), 'event' => popup_menu($opt_menu), $menubar), - gtksignal_connect(Gtk2::Button->new(N("Help")), 'event' => popup_menu($help_menu), $menubar), - gtksignal_connect(Gtk2::Button->new(N("Quit")), + gtksignal_connect(Gtk2::Button->new('gtk-help'), 'event' => popup_menu($help_menu), $menubar), + gtksignal_connect(Gtk2::Button->new_from_stock('gtk-Quit'), 'clicked' => \&quit_global), ), ) -- cgit v1.2.1