summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakperm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-02-11 13:36:13 +0000
committerThierry Vignaud <tv@mandriva.org>2008-02-11 13:36:13 +0000
commit092db0b5324faadaac0dd125547f41c46113043d (patch)
treee1462919e6d3287cf840de02796bef2acb571617 /perl-install/standalone/drakperm
parent4d90d3c652215776d7074d2a5937546a8254fd9e (diff)
downloaddrakx-092db0b5324faadaac0dd125547f41c46113043d.tar
drakx-092db0b5324faadaac0dd125547f41c46113043d.tar.gz
drakx-092db0b5324faadaac0dd125547f41c46113043d.tar.bz2
drakx-092db0b5324faadaac0dd125547f41c46113043d.tar.xz
drakx-092db0b5324faadaac0dd125547f41c46113043d.zip
(row_setting_dialog) simplify using mygtk2 sugar
Diffstat (limited to 'perl-install/standalone/drakperm')
-rwxr-xr-xperl-install/standalone/drakperm5
1 files changed, 1 insertions, 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');