summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/harddrake2
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-01-22 20:04:52 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-01-22 20:04:52 +0000
commit8eda95cfd17ba78c28e2e818b36a5ac8c26b1c1c (patch)
tree5e169c320d98046b123280a201a95c53f70a0333 /perl-install/standalone/harddrake2
parentf2ca9ed86130f1be3363ef58eeb4ec25c0283bf8 (diff)
downloaddrakx-backup-do-not-use-8eda95cfd17ba78c28e2e818b36a5ac8c26b1c1c.tar
drakx-backup-do-not-use-8eda95cfd17ba78c28e2e818b36a5ac8c26b1c1c.tar.gz
drakx-backup-do-not-use-8eda95cfd17ba78c28e2e818b36a5ac8c26b1c1c.tar.bz2
drakx-backup-do-not-use-8eda95cfd17ba78c28e2e818b36a5ac8c26b1c1c.tar.xz
drakx-backup-do-not-use-8eda95cfd17ba78c28e2e818b36a5ac8c26b1c1c.zip
fix the various transient on {rwindow} (or even {window} ?) not working anymore on the MagicWindow
(maybe the code could be simplified since it should now work even when embedded (?))
Diffstat (limited to 'perl-install/standalone/harddrake2')
-rwxr-xr-xperl-install/standalone/harddrake28
1 files changed, 4 insertions, 4 deletions
diff --git a/perl-install/standalone/harddrake2 b/perl-install/standalone/harddrake2
index bb9e5df32..8621622d2 100755
--- a/perl-install/standalone/harddrake2
+++ b/perl-install/standalone/harddrake2
@@ -204,10 +204,10 @@ my @menu_items =
my $info = lookup_field($_);
if_($info->[0], formatAlaTeX(qq(<span foreground="royalblue3">$info->[0]:</span> $info->[1])));
} sort keys %$current_device),
- { use_markup => 1, if_(!$::isEmbedded, transient => $w->{rwindow}), height => 400, scroll => 1 });
+ { use_markup => 1, if_(!$::isEmbedded, transient => $w->{real_window}), height => 400, scroll => 1 });
} else {
- create_dialog(N("Select a device!"), N("Once you've selected a device, you'll be able to see the device information in fields displayed on the right frame (\"Information\")"), { if_(!$::isEmbedded, transient => $w->{rwindow}) });
+ create_dialog(N("Select a device!"), N("Once you've selected a device, you'll be able to see the device information in fields displayed on the right frame (\"Information\")"), { if_(!$::isEmbedded, transient => $w->{real_window}) });
}
},
undef, '<Item>'
@@ -220,7 +220,7 @@ my @menu_items =
#-PO: Do not alter the <span ..> and </span> tags
N("This is HardDrake, a %s hardware configuration tool.\n<span foreground=\"royalblue3\">Version:</span> %s
<span foreground=\"royalblue3\">Author:</span> Thierry Vignaud &lt;tvignaud\@mandrakesoft.com&gt;\n\n", $distro_name, $harddrake::data::version) . "\n" .
- formatAlaTeX($::license), { use_markup => 1, if_(!$::isEmbedded, transient => $w->{rwindow}) });
+ formatAlaTeX($::license), { use_markup => 1, if_(!$::isEmbedded, transient => $w->{real_window}) });
}, undef, '<Item>'
]
);
@@ -241,7 +241,7 @@ my ($menubar, $factory);
if ($::isEmbedded) {
($menubar, $factory) = create_factory_menu($::Plug, @menu_items);
} else {
- $::main_window = $w->{rwindow};
+ $::main_window = $w->{real_window};
($menubar, $factory) = create_factory_menu($w->{rwindow}, @menu_items);
$w->{window}->set_size_request(805, 550);
}