summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-10-28 17:58:22 +0000
committerOlivier Blin <oblin@mandriva.com>2009-10-28 17:58:22 +0000
commitb2053882f517c8613beb1a73422fc090180f8490 (patch)
treedd354f1bc2c02dd256cef11b86a045d691a9371c
parent2d16462b26c5651aa0699a707ba0201dada8d3e4 (diff)
downloaddrakx-backup-do-not-use-b2053882f517c8613beb1a73422fc090180f8490.tar
drakx-backup-do-not-use-b2053882f517c8613beb1a73422fc090180f8490.tar.gz
drakx-backup-do-not-use-b2053882f517c8613beb1a73422fc090180f8490.tar.bz2
drakx-backup-do-not-use-b2053882f517c8613beb1a73422fc090180f8490.tar.xz
drakx-backup-do-not-use-b2053882f517c8613beb1a73422fc090180f8490.zip
ugtkify
-rw-r--r--perl-install/fs/partitioning_wizard.pm12
1 files changed, 5 insertions, 7 deletions
diff --git a/perl-install/fs/partitioning_wizard.pm b/perl-install/fs/partitioning_wizard.pm
index 86137a8a7..b1c1dba57 100644
--- a/perl-install/fs/partitioning_wizard.pm
+++ b/perl-install/fs/partitioning_wizard.pm
@@ -336,13 +336,11 @@ sub create_display_box {
my $add_part_size_info = sub {
my ($name, $label) = @_;
- my $color_widget = Gtk2::EventBox->new;
- $color_widget->add(Gtk2::Label->new(" " x 4));
- $color_widget->set_name($name);
- ugtk2::gtkpack__($desc, $color_widget);
- ugtk2::gtkpack__($desc, $label);
- $label->set_alignment(0,0.5);
- ugtk2::gtkset_size_request($label, 150, 20);
+ ugtk2::gtkpack__($desc,
+ gtkadd(gtkset_name(Gtk2::EventBox->new, $name),
+ Gtk2::Label->new(" " x 4)),
+ gtkset_size_request(gtkset_alignment($label, 0, 0.5),
+ 150, 20));
};
$desc = Gtk2::HBox->new(0,0);