diff options
author | Pascal Terjan <pterjan@mandriva.org> | 2009-10-18 18:44:36 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mandriva.org> | 2009-10-18 18:44:36 +0000 |
commit | 928adea961a539a4d637bb283614f975434fab3b (patch) | |
tree | ca3639233c23af73224f96877dedc4e1222a597b /perl-install | |
parent | 5d5debb97aa2d396c7a4c4bd7a4d2a068559bf4c (diff) | |
download | drakx-928adea961a539a4d637bb283614f975434fab3b.tar drakx-928adea961a539a4d637bb283614f975434fab3b.tar.gz drakx-928adea961a539a4d637bb283614f975434fab3b.tar.bz2 drakx-928adea961a539a4d637bb283614f975434fab3b.tar.xz drakx-928adea961a539a4d637bb283614f975434fab3b.zip |
partitioning_wizard: allow setting new windows size with keyboard (#54691)
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/NEWS | 1 | ||||
-rw-r--r-- | perl-install/fs/partitioning_wizard.pm | 15 | ||||
-rw-r--r-- | perl-install/install/NEWS | 1 |
3 files changed, 16 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS index 32a913161..a00423513 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -5,6 +5,7 @@ o add legend for the colors o display mount point if known o display ext2 like ext3/4 + o allow setting new windows size with keyboard (#54691) Version 12.66 - 15 October 2009 diff --git a/perl-install/fs/partitioning_wizard.pm b/perl-install/fs/partitioning_wizard.pm index 99c04acc5..76ff56257 100644 --- a/perl-install/fs/partitioning_wizard.pm +++ b/perl-install/fs/partitioning_wizard.pm @@ -364,12 +364,25 @@ sub create_display_box { $hpane->signal_connect('motion-notify-event' => sub { $part->{req_size} = int($hpane->get_position * $part->{size} / $part->{width}); $update_size_labels->($part->{req_size}, $part->{size}-$part->{req_size}); - 1; + 0; + }); + $hpane->signal_connect('move-handle' => sub { + $part->{req_size} = int($hpane->get_position * $part->{size} / $part->{width}); + $update_size_labels->($part->{req_size}, $part->{size}-$part->{req_size}); + 0; }); $hpane->signal_connect('button-press-event' => sub { $button->activate; 0; }); + $vbox->signal_connect('button-press-event' => sub { + $button->activate; + 0; + }); + $button->signal_connect('focus-in-event' => sub { + $hpane->grab_focus; + 0; + }); } else { if ($fill_empty && isEmpty($entry)) { $w->set_text("Mandriva"); diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index 2011bef33..c56791ca8 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -3,6 +3,7 @@ o add legend for the colors o display mount point if known o display ext2 like ext3/4 + o allow setting new windows size with keyboard (#54691) Version 12.66 - 15 October 2009 |