diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-07-09 08:57:29 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-07-09 08:57:29 +0000 |
commit | f96a9bb1523083508262bc699391ea4658bf58f3 (patch) | |
tree | 006e3549973b611424abd8b7bc1c6c4231047237 | |
parent | 9de6d4c0b1607266b0bbcb7e4f457fa264cb0280 (diff) | |
download | control-center-f96a9bb1523083508262bc699391ea4658bf58f3.tar control-center-f96a9bb1523083508262bc699391ea4658bf58f3.tar.gz control-center-f96a9bb1523083508262bc699391ea4658bf58f3.tar.bz2 control-center-f96a9bb1523083508262bc699391ea4658bf58f3.tar.xz control-center-f96a9bb1523083508262bc699391ea4658bf58f3.zip |
fix drakconsole not having the focus on startup (#48091)distro/mdv2009.1
"$w->{rwindow}->set_focus($vte)" would have worked too
-rw-r--r-- | NEWS | 3 | ||||
-rwxr-xr-x | drakconsole | 2 |
2 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,6 @@ +- drakconsole + o fix not having the focus on startup (#48091) + Version 12.10.1 - 17 April 2009, Thierry Vignaud - install task-printing-server task-printing-hp too when diff --git a/drakconsole b/drakconsole index 6d5bf767..46d66ee0 100755 --- a/drakconsole +++ b/drakconsole @@ -34,6 +34,8 @@ $w->{rwindow}->add(gtkpack_(Gtk2::VBox->new(0, 0), ), ); $w->{rwindow}->show_all; + +$vte->grab_focus(); #$ENV{PS1} = qq(Type "exit"\n); $vte->fork_command($ENV{SHELL}, [ $ENV{SHELL} ], [ map { "$_=$ENV{$_}" } keys %ENV ], $ENV{PWD}, 0, 0, 0); |