From b2053882f517c8613beb1a73422fc090180f8490 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Wed, 28 Oct 2009 17:58:22 +0000 Subject: ugtkify --- perl-install/fs/partitioning_wizard.pm | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'perl-install/fs') 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); -- cgit v1.2.1