From 092db0b5324faadaac0dd125547f41c46113043d Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 11 Feb 2008 13:36:13 +0000 Subject: (row_setting_dialog) simplify using mygtk2 sugar --- perl-install/standalone/drakperm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/perl-install/standalone/drakperm b/perl-install/standalone/drakperm index e37b76c74..3d4eb1ff1 100755 --- a/perl-install/standalone/drakperm +++ b/perl-install/standalone/drakperm @@ -234,10 +234,7 @@ sub load_perms() { sub row_setting_dialog { my ($title, $o_iter) = @_; - my $dlg = gtknew('Dialog'); - $dlg->set_transient_for($w->{real_window}); - $dlg->set_title($title); - $dlg->set_modal(1); + my $dlg = gtknew('Dialog', transient_for => $w->{real_window}, title => $title); # $dlg->set_resizable(0); my $browse = gtknew('Button', text => N("browse")); my $file = gtknew('Entry'); -- cgit v1.2.1