aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-09-13 09:50:14 +0000
committerThierry Vignaud <tv@mandriva.org>2006-09-13 09:50:14 +0000
commitbf00281efc6b36f97d0ad8d65624002d158c064d (patch)
tree6be79d0bf6b6c12241a3b4153b47d78fe9ce2594
parent3c5cdb62b21d15bee94c1c2eff21f4866705f876 (diff)
downloadrpmdrake-bf00281efc6b36f97d0ad8d65624002d158c064d.tar
rpmdrake-bf00281efc6b36f97d0ad8d65624002d158c064d.tar.gz
rpmdrake-bf00281efc6b36f97d0ad8d65624002d158c064d.tar.bz2
rpmdrake-bf00281efc6b36f97d0ad8d65624002d158c064d.tar.xz
rpmdrake-bf00281efc6b36f97d0ad8d65624002d158c064d.zip
(interactive_msg_, interactive_list_, sub wait_msg_) fix dialogs not centered on parent window
-rwxr-xr-xrpmdrake6
1 files changed, 3 insertions, 3 deletions
diff --git a/rpmdrake b/rpmdrake
index 7b9a0c3d..2de4e308 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -179,9 +179,9 @@ my $changelog_first;
my $treeview_dialog_run = 0;
our $statusbar;
-sub interactive_msg_ { interactive_msg(@_, if_(exists $w->{rwindow}, transient => $w->{rwindow})) }
-sub interactive_list_ { interactive_list(@_, if_(exists $w->{rwindow}, transient => $w->{rwindow})) }
-sub wait_msg_ { wait_msg(@_, if_(exists $w->{rwindow}, transient => $w->{rwindow})) }
+sub interactive_msg_ { interactive_msg(@_, if_(exists $w->{real_window}, transient => $w->{real_window})) }
+sub interactive_list_ { interactive_list(@_, if_(exists $w->{real_window}, transient => $w->{real_window})) }
+sub wait_msg_ { wait_msg(@_, if_(exists $w->{real_window}, transient => $w->{real_window})) }
sub wait_msg_with_banner { push @_, banner => 1 if $::isEmbedded && !$treeview_dialog_run; &statusbar_msg }
sub interactive_msg_with_banner { push @_, banner => 1 if $::isEmbedded; &interactive_msg_ }