summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-02-06 17:04:40 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-02-06 17:04:40 +0000
commitd550d1e98329ed42269ccb051d7f283cbdd38ad6 (patch)
tree022d700cc27b26f1feb14df972030d0737b44189
parent9e15bb5fa4a3ebce2845c47cdc31034dd8c4d281 (diff)
downloaddrakx-backup-do-not-use-d550d1e98329ed42269ccb051d7f283cbdd38ad6.tar
drakx-backup-do-not-use-d550d1e98329ed42269ccb051d7f283cbdd38ad6.tar.gz
drakx-backup-do-not-use-d550d1e98329ed42269ccb051d7f283cbdd38ad6.tar.bz2
drakx-backup-do-not-use-d550d1e98329ed42269ccb051d7f283cbdd38ad6.tar.xz
drakx-backup-do-not-use-d550d1e98329ed42269ccb051d7f283cbdd38ad6.zip
have the focus on the help "Ok" button
-rw-r--r--perl-install/install_steps_gtk.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/install_steps_gtk.pm b/perl-install/install_steps_gtk.pm
index b56eb6e58..672276910 100644
--- a/perl-install/install_steps_gtk.pm
+++ b/perl-install/install_steps_gtk.pm
@@ -130,6 +130,7 @@ sub new($$) {
$w->{rwindow}->set_size_request($::windowwidth * 0.92, $::windowheight * 0.9);
gtkadd($w->{window}, gtkpack__(create_box_with_title($w, $o->{current_help}),
$w->create_okcancel(N("Ok"))));
+ $w->{ok}->grab_focus;
$w->main;
};
$ugtk2::force_center = [ $::rootwidth - $::windowwidth, $::logoheight, $::windowwidth, $::windowheight ];