summaryrefslogtreecommitdiffstats
path: root/perl-install/fs
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2009-10-18 18:44:36 +0000
committerPascal Terjan <pterjan@mandriva.org>2009-10-18 18:44:36 +0000
commit928adea961a539a4d637bb283614f975434fab3b (patch)
treeca3639233c23af73224f96877dedc4e1222a597b /perl-install/fs
parent5d5debb97aa2d396c7a4c4bd7a4d2a068559bf4c (diff)
downloaddrakx-backup-do-not-use-928adea961a539a4d637bb283614f975434fab3b.tar
drakx-backup-do-not-use-928adea961a539a4d637bb283614f975434fab3b.tar.gz
drakx-backup-do-not-use-928adea961a539a4d637bb283614f975434fab3b.tar.bz2
drakx-backup-do-not-use-928adea961a539a4d637bb283614f975434fab3b.tar.xz
drakx-backup-do-not-use-928adea961a539a4d637bb283614f975434fab3b.zip
partitioning_wizard: allow setting new windows size with keyboard (#54691)
Diffstat (limited to 'perl-install/fs')
-rw-r--r--perl-install/fs/partitioning_wizard.pm15
1 files changed, 14 insertions, 1 deletions
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");