diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-01-22 20:04:52 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-01-22 20:04:52 +0000 |
commit | 8eda95cfd17ba78c28e2e818b36a5ac8c26b1c1c (patch) | |
tree | 5e169c320d98046b123280a201a95c53f70a0333 /perl-install/standalone/drakups | |
parent | f2ca9ed86130f1be3363ef58eeb4ec25c0283bf8 (diff) | |
download | drakx-8eda95cfd17ba78c28e2e818b36a5ac8c26b1c1c.tar drakx-8eda95cfd17ba78c28e2e818b36a5ac8c26b1c1c.tar.gz drakx-8eda95cfd17ba78c28e2e818b36a5ac8c26b1c1c.tar.bz2 drakx-8eda95cfd17ba78c28e2e818b36a5ac8c26b1c1c.tar.xz drakx-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/drakups')
-rwxr-xr-x | perl-install/standalone/drakups | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/standalone/drakups b/perl-install/standalone/drakups index ee6aeedb1..6995377c5 100755 --- a/perl-install/standalone/drakups +++ b/perl-install/standalone/drakups @@ -196,7 +196,7 @@ sub edit_row { # create new item if needed (that is when adding a new one) at end of list $iter ||= $model->append; my $dialog = Gtk2::Dialog->new; - $dialog->set_transient_for($w->{rwindow}) unless $::isEmbedded; + $dialog->set_transient_for($w->{real_window}) unless $::isEmbedded; $dialog->set_modal(1); gtkpack_($dialog->vbox, @@ -324,7 +324,7 @@ if (member('--wizard', @ARGV)) { $w = ugtk2->new(N("DrakUPS")); if (!$::isEmbedded) { - $::main_window = $w->{rwindow}; + $::main_window = $w->{real_window}; $w->{window}->set_size_request(500, 550); $w->{rwindow}->set_title(N("DrakUPS")); } |