diff options
author | Thierry Vignaud <tv@mandriva.org> | 2006-09-19 16:22:09 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2006-09-19 16:22:09 +0000 |
commit | 64c3b99ea25750ed7ca927fd5defae05fa3302a6 (patch) | |
tree | 26ca968a664df2d604ef264accd277dfeb093b8e | |
parent | 757eaacb971d13279120ff49bef1a3b80edd2151 (diff) | |
download | rpmdrake-64c3b99ea25750ed7ca927fd5defae05fa3302a6.tar rpmdrake-64c3b99ea25750ed7ca927fd5defae05fa3302a6.tar.gz rpmdrake-64c3b99ea25750ed7ca927fd5defae05fa3302a6.tar.bz2 rpmdrake-64c3b99ea25750ed7ca927fd5defae05fa3302a6.tar.xz rpmdrake-64c3b99ea25750ed7ca927fd5defae05fa3302a6.zip |
(interactive_packtable) center dialogs if no parent is given
-rw-r--r-- | rpmdrake.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm index 0a96b685..e0d0bd3f 100644 --- a/rpmdrake.pm +++ b/rpmdrake.pm @@ -239,7 +239,7 @@ sub interactive_packtable { my ($title, $parent_window, $top_label, $lines, $action_buttons) = @_; my $w = ugtk2->new($title, grab => 1, transient => $parent_window); - $w->{rwindow}->set_position('center_on_parent'); + $w->{rwindow}->set_position($parent_window ? 'center_on_parent' : 'center'); my $packtable = create_packtable({}, @$lines); gtkadd($w->{window}, |